Tanl Linguistic Pipeline

Tanl::Text::Suffixes Class Reference

List of string suffix. More...

#include <Suffixes.h>

List of all members.

Public Member Functions

 Suffixes (char const *file)
 Load from file containing one word per line.
 Suffixes (std::string &file)
char const * match (char const *word)
 Check if.
char const * match (std::string const &word)
 Check if.
void insert (char const *suff)
void store (char const *file)
 Store to file: one word per line.
void load (char const *file)
 Load from file: one word per line.

Detailed Description

List of string suffix.


Member Function Documentation

char const* Tanl::Text::Suffixes::match ( std::string const &  word  )  [inline]

Check if.

Parameters:
word ends in one of the suffixes.
word the word to check
Returns:
pointer to the shortest suffix found, null otherwise.

References match().

Referenced by match().

char const * Tanl::Text::Suffixes::match ( char const *  word  ) 

Check if.

Parameters:
word ends in one of the suffixes.
word the word to check
Returns:
pointer to the shortest suffix found, null otherwise.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
 
Copyright © 2005-2011 G. Attardi. Generated on 4 Mar 2011 by doxygen 1.6.1.