Main Page | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

ffpriv_ss_abnormal.h File Reference

Defines the functions (implemented in ffpriv_ie_vowel_change.c) for accessing the exception lists for words that end in the letter s and behave irregularly when inflected. More...

#include "fftypes.h"
#include "ffword.h"

Go to the source code of this file.

Functions

ffint32 ffpriv_ss_genitive (ffword *word)
 Checks the s-word exception lists for the given word and replaces it with its genitive stem equivalent if found.


Detailed Description

Defines the functions (implemented in ffpriv_ie_vowel_change.c) for accessing the exception lists for words that end in the letter s and behave irregularly when inflected.

Definition in file ffpriv_ss_abnormal.h.


Function Documentation

ffint32 ffpriv_ss_genitive ffword word  ) 
 

Checks the s-word exception lists for the given word and replaces it with its genitive stem equivalent if found.

Parameters:
word The word to check
Returns:
0 if the word was not in the lists and thus wasn't changed; 1 if the word was in the lists and was changed; negative on error

Definition at line 150 of file ffpriv_ss_abnormal.c.

References ffword::data, ffstring_compare(), ffstring_create(), ffstring_delete(), ffstring_equals(), ss_list, and SS_LIST_LEN.

Referenced by ffpriv_genitive_stem(), and main().


Generated on Thu Jun 2 23:16:59 2005 for FinFlect by  doxygen 1.4.2