It is used as the main storage for words and their definitions. Elasticsearch - used as storage, it allows store and search word by differences masks.
Path | Method | Scheme | Grant |
---|---|---|---|
/api/dictionary/languages | GET | ANY | ALL |
/api/dictionary/words/{LANGUAGE}?mask={MASK} | GET | ANY | ALL |
json
xml
Used to fill a dictionary with the help of a third party API providers:
php bin/console dictionary:populate {LANGUAGE-CODE} --{FILE-PATH}
Used to fill a dictionary from file:
php bin/console dictionary:upload {FILE-PATH}
Collections with words for populate can be found: cd /data
Dykyi Roman, e-mail: mr.dukuy@gmail.com