#include <Flexform.h>
Public Member Functions | |
| FlexLevel (int anz) | |
| (obsolete) constructor | |
| FlexLevel (string **, int anz) | |
| ~FlexLevel () | |
| default destructor | |
| int | getMaxLength () |
| returns length of longest string in level | |
| int | getMinLength () |
| returns length of shortest string in level | |
| bool | insertFlex (string *, string, int pos) |
| inserts a new flexion object into level | |
| bool | insertFlex (JVerbalFlexion *) |
| inserts one flexion objekt (as pointer) to level | |
| vflexform | findString (string &, int &level) |
| searching for a specified string in a certain level | |
| JVerbalFlexion * | findString (string &suchstring, JVerbalFlexion *last_jvf) |
| searching for a specified string in a flexion class it saves the occurances in a stack, of which the first object is returned | |
| int | findString (string &suchstring, JVerbalFlexion *last_jvf, int flex_offs) |
| begins the search at an offset position | |
| void | Print () |
| prints grammatical spezification stdout | |
| JVerbalFlexion * | popHypo () |
| returns the next possible flexion of the stack and pops it | |
Private Types | |
| typedef vector< JVerbalFlexion >::iterator | IT |
Private Attributes | |
| vector< JVerbalFlexion > | m_verbflex |
| int | m_MaxLength |
| int | m_MinLength |
| int | m_number_of_entries |
| stack< JVerbalFlexion * > | m_hypo_stack |
Friends | |
| class | DetLemma |
initalizes values of this level and calls onto the underlieng level of JFlexForm constructors
| verben | verbs to be added into the flexlevel |
| anz | number of verbs (to make initialization of array easier) |
|
|
iterator for m_verbflex |
|
|
(obsolete) constructor initalizes values of this level and calls onto the underlieng level of JFlexForm constructors
|
|
||||||||||||
|
|
|
|
default destructor
|
|
||||||||||||||||
|
begins the search at an offset position
|
|
||||||||||||
|
searching for a specified string in a flexion class it saves the occurances in a stack, of which the first object is returned
|
|
||||||||||||
|
searching for a specified string in a certain level
|
|
|
returns length of longest string in level
|
|
|
returns length of shortest string in level
|
|
|
inserts one flexion objekt (as pointer) to level
|
|
||||||||||||||||
|
inserts a new flexion object into level
|
|
|
returns the next possible flexion of the stack and pops it
|
|
|
prints grammatical spezification stdout prints the content of the level by calling the print function of verb flexion classes |
|
|
|
|
|
stack for storing all the hypothesis of one level temporarily |
|
|
length of longest string in level |
|
|
length of shortest string in level |
|
|
number of entries in level |
|
|
vector storing all the grammatical information of one level |
1.3.3