This project provides software for working with languages.
It requires some dependencies:
- d.iogen.es server running at
http://localhost:8888
- whitakers words installed at
~/.local/bin/whitakers-words
a. optional since this does not currently work on ARM processors - Cologne Digital Sanskrit Lexicon installed at
~/cdsl_data/
- CLTK classical language models at
~/cltk_data/
The included test suite will automate the installation of the CLTK and CDSL data but diogenes and whitakers must be installed manually.
if you have devenv.sh:
devenv shell
poe test # this triggers downloading and ToS approval!
poe dev
now you can query for some latin terms:
# assuming you have diogenes available at localhost:8888
curl 'localhost:5050/api/q?l=lat&s=benevolens' | jq .
# compare with diogenes output:
# http://localhost:8888/Perseus.cgi?do=parse&lang=lat&q=benevolens
or greek terms:
# notice treatment of utf-8 query parameters (translated to betacode)
curl --data-urlencode 's=οὐσία' --data-urlencode 'l=grk' --get 'http://localhost:5050/api/q' | jq .
or sanskrit terms:
# supports basic transliteration
# https://www.ashtangayoga.info/philosophy/sanskrit-and-devanagari/transliteration-tool/#hk/devanagari/devanAgarI
curl --data-urlencode 's=sa.msk.rta' --data-urlencode 'l=san' --get 'http://localhost:5050/api/q' | jq .
- lute-v3 / lwt
- lingq
- scaife/perseus
- wisdomlib
- archive.org