Simple word counter using postgres

1
2
-- Setup a dictionary in enus
CREATE TEXT SEARCH DICTIONARY dict_en (
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Simple way to count words excluding stop words. First creating a dictionary in the chosen language, then perform a query using to_tsvector and ts_stat.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.