+
Skip to content

kyhoolee/Triechecker

Repository files navigation

This is trie-based dictionary Using for close word-searching

SpellApp:

  • SpellApp.initIndo(indo_dict_path) Initialize indo_dictionary -> CSV format Each line: word, frequency

  • SpellApp.indoTrieCorrect(String word) Return 1 closest word

  • SpellApp.indoSuggestList(String word) Return List

Usage: SpellApp.initIndo("nlp_data/indo_dict/id_full.txt") String correct_word = SpellApp.indoTrieCorrect("babai") // babi

About

Simple Trie for spell checker

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载