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

Tokenization功能在哪里? #27

Closed
badbye opened this issue Dec 19, 2014 · 3 comments
Closed

Tokenization功能在哪里? #27

badbye opened this issue Dec 19, 2014 · 3 comments

Comments

@badbye
Copy link

badbye commented Dec 19, 2014

对python还不太熟悉,没找到Tokenization怎么用。能否给个例子?

@isnowfy
Copy link
Owner

isnowfy commented Dec 19, 2014

不知道你说的Tokenization指的是什么,一般就用s.words这样的用法就可以

@badbye
Copy link
Author

badbye commented Dec 19, 2014

README文档里写的:

Tokenization(分割成句子)

我的理解就是把一个段落分割成句子。比如
“你是谁?你好,我是哈哈哈!你好,我是嘿嘿嘿。”
分割成:
["你是谁", "你好,我是哈哈哈", "你好,我是嘿嘿嘿"]

@isnowfy
Copy link
Owner

isnowfy commented Dec 19, 2014

分割成句子啊,就是调用s.sentences这样

@isnowfy isnowfy closed this as completed Dec 19, 2014
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