Logo Search packages:      
Sourcecode: verbiste version File versions

const char * FrenchVerbDictionary::getVerbTemplate ( const char *  infinitive  )  const

Returns the template used by a verb.

Parameters:
infinitive infinitive form of the verb in Latin-1 (e.g., "manger", not "mange")
Returns:
the template of the form radical:termination in Latin-1 (e.g., "aim:er"), or NULL if the verb is unknown or if 'infinitive' is NULL

Definition at line 441 of file FrenchVerbDictionary.cpp.

{
    if (infinitive == NULL)
      return NULL;
    VerbTable::const_iterator it = knownVerbs.find(infinitive);
    if (it == knownVerbs.end())
      return NULL;
    return it->second.c_str();
}


Generated by  Doxygen 1.6.0   Back to index