net.java.sen.filter
Interface ReadingFilter

All Known Implementing Classes:
NumberFilter, OverrideFilter

public interface ReadingFilter

An interface to filters used during reading processing


Method Summary
 void filterReadings(List<Token> tokens, ReadingNode readingNode)
          Filters readings
 void reset()
          Resets any sentence specific state held by the filter.
 

Method Detail

filterReadings

void filterReadings(List<Token> tokens,
                    ReadingNode readingNode)
Filters readings

Parameters:
tokens - The tokens to which the readings are applied
readingNode - The head of a list of ReadingNodes

reset

void reset()
Resets any sentence specific state held by the filter. The implementing filter decides exactly what state is affected, and may choose, for instance, to exclude state relating to global or persistant settings



Copyright © 2012. All Rights Reserved.