Gitiles
Code Review
Sign In
korap.ids-mannheim.de
/
KorAP
/
Tokenizer-Evaluation
/
325193e098e45f7a8eb174e3393af1e615c18eb1
/
.
/
blingfire
/
blingfire_tok.py
blob: 4929cdb42e11949b4c9ca36fd22d0bd683ee2601 [
file
] [
log
] [
blame
]
import
sys
from
blingfire
import
*
with
open
(
sys
.
argv
[
1
],
'r'
)
as
f
:
contents
=
f
.
read
()
print
(
text_to_words
(
contents
))