de.fu_berlin.ties.filter
Interface Oracle

All Known Implementing Classes:
Trainer

public interface Oracle

An oracle decides whether ElementFilters should match elements. They can be used to train TrainableFilters.

Version:
$Revision: 1.4 $, $Date: 2006/10/21 16:04:20 $, $Author: siefkes $
Author:
Christian Siefkes

Method Summary
 boolean shouldMatch(Element element)
          Decides whether an element should be accepted by filters.
 

Method Detail

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-2007 Christian Siefkes. All Rights Reserved.