removed debug
This commit is contained in:
parent
6972ff2f5b
commit
9acdeacafb
@ -27,8 +27,6 @@ class LemmatizerResource(Resource):
|
|||||||
return result, 200
|
return result, 200
|
||||||
|
|
||||||
def processSentence(self, sentence, language):
|
def processSentence(self, sentence, language):
|
||||||
print("Processing sentence %s in language %s" % (sentence, language))
|
|
||||||
|
|
||||||
tokens = [self.lemmatizeWord(token, language) for token in sentence.split()]
|
tokens = [self.lemmatizeWord(token, language) for token in sentence.split()]
|
||||||
return {'tokens':' '.join(tokens)}
|
return {'tokens':' '.join(tokens)}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user