fr.gouv.culture.sdx.search.lucene.analysis.stemmer
Class BrazilianStemmer

java.lang.Object
  extended by fr.gouv.culture.sdx.search.lucene.analysis.stemmer.BrazilianStemmer

public class BrazilianStemmer
extends java.lang.Object

A stemmer for brazilian words. The algorithm is based on the report "A Fast and Simple Stemming Algorithm for German Words" by J&oulm;rg Caumanns (joerg.caumanns@isst.fhg.de).

Version:
$Id: BrazilianStemmer.html,v 1.9 2010/05/24 07:56:05 malo_pichot Exp $
Author:
Gerhard Schwarz

Constructor Summary
BrazilianStemmer()
           
 
Method Summary
 java.lang.String log()
          For log and debug purpose
 java.lang.String stem(java.lang.String term)
          Stemms the given term to an unique discriminator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrazilianStemmer

public BrazilianStemmer()
Method Detail

stem

public java.lang.String stem(java.lang.String term)
Stemms the given term to an unique discriminator.

Parameters:
term - The term that should be stemmed.
Returns:
Discriminator for term

log

public java.lang.String log()
For log and debug purpose

Returns:
TERM, CT, RV, R1 and R2


Copyright © 2000-2010 Ministere de la culture et de la communication / AJLSM. All Rights Reserved.