public interface Filterable
setSemanticFilter(Set)
method can be used to speficy which words should
have their semantics retained. Note that the words that are filtered out
will still be used in computing the semantics of other words. This
behavior is intended for use with a large corpora where retaining the
semantics of all words in memory is infeasible.SemanticSpace
Modifier and Type | Method and Description |
---|---|
void |
setSemanticFilter(Set<String> semanticsToRetain)
Specifies the set of words that should have their semantics retained,
where all other words do not.
|
Copyright © 2012. All Rights Reserved.