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