S
S
Stanislav2017-11-11 16:28:19
MongoDB
Stanislav, 2017-11-11 16:28:19

Is there an npm for morphological parsing of words?

To search, you need to parse words, maybe there are some good npm?
You need to pass a word or several, parse them into variations, get an array and search by tags in mongodb.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Philipp, 2017-11-16
@ms-dred

https://www.npmjs.com/package/enchant for Enchant you can install Russian dictionaries.
https://docs.mongodb.com/manual/text-search/ You can put everything in one line and use a text index, it's not that bad.
If you want to do a really good search look towards elasticsearch, solr, sphinx.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question