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

ffpriv_interior_local_cases.c File Reference

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

#include "ffpriv_interior_local_cases.h"
#include "ffpriv_genitive_stem.h"
#include "ffutil.h"
#include "ffregex.h"
#include "ffpriv_plural_stem.h"
#include "ffpriv_essive_stem.h"
#include "ffcase.h"
#include "ffpriv_single_letter.h"

Go to the source code of this file.

Functions

static ffint32 ffpriv_general_illative (ffword *word, ffbool plural)
ffint32 ffpriv_inessive_singular (ffword *word)
 Transforms the given word into its inessive singular form.
ffint32 ffpriv_inessive_plural (ffword *word)
 Transforms the given word into its inessive plural form.
ffint32 ffpriv_elative_singular (ffword *word)
 Transforms the given word into its inessive singular form.
ffint32 ffpriv_elative_plural (ffword *word)
 Transforms the given word into its inessive plural form.
ffint32 ffpriv_illative_singular (ffword *word)
 Transforms the given word into its illative singular form.
ffint32 ffpriv_illative_plural (ffword *word)
 Transforms the given word into its illative plural form.


Detailed Description

Implements functions for inflecting words in interior local cases.

They are declared in ffpriv_interior_local_cases.h.

Definition in file ffpriv_interior_local_cases.c.


Function Documentation

ffint32 ffpriv_elative_plural ffword word  ) 
 

Transforms the given word into its inessive plural form.

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

Definition at line 139 of file ffpriv_interior_local_cases.c.

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

Referenced by ff_elative_plural().

ffint32 ffpriv_elative_singular ffword word  ) 
 

Transforms the given word into its inessive singular form.

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

Definition at line 125 of file ffpriv_interior_local_cases.c.

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

Referenced by ff_elative_singular().

static ffint32 ffpriv_general_illative ffword word,
ffbool  plural
[static]
 

TODO: Relic

Definition at line 39 of file ffpriv_interior_local_cases.c.

References ffops::cg, ffword::data, ffpriv_essive_stem(), ffpriv_is_vowel(), ffpriv_plural_stem(), ffregex_match_ci(), ffstring_append(), ffstring_last(), ffword_copy(), ffword_delete(), ffword_swap_delete(), ffstring::len, and ffword::metadata.

Referenced by ffpriv_illative_plural(), and ffpriv_illative_singular().

ffint32 ffpriv_illative_plural ffword word  ) 
 

Transforms the given word into its illative plural form.

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

Definition at line 164 of file ffpriv_interior_local_cases.c.

References ffword::data, FFCASE_ILLATIVE, FFCOUNT_PLURAL, ffpriv_general_illative(), ffpriv_single_letter(), and ffstring::len.

Referenced by ff_illative_plural().

ffint32 ffpriv_illative_singular ffword word  ) 
 

Transforms the given word into its illative singular form.

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

Definition at line 155 of file ffpriv_interior_local_cases.c.

References ffword::data, FFCASE_ILLATIVE, FFCOUNT_SINGULAR, ffpriv_general_illative(), ffpriv_single_letter(), and ffstring::len.

Referenced by ff_illative_singular().

ffint32 ffpriv_inessive_plural ffword word  ) 
 

Transforms the given word into its inessive plural form.

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

Definition at line 108 of file ffpriv_interior_local_cases.c.

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

Referenced by ff_inessive_plural().

ffint32 ffpriv_inessive_singular ffword word  ) 
 

Transforms the given word into its inessive singular form.

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

Definition at line 94 of file ffpriv_interior_local_cases.c.

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

Referenced by ff_inessive_singular().


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