DeSR Dependency Parser

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.
void store (char const *file)
 Store to file: one word per line.


Detailed Description

List of string suffix.

Definition at line 38 of file Suffixes.h.


Member Function Documentation

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.

Definition at line 72 of file Suffixes.cpp.


The documentation for this class was generated from the following files:
 
Copyright © 2005-2007 G. Attardi. Generated on 13 Aug 2009 by doxygen 1.5.7.1.