Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 600 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 600 Bytes

ts-language-detection

A TypeScript source port of Nakatani Shuyo's excellent language detection library in Java.

Try it online

http://laszlopandy.github.io/ts-language-detection/

Setup the web interface on localhost

# install dependencies
npm install tsc
npm install lazy

# compile TypeScript
tsc --target ES5 --out webinterface.js src/webinterface.ts

# run web server
python -m SimpleHTTPServer 8000 &

# open page
open http://localhost:8000/index.html