forked from GitHub/gf-core
No debug messages
This commit is contained in:
@@ -99,8 +99,6 @@ def web_lexer(grammar, lang, sentences):
|
|||||||
count = 0;
|
count = 0;
|
||||||
for analysis in grammar.languages[lang].lookupMorpho(lowertoken):
|
for analysis in grammar.languages[lang].lookupMorpho(lowertoken):
|
||||||
count += 1;
|
count += 1;
|
||||||
if count:
|
|
||||||
print "replacing %s with %s" %(token, lowertoken);
|
|
||||||
tokensList[idx] = lowertoken if count else token;
|
tokensList[idx] = lowertoken if count else token;
|
||||||
for idx, token in enumerate(tokensList):
|
for idx, token in enumerate(tokensList):
|
||||||
if token.find('-') == -1:
|
if token.find('-') == -1:
|
||||||
|
|||||||
Reference in New Issue
Block a user