protected internal virtual void copyFrom(SpanishStemmer other) { I_p2 = other.I_p2; I_p1 = other.I_p1; I_pV = other.I_pV; base.copyFrom(other); }
protected internal virtual void copy_from(SpanishStemmer other) { I_p2 = other.I_p2; I_p1 = other.I_p1; I_pV = other.I_pV; base.copy_from(other); }
/** Returns the next input Token, after being stemmed */ //public Token next() { // if ((token = Input) == null) { // return null; // } // else { // stemmer.SetCurrent(token.); // stemmer.Stem(); // String s = stemmer.GetCurrent(); // if ( !s.Equals(token.Term())) { // return new Token( s, token.startOffset(), // token.endOffset(), token.type() ); // } // return token; // } //} /** * Set a alternative/custom Stemmer for this filter. */ public void setStemmer(SpanishStemmer stemmer) { if ( stemmer != null ) { this.stemmer = stemmer; } }
public SpanishStemFilter(TokenStream inTokenStream) : base (inTokenStream) { stemmer = new SpanishStemmer(); }