de.tudarmstadt.ukp.jwktl.api.filter
Class WiktionarySenseFilter

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.api.filter.WiktionaryPageFilter
      extended by de.tudarmstadt.ukp.jwktl.api.filter.WiktionaryEntryFilter
          extended by 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

Field Summary
 
Fields inherited from class de.tudarmstadt.ukp.jwktl.api.filter.WiktionaryEntryFilter
allowedPartsOfSpeech, allowedWordLanguages
 
Fields inherited from class de.tudarmstadt.ukp.jwktl.api.filter.WiktionaryPageFilter
allowedEntryLanguages
 
Constructor Summary
WiktionarySenseFilter()
          Initializes a page filter without any filter restrictions.
 
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 de.tudarmstadt.ukp.jwktl.api.filter.WiktionaryPageFilter
accept, acceptEntryLanguage, clearAllowedEntryLanguages, getAllowedEntryLanguages, setAllowedEntryLanguages, setAllowedEntryLanguages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WiktionarySenseFilter

public WiktionarySenseFilter()
Initializes a page filter without any filter restrictions.

Method Detail

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.