public class Sentence extends Object implements Serializable, Iterable<IWord>
| 限定符和类型 | 方法和说明 |
|---|---|
static Sentence |
create(String param)
以人民日报2014语料格式的字符串创建一个结构化句子
|
Iterator<IWord> |
iterator() |
int |
length()
句子文本长度
|
int |
size()
句子中单词(复合词或简单词)的数量
|
String |
text()
原始文本形式(无标注,raw text)
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic int size()
public int length()
public String text()
Copyright © 2014–2017 码农场. All rights reserved.