This is a simple and fast thesaurus tool used to find words that exist in a thesaurus from a text.
Characteristics
Simple: pure PHP implementation without the need to install extensions.
Fast: The lookup time is not much related to the size of the thesaurus (My little broken Ben on the query 400,000 of the thesaurus), will not load the entire thesaurus, the use of memory consumption is small (it is a bit of memory when generating a thesaurus).
https://github.com/nowgoo/dict/
Can the great God turn into Python, or does python already have such a project?
Reply content:
This is a simple and fast thesaurus tool used to find words that exist in a thesaurus from a text.
Characteristics
Simple: pure PHP implementation without the need to install extensions.
Fast: The lookup time is not much related to the size of the thesaurus (My little broken Ben on the query 400,000 of the thesaurus), will not load the entire thesaurus, the use of memory consumption is small (it is a bit of memory when generating a thesaurus).
https://github.com/nowgoo/dict/
Can the great God turn into Python, or does python already have such a project?
If you want to participle, you can consider stuttering participle
Https://github.com/fxsjy/jieba
Php2python