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

ffpriv_general_local_cases.c File Reference

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

#include "ffpriv_general_local_cases.h"
#include "ffpriv_genitive_stem.h"
#include "ffpriv_partitive_stem.h"
#include "ffpriv_essive_stem.h"
#include "ffpriv_plural_stem.h"
#include "ffregex.h"
#include "ffutil.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

Implements functions for inflecting words in general local cases.

They are declared in ffpriv_general_local_cases.c.

Definition in file ffpriv_general_local_cases.c.


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 111 of file ffpriv_general_local_cases.c.

References ffpriv_plural_stem(), ffpriv_vowel_harmony(), and ffstring_append().

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 99 of file ffpriv_general_local_cases.c.

References ffpriv_essive_stem(), ffpriv_vowel_harmony(), and ffstring_append().

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 60 of file ffpriv_general_local_cases.c.

References ffops::cg, ffword::data, ffpriv_is_consonant(), ffpriv_is_vowel(), ffpriv_plural_stem(), ffpriv_vowel_harmony(), ffregex_match_ci(), ffstring_append(), ffstring_copy(), ffstring_delete(), ffstring_last(), ffstring_rfe(), ffstring::len, 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 38 of file ffpriv_general_local_cases.c.

References ffpriv_is_consonant(), ffpriv_partitive_stem(), ffpriv_vowel_harmony(), ffregex_match_ci(), ffstring_append(), ffstring_last(), and ffstring_tail_equals_ci().

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 130 of file ffpriv_general_local_cases.c.

References ffpriv_plural_stem(), and ffstring_append().

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 119 of file ffpriv_general_local_cases.c.

References ffpriv_genitive_stem(), and ffstring_append().

Referenced by ff_translative_singular().


Generated on Sun May 15 21:50:47 2005 for FinFlect by  doxygen 1.4.1