amutu / zhparser

zhparser is a PostgreSQL extension for full-text search of Chinese language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Zhparser and standard parser behave a bit differently on tsquery of some english words

xuxinx opened this issue · comments

commented

Standard parser tsquery some words like apple return appl (Sorry, I don't known why)

SELECT to_tsquery('apple');
# Output: 
#  to_tsquery 
# ------------
#  'appl'
# (1 row)

zhparser tsquery apple just return apple

SELECT to_tsquery('testzhcfg', 'apple');
# Output:
#  to_tsquery 
# ------------
#  'apple'
# (1 row)
commented

Found too many differences between Zhparser and standard parser when they processing English.
I realized Zhparser is not for both English.