Automattic / gp-localci

LocalCI is a Github-oriented localization continuous integration add-on to GlotPress.
GNU General Public License v2.0
3 stars 5 forks source link

NLP: detect synonyms #20

Open yoavf opened 7 years ago

yoavf commented 7 years ago

Synonyms knowledge could help us improve suggestions. Current fail example:

New string: Remove all advertising from your site. Suggestion: Remove all ads from your site. Missing from suggestion: advertising (as NOUN, object) Missing from string: ads (as NOUN, object) updated score: 2.3 (reduced by 6.0)

words api synonym api would have flagged ads=advertising as being synonyms, and we would have kept the suggestion.

yoavf commented 7 years ago

If we can do this before actually searching in ES for the string, we'll get even better results. We should probably limit this to verbs/nouns.