Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::parse::Porter_Stemmer Class Reference

#include <Porter_Stemmer.hpp>

List of all members.

Public Member Functions

int porter_stem (char *p, int i, int j)
 stem a term using the Porter algorithm. Performs case normalization on its input argument.


Private Member Functions

bool cons (int i)
int m ()
bool vowelinstem ()
bool doublec (int j)
bool cvc (int i)
bool ends (const char *s)
void setto (const char *s)
void r (const char *s)
void step1ab ()
void step1c ()
void step2 ()
void step3 ()
void step4 ()
void step5 ()

Private Attributes

indri::thread::Mutex _stemLock
char * b
int k
int k0
int j


Member Function Documentation

bool indri::parse::Porter_Stemmer::cons int  i  )  [private]
 

bool indri::parse::Porter_Stemmer::cvc int  i  )  [private]
 

bool indri::parse::Porter_Stemmer::doublec int  j  )  [private]
 

bool indri::parse::Porter_Stemmer::ends const char *  s  )  [private]
 

int indri::parse::Porter_Stemmer::m  )  [private]
 

int indri::parse::Porter_Stemmer::porter_stem char *  p,
int  i,
int  j
 

stem a term using the Porter algorithm. Performs case normalization on its input argument.

Parameters:
p the term to stem
i the starting index to stem from (typically 0).
j the ending index (inclusive) to stem to (typically the last character of the string).
Returns:
the new end point of the string.

void indri::parse::Porter_Stemmer::r const char *  s  )  [private]
 

void indri::parse::Porter_Stemmer::setto const char *  s  )  [private]
 

void indri::parse::Porter_Stemmer::step1ab  )  [private]
 

void indri::parse::Porter_Stemmer::step1c  )  [private]
 

void indri::parse::Porter_Stemmer::step2  )  [private]
 

void indri::parse::Porter_Stemmer::step3  )  [private]
 

void indri::parse::Porter_Stemmer::step4  )  [private]
 

void indri::parse::Porter_Stemmer::step5  )  [private]
 

bool indri::parse::Porter_Stemmer::vowelinstem  )  [private]
 


Member Data Documentation

indri::thread::Mutex indri::parse::Porter_Stemmer::_stemLock [private]
 

char* indri::parse::Porter_Stemmer::b [private]
 

int indri::parse::Porter_Stemmer::j [private]
 

int indri::parse::Porter_Stemmer::k [private]
 

int indri::parse::Porter_Stemmer::k0 [private]
 


The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:03 2010 for Lemur by doxygen 1.3.4