forked from miczar1/djfz-24_25
D5 works
This commit is contained in:
parent
dab5c629c6
commit
2045b4eb99
@ -2,7 +2,7 @@ import re
|
||||
|
||||
final = []
|
||||
|
||||
with open('simple.in', encoding='utf8') as file:
|
||||
with open('polish_wiki_excerpt.in', encoding='utf8') as file:
|
||||
lines = file.readlines()
|
||||
pattern = r"(\W*[\wąćęłńóśźżĄĆĘŁŃÓŚŹŻ]+\W+[\wąćęłńóśźżĄĆĘŁŃÓŚŹŻ]+\W)[\wąćęłńóśźżĄĆĘŁŃÓŚŹŻ]+"
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
with open("./TaskD02/polish_wiki_excerpt.out", 'r', encoding='utf8') as f:
|
||||
with open("./TaskD05/polish_wiki_excerpt.out", 'r', encoding='utf8') as f:
|
||||
lines1 = f.readlines()
|
||||
|
||||
with open("./TaskD02/polish_wiki_excerpt.exp", 'r', encoding='utf8') as f:
|
||||
with open("./TaskD05/polish_wiki_excerpt.exp", 'r', encoding='utf8') as f:
|
||||
lines2 = f.readlines()
|
||||
|
||||
i = 1
|
||||
|
Loading…
Reference in New Issue
Block a user