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