문제

I need to implement text search in database.

I am looking for general methods to implement text search able to handle misspellings. I am also looking for general methods to fine tune search for a specific synthetic language.

도움이 되었습니까?

해결책

Lucene is one library that implements many useful algorithms including fuzzy search and auto correction. Fancy languages are dealt with by stemming the original words - that is cutting off any variable prefixes/suffixes to replace all forms of one word with one expression. This can be useful even without full analysis of morphology e.g. cutting off last 's' in English.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top