public class BagOfWordsDocument extends Object implements ITermFrequencyHolder
| Modifier and Type | Field and Description |
|---|---|
FrequencyMap<Integer> |
tfMap |
| Constructor and Description |
|---|
BagOfWordsDocument() |
| Modifier and Type | Method and Description |
|---|---|
FrequencyMap<Integer> |
getTfMap() |
boolean |
isEmpty()
是否为空(文档中没有任何词)
|
public FrequencyMap<Integer> tfMap
public FrequencyMap<Integer> getTfMap()
getTfMap in interface ITermFrequencyHolderpublic boolean isEmpty()
Copyright © 2014–2021 码农场. All rights reserved.