Gitiles
Code Review
Sign In
korap.ids-mannheim.de
/
KorAP
/
Tokenizer-Evaluation
/
1448b11568319a11fc3933f6ac9f8bbc996a8189
/
.
/
blingfire
/
blingfire_sent.py
blob: 1f1bfede295971856f35833b06c63d8e6ce0aed1 [
file
] [
log
] [
blame
]
Akron
325193e
2022-03-20 11:38:04 +0100
[
diff
] [
blame
]
1
import
sys
2
from
blingfire
import
*
3
4
with
open
(
sys
.
argv
[
1
],
'r'
)
as
f
:
5
contents
=
f
.
read
()
6
7
print
(
text_to_sentences
(
contents
))
8