de.fu_berlin.ties.filter
Interface Oracle
- All Known Implementing Classes:
- Trainer
public interface Oracle
An oracle decides whether ElementFilter
s
should match elements. They can be used to train
TrainableFilter
s.
- Version:
- $Revision: 1.1 $, $Date: 2004/08/23 17:10:10 $, $Author: siefkes $
- Author:
- Christian Siefkes
Method Summary |
boolean |
shouldMatch(Element element)
Decides whether an element should be accepted by filters. |
shouldMatch
boolean shouldMatch(Element element)
throws ProcessingException
- Decides whether an element should be accepted by filters.
- Parameters:
element
- the element to test
- Returns:
true
if filters should accept the element;
false
otherwise
- Throws:
ProcessingException
- if an error occurs during filtering
Copyright © 2003-2004 Christian Siefkes. All Rights Reserved.