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