Update the table metadata extraction to correctly use ngrams and synonyms.