Gitiles
Code Review
Sign In
korap.ids-mannheim.de
/
KorAP
/
Tokenizer-Evaluation
/
f4eeb6c8019b7f6655287de1fa2c1d59b4d7db2e
/
.
/
blingfire
/
blingfire_tok.py
blob: 4929cdb42e11949b4c9ca36fd22d0bd683ee2601 [
file
] [
log
] [
blame
]
Akron
325193e
2022-03-20 11:38:04 +0100
[
diff
] [
blame
]
1
import
sys
2
from
blingfire
import
*
3
4
with
open
(
sys
.
argv
[
1
],
'r'
)
as
f
:
5
contents
=
f
.
read
()
6
7
print
(
text_to_words
(
contents
))
8