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

Newlines are now ignored while splitting by sentences in summarizing. Fix #1575. #1590

Closed
wants to merge 1 commit into from

Conversation

fbarrios
Copy link
Contributor

This is an improvement over #1577 for fixing #1575, as this doesn't need to process all text at once for removing newlines.

Associated Press Writer
SANTO DOMINGO, Dominican Republic (AP)
AP880911-0016.
AP-NR-09-11-88 0423EDT r i.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without dots, this doesn't work? You think that this is a good solution?

Copy link
Contributor Author

@fbarrios fbarrios Oct 17, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not really, but this was reported in #1575 and I created this PR as an improvement in performance over #1577.

I do believe that we should at least write about this behavior in the docstring. What do you think @menshikh-iv?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check how works summarization notebook with the current dev (It seems that it will not work) + your PR (merge dev to your current branch, install gensim and run notebook).

About docstring - of course, we should describe this behavior.

@menshikh-iv
Copy link
Contributor

Ping @fbarrios, how is going?

@menshikh-iv
Copy link
Contributor

ping @fbarrios, what's status here?

@fbarrios
Copy link
Contributor Author

Sorry @menshikh-iv, I've been busy this week. I'll look into this in the next few days.

@menshikh-iv
Copy link
Contributor

Ping @fbarrios

@fbarrios
Copy link
Contributor Author

fbarrios commented Nov 8, 2017

@menshikh-iv I think the correct behaviour is the current one, so this PR should be closed, so please do if you agree.

I created #1702 for updating the docstring with the current behaviour.

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

Successfully merging this pull request may close these issues.

2 participants