Postgres - Full Text Search to accept emojis
To create a new parser, which is different from default one, you should be a C programmer and you should write your own PostgreSQL extension. This extension should define the following functions:
start_function();gettoken_function();end_function();lextypes_function();headline_function(); // optional
As an example you can examine pg_tsparser module.