or, the best of both worlds: like or ilike using a trigram index
CREATE INDEX trigram_index ON words_table USING GIN (sentence GIN_TRGM_OPS) CREATE INDEX trigram_index ON words_table USING GIN (sentence GIN_TRGM_OPS)