de.tudarmstadt.ukp.jwktl.api.filter
Class WiktionarySenseFilter
java.lang.Object
de.tudarmstadt.ukp.jwktl.api.filter.WiktionaryPageFilter
de.tudarmstadt.ukp.jwktl.api.filter.WiktionaryEntryFilter
de.tudarmstadt.ukp.jwktl.api.filter.WiktionarySenseFilter
- All Implemented Interfaces:
- IWiktionaryEntryFilter, IWiktionaryPageFilter, IWiktionarySenseFilter
public class WiktionarySenseFilter
- extends WiktionaryEntryFilter
- implements IWiktionarySenseFilter
Default implementation of the IWiktionarySenseFilter
interface
which inherits all filter options of the WiktionaryEntryFilter
- Author:
- Christian M. Meyer
Method Summary |
boolean |
accept(IWiktionarySense sense)
Return true if the given sense should be accepted or
false if it should be filtered out. |
Methods inherited from class de.tudarmstadt.ukp.jwktl.api.filter.WiktionaryEntryFilter |
accept, acceptPartOfSpeech, acceptWordLanguage, clear, clearAllowedPartsOfSpeech, clearAllowedWordLanguages, getAllowedPartsOfSpeech, getAllowedWordLanguages, setAllowedPartsOfSpeech, setAllowedPartsOfSpeech, setAllowedWordLanguages, setAllowedWordLanguages |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WiktionarySenseFilter
public WiktionarySenseFilter()
- Initializes a page filter without any filter restrictions.
accept
public boolean accept(IWiktionarySense sense)
- Description copied from interface:
IWiktionarySenseFilter
- Return
true
if the given sense should be accepted or
false
if it should be filtered out.
- Specified by:
accept
in interface IWiktionarySenseFilter
Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.