add small fix for French lemmatizer (#3206)

This commit is contained in:
Amandine Périnet 2019-01-31 23:44:10 +01:00 committed by Ines Montani
parent 8fc6aaf134
commit b34bc9d2e9
2 changed files with 2 additions and 2 deletions

View File

@ -101,6 +101,6 @@ mark both statements:
| Name | Amandine Périnet |
| Company name (if applicable) | 365Talents |
| Title or role (if applicable) | Data Science Researcher |
| Date | 09/01/2019 |
| Date | 28/01/2019 |
| GitHub username | amperinet |
| Website (optional) | |

View File

@ -106,7 +106,7 @@ class FrenchLemmatizer(object):
def lookup(self, string):
if string in self.lookup_table:
return self.lookup_table[string]
return self.lookup_table[string][0]
return string