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

ffpriv_general_local_cases.h File Reference

Declares functions for inflecting words in general local cases. More...

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

Go to the source code of this file.

Functions

ffint32 ffpriv_partitive_singular (ffword *word)
 Transforms the given word into its partitive singular form.
ffint32 ffpriv_partitive_plural (ffword *word)
 Transforms the given word into its partitive plural form.
ffint32 ffpriv_essive_singular (ffword *word)
 Transforms the given word into its essive singular form.
ffint32 ffpriv_essive_plural (ffword *word)
 Transforms the given word into its essive plural form.
ffint32 ffpriv_translative_singular (ffword *word)
 Transforms the given word into its translative singular form.
ffint32 ffpriv_translative_plural (ffword *word)
 Transforms the given word into its translative plural form.


Detailed Description

Declares functions for inflecting words in general local cases.

They are implemented in ffpriv_general_local_cases.c.

Definition in file ffpriv_general_local_cases.h.


Function Documentation

ffint32 ffpriv_essive_plural ffword word  ) 
 

Transforms the given word into its essive plural form.

Parameters:
word The word in basic form
Returns:
0 on success; -1 on error

Definition at line 122 of file ffpriv_general_local_cases.c.

References ffops::cg, ffword::data, FFCASE_ESSIVE, FFCOUNT_PLURAL, ffpriv_plural_stem(), ffpriv_single_letter(), ffpriv_vowel_harmony(), ffstring_append(), ffstring::len, and ffword::metadata.

Referenced by ff_essive_plural().

ffint32 ffpriv_essive_singular ffword word  ) 
 

Transforms the given word into its essive singular form.

Parameters:
word The word in basic form
Returns:
0 on success; -1 on error

Definition at line 108 of file ffpriv_general_local_cases.c.

References ffword::data, FFCASE_ESSIVE, FFCOUNT_SINGULAR, ffpriv_essive_stem(), ffpriv_single_letter(), ffpriv_vowel_harmony(), ffstring_append(), and ffstring::len.

Referenced by ff_essive_singular().

ffint32 ffpriv_partitive_plural ffword word  ) 
 

Transforms the given word into its partitive plural form.

Parameters:
word The word in basic form
Returns:
0 on success; -1 on error

Definition at line 63 of file ffpriv_general_local_cases.c.

References ffops::cg, ffword::data, FFCASE_PARTITIVE, FFCOUNT_PLURAL, ffpriv_is_consonant(), ffpriv_is_vowel(), ffpriv_plural_stem(), ffpriv_single_letter(), ffpriv_vowel_harmony(), ffregex_match_ci(), ffstring_append(), ffstring_last(), ffstring_rfe(), ffword_copy(), ffword_delete(), ffword_swap_delete(), ffstring::len, ffops::loan, ffword::metadata, and ffstring::str.

Referenced by ff_partitive_plural().

ffint32 ffpriv_partitive_singular ffword word  ) 
 

Transforms the given word into its partitive singular form.

Parameters:
word The word in basic form
Returns:
0 on success; -1 on error

Definition at line 39 of file ffpriv_general_local_cases.c.

References ffword::data, FFCASE_PARTITIVE, FFCOUNT_SINGULAR, ffpriv_is_consonant(), ffpriv_partitive_stem(), ffpriv_single_letter(), ffpriv_vowel_harmony(), ffregex_match_ci(), ffstring_append(), ffstring_last(), ffstring_tail_equals_ci(), and ffstring::len.

Referenced by ff_partitive_singular().

ffint32 ffpriv_translative_plural ffword word  ) 
 

Transforms the given word into its translative plural form.

Parameters:
word The word in basic form
Returns:
0 on success; -1 on error

Definition at line 151 of file ffpriv_general_local_cases.c.

References ffword::data, FFCASE_TRANSLATIVE, FFCOUNT_PLURAL, ffpriv_plural_stem(), ffpriv_single_letter(), ffstring_append(), and ffstring::len.

Referenced by ff_translative_plural().

ffint32 ffpriv_translative_singular ffword word  ) 
 

Transforms the given word into its translative singular form.

Parameters:
word The word in basic form
Returns:
0 on success; -1 on error

Definition at line 137 of file ffpriv_general_local_cases.c.

References ffword::data, FFCASE_TRANSLATIVE, FFCOUNT_SINGULAR, ffpriv_genitive_stem(), ffpriv_single_letter(), ffstring_append(), and ffstring::len.

Referenced by ff_translative_singular().


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