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