|
Carrot2 Framework
API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.filter.stc.algorithm.ArrayStemmedSnippet
public class ArrayStemmedSnippet
An array representation of stemmed snippet's terms.
| Nested Class Summary | |
|---|---|
class |
ArrayStemmedSnippet.StemmedSentence
Nested class representing a sentence in this snippet. |
| Constructor Summary | |
|---|---|
ArrayStemmedSnippet(StemmedTerm[] snippetTerms)
Public constructor. |
|
| Method Summary | |
|---|---|
SuffixableElement |
getSentence(int n)
Returns n-th sentence of this snippet |
int |
size()
Returns the number of sentences in this snippet |
String |
toString()
String representation of this object |
void |
trimEdgeStopWords()
Trims stop words from the edges of sentences. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArrayStemmedSnippet(StemmedTerm[] snippetTerms)
| Method Detail |
|---|
public int size()
public SuffixableElement getSentence(int n)
public void trimEdgeStopWords()
public String toString()
toString in class Object
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||