Skip to content

Automatically restores accented characters from non-accented Turkish text

License

Notifications You must be signed in to change notification settings

drlinux/deasciifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 tool is Apache Ant (https://ant.apache.org/). Install it and 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 runs on Google App Engine.

To run it locally, first install the SDK for Standard Python environment. Then:

# Build all targets
ant build-all

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

cd ../../website
dev_appserver.py .

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

About

Automatically restores accented characters from non-accented Turkish text

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 42.5%
  • JavaScript 16.7%
  • Python 16.0%
  • Emacs Lisp 14.6%
  • TypeScript 6.6%
  • HTML 2.9%
  • CSS 0.7%