public class WiktionarySenseFilter extends WiktionaryEntryFilter implements IWiktionarySenseFilter
IWiktionarySenseFilter
interface
which inherits all filter options of the WiktionaryEntryFilter
allowedPartsOfSpeech, allowedWordLanguages
allowedEntryLanguages
Constructor and Description |
---|
WiktionarySenseFilter()
Initializes a page filter without any filter restrictions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accept(IWiktionarySense sense)
Return
true if the given sense should be accepted or
false if it should be filtered out. |
accept, acceptPartOfSpeech, acceptWordLanguage, clear, clearAllowedPartsOfSpeech, clearAllowedWordLanguages, getAllowedPartsOfSpeech, getAllowedWordLanguages, setAllowedPartsOfSpeech, setAllowedPartsOfSpeech, setAllowedWordLanguages, setAllowedWordLanguages
accept, acceptEntryLanguage, clearAllowedEntryLanguages, getAllowedEntryLanguages, setAllowedEntryLanguages, setAllowedEntryLanguages
public WiktionarySenseFilter()
public boolean accept(IWiktionarySense sense)
IWiktionarySenseFilter
true
if the given sense should be accepted or
false
if it should be filtered out.accept
in interface IWiktionarySenseFilter
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.