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