meacer / deasciifier

Automatically restores accented characters from non-accented Turkish text

Home Page:https://deasciifier.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deasciifier

Deasciifier adds missing accented characters to Turkish text. It's based on Deniz Yuret's Turkish Mode for Emacs.

This repository contains libraries for JavaScript, C++ and C# as well as a website, a Chrome extension and a Firefox add-on.

Website: https://deasciifier.com

Chrome extension: https://chrome.google.com/webstore/detail/turkish-deasciifier/nhfdmlgglfmcdheoabgklabmgjklgofk

Firefox add-on: https://addons.mozilla.org/en-US/firefox/addon/deasciifier/

Actions Status

Build instructions

The build uses:

Build the project as follows:

# Release build:
ant build-all

# Debug build:
ant -Dconfig.name=Debug build-all

This will write build artifacts to the output/ directory. JavaScript artifacts can be found under output/js/release (or output/js/debug):

  • chrome_extension/: Directory containing Chrome extension code
  • firefox_extension/: Directory containing Firefox extension code
  • deasciifier.min.js: Minified JS library
  • deasciifier.patterns.min.js: Minified pattern data
  • deasciify_box.lib.min.js: Minified DeasciifyBox library (deprecated, do not use)

Minification of JS code is done using Closure Compiler. A copy of Closure Compiler is included under tools/closure_compiler.

TypeScript

The v2 version of the library is written in TypeScript. See src/typescript/README.md.

Website

The website is a static page. To build, do the following:

# Build all targets
ant build-all

# Build v2 Typescript library
cd src/typescript
npm run-script build

cd ../../website
python3 -m http.server

You can now load the site at http://localhost:8000.

About

Automatically restores accented characters from non-accented Turkish text

https://deasciifier.com

License:MIT License


Languages

Language:C# 46.0%Language:Python 16.9%Language:Emacs Lisp 15.8%Language:JavaScript 9.2%Language:TypeScript 7.5%Language:HTML 3.1%Language:CSS 1.5%