Entity Synonym Mapper case sensitivity

I’m wondering if there is a setting I can add to the EntitySynonymMapper in the pipeline of my config.yml file that maps synonyms regardless of wether they are uppercase or lowercase.

I’m not sure if this is possible, and there doesn’t seem to be many options for this component here, so if there are options, could someone point me documentation that explains them?

Thanks.

I have the same problem. Are there any updates on this issue? Best regards.

It seems that case_sensitive: false doesn’t have any effect when setting this Parameter at the EntitySynonymMapper. However it seems that you can deactivate case sensitivity by providing the word in lowercase. For example

 - synonym: myWord
    examples: | 
      - myword

With the synonym stated above the synonym mapper will also map mYwOrD, so it seems that it isn’t needed to enumerate all possebilities in the examples.

2 Likes