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