fix3
This commit is contained in:
parent
141f012c59
commit
74270b7f6b
@ -22,8 +22,8 @@ def change_line(word_list, curr_line):
|
||||
return curr_line.rstrip('\n')
|
||||
|
||||
|
||||
for line in open("./polish_wiki_excerpt.in", encoding="utf8"):
|
||||
# for line in sys.stdin:
|
||||
# for line in open("./polish_wiki_excerpt.in", encoding="utf8"):
|
||||
for line in sys.stdin:
|
||||
found_words = re.findall(pattern, line)
|
||||
out = change_line(found_words, line)
|
||||
if out:
|
||||
|
Loading…
Reference in New Issue
Block a user