Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sentence splitter returns nothing if sentence isn't contains any punktuation marks #12

Open
denizzzka opened this issue Mar 28, 2017 · 3 comments

Comments

@denizzzka
Copy link
Contributor

This is bug or feature?

Input text:
Проверка сплиттера без знаков препинания

*************************
Input text:

@denizzzka denizzzka changed the title Sentence splitter returns zero if sentence isn't contains any punktuation marks Sentence splitter returns nothing if sentence isn't contains any punktuation marks Mar 28, 2017
@zy4kamu
Copy link
Owner

zy4kamu commented Mar 28, 2017

Hi, what are you running? sentence-splitter-app is a test ELF-file and I'm not sure that it works fine.

@zy4kamu
Copy link
Owner

zy4kamu commented Mar 28, 2017

I can debug and understand what's wrong with it in the evening.

@denizzzka
Copy link
Contributor Author

I tried to split using _sentence_splitter::SentenceSplitter::split at first with same result (i.e. nothing if sentence isn't contains any punktuation marks)

Full sentence-splitter-app session:

$ /opt/coda/release/bin/sentence-splitter-app 
Input language: ru, en: ru
Input text:
С точкой в конце.

*************************
С точкой в конце.
Input text:
Без точки в конце

*************************
Input text:
Опять с точкой.

*************************
Опять с точкой.
Input text:
Без точки

*************************
Input text:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants