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

use str.splitlines to avoid losing line breaks #238

Merged
merged 1 commit into from Feb 12, 2015
Merged

Conversation

gumblex
Copy link
Contributor

@gumblex gumblex commented Feb 12, 2015

前面改多线程时把换行符吃掉了。
现在全部改用 str.splitlines 的方法断行,在分词时保留换行符,读词汇表时忽略。

fxsjy added a commit that referenced this pull request Feb 12, 2015
use str.splitlines to avoid losing line breaks
@fxsjy fxsjy merged commit 9ca5b69 into fxsjy:master Feb 12, 2015
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.

None yet

2 participants