| Modifier and Type | Method and Description |
|---|---|
static List<List<Word>> |
CorpusLoader.convert2SimpleSentenceList(String path) |
List<List<Word>> |
Document.getSimpleSentenceList()
获取简单的句子列表,其中复合词会被拆分为简单词
|
List<List<Word>> |
Document.getSimpleSentenceList(boolean spilt)
获取简单的句子列表
|
List<List<Word>> |
Document.getSimpleSentenceList(Set<String> labelSet)
获取简单的句子列表,其中复合词的标签如果是set中指定的话会被拆分为简单词
|
List<Word> |
Document.getSimpleWordList() |
| Modifier and Type | Method and Description |
|---|---|
List<Word> |
Sentence.toSimpleWordList()
转换为简单单词列表
|
| Modifier and Type | Field and Description |
|---|---|
List<Word> |
CompoundWord.innerList
由这些词复合而来
|
| Modifier and Type | Method and Description |
|---|---|
static Word |
Word.create(String param)
通过参数构造一个单词
|
Word |
CompoundWord.toWord()
转换为一个简单词
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<Word> |
CompoundWord.iterator() |
| Constructor and Description |
|---|
CompoundWord(List<Word> innerList,
String label) |
| Modifier and Type | Method and Description |
|---|---|
static Word |
Precompiler.compile(IWord word) |
static Word |
Precompiler.compile(Word word)
将一个单词编译为等效字串
|
| Modifier and Type | Method and Description |
|---|---|
static Word |
Precompiler.compile(Word word)
将一个单词编译为等效字串
|
| Modifier and Type | Method and Description |
|---|---|
static List<List<IWord>> |
CorpusUtil.convert2CompatibleList(List<List<Word>> simpleSentenceList)
将word列表转为兼容的IWord列表
|
| Modifier and Type | Method and Description |
|---|---|
static String[] |
Utility.toWordArray(List<Word> wordList) |
| Modifier and Type | Method and Description |
|---|---|
void |
CharacterBasedGenerativeModel.learn(List<Word> wordList)
让模型观测一个句子
|
| Modifier and Type | Method and Description |
|---|---|
static String |
TextUtility.combine(List<Word> wordList) |
Copyright © 2014–2021 码农场. All rights reserved.