README ¶ Overview A JSON/HTTP service. Takes input text and tries to determine the language. Uses cld2: https://github.com/CLD2Owners/cld2.git Implements: https://biosphere.cc/software-engineering/natural-language-detection-in-go/ How to Build Checkout Dockerfile How to Run $ ./language-detector Here is an example request: $ curl -d '{"request": [{"text": "This is an example input message."}]}' -H 'content-type: application/json' localhost:3000 How to Test $ make test Notes Generate known languages file in data/ using gen_codes.py Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files handlers.go main.go Click to show internal directories. Click to hide internal directories.