Gitiles
Code Review
Sign In
korap.ids-mannheim.de
/
KorAP
/
Tokenizer-Evaluation
/
6363630287cc279579b82f415a00589788087697
/
.
/
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