Package org.terrier.terms
Class RemoveDiacritics
- java.lang.Object
-
- org.terrier.terms.RemoveDiacritics
-
- All Implemented Interfaces:
TermPipeline
public class RemoveDiacritics extends java.lang.Object implements TermPipeline
Removes diacritics in letters.- Author:
- Saúl Vargas (Saul.Vargas@glasgow.ac.uk)
-
-
Field Summary
Fields Modifier and Type Field Description protected TermPipeline
next
-
Constructor Summary
Constructors Constructor Description RemoveDiacritics(TermPipeline next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
processTerm(java.lang.String t)
Processes a term using the current term pipeline component and passes the output to the next pipeline component, if the term has not been discarded.boolean
reset()
This method implements the specific rest option needed to implements query or doc oriented policy.
-
-
-
Field Detail
-
next
protected final TermPipeline next
-
-
Constructor Detail
-
RemoveDiacritics
public RemoveDiacritics(TermPipeline next)
-
-
Method Detail
-
processTerm
public void processTerm(java.lang.String t)
Description copied from interface:TermPipeline
Processes a term using the current term pipeline component and passes the output to the next pipeline component, if the term has not been discarded.- Specified by:
processTerm
in interfaceTermPipeline
- Parameters:
t
- String the term to process.
-
reset
public boolean reset()
Description copied from interface:TermPipeline
This method implements the specific rest option needed to implements query or doc oriented policy.- Specified by:
reset
in interfaceTermPipeline
- Returns:
- results of the operation
-
-