Main Page | Modules | Namespace List | Compound List | File List | Compound Members | File Members | Related Pages

HypoLemma Class Reference
[LeJa]

class for storing information about possible lemmata (hypothesis) More...

#include <DetLemma.h>

List of all members.

Public Member Functions

 HypoLemma (JVerbalFlexion *, string &, string &)
 constructor for hypothetical lemma

 ~HypoLemma ()
 destructor

bool insertElement (JVerbalFlexion *)
 inserts element at the end of the Hypothesis map

bool insertElement (JVerbalFlexion *, string &, string &)
 inserts element at the end of the Hypothesis map and set the variables

bool deleteElement (UINT pos)
 deletes one hypothesis from vector

string GetHiraRest ()
 provides access to the hiragana string m_hira_rest;

string GetHiraCheck ()
 provides access to member variable m_hira_check

string GetComponents ()
 provides access to member variable m_components

void clearHistory ()
 deletes the history of the hypothesis

string GetCompString ()
 combines strings of grammatical information

void SetHiraRest (string &rest)
 provides access to member variable m_hira_rest, setting its value

void SetHiraCheck (string &check)
 provides access to member variable m_hira_check, setting its value

JVerbalFlexionGetLastJVF ()
 provides access to member variable m_jvf_history.back()


Private Types

typedef vector< JVerbalFlexion
* >::iterator 
IT

Private Attributes

vector< JVerbalFlexion * > m_jvf_history
string m_hira_rest
int m_cur_level
string m_components
string m_hira_check


Detailed Description

class for storing information about possible lemmata (hypothesis)

Author:
Iris Vogel iris@urz.uni-heidelberg.de
Date:
Aug 2003

Version:
0.8/15
See also:
DetLemma.h


Member Typedef Documentation

typedef vector<JVerbalFlexion*>::iterator HypoLemma::IT [private]
 

iterator for the history vector


Constructor & Destructor Documentation

HypoLemma::HypoLemma JVerbalFlexion vfl,
string &  teil1,
string &  teil2
 

constructor for hypothetical lemma

Parameters:
vfl verbal flexation the lemma has to belong to
teil1 part of ending, which is (for now) considered part of the stem
teil2 part of ending, which is (for now) considered the grammatical ending

HypoLemma::~HypoLemma  ) 
 

destructor


Member Function Documentation

void HypoLemma::clearHistory  )  [inline]
 

deletes the history of the hypothesis

bool HypoLemma::deleteElement UINT  pos  ) 
 

deletes one hypothesis from vector

Parameters:
pos the position of the element to be deleted
Returns:
true means successful

string HypoLemma::GetComponents  )  [inline]
 

provides access to member variable m_components

Returns:
m_hira_components, the result of the analysis so far

string HypoLemma::GetCompString  ) 
 

combines strings of grammatical information

Returns:
all the grammatical information in one string

string HypoLemma::GetHiraCheck  )  [inline]
 

provides access to member variable m_hira_check

Returns:
m_hira_check the string, which is currently under investigation

string HypoLemma::GetHiraRest  )  [inline]
 

provides access to the hiragana string m_hira_rest;

Returns:
m_hira_rest the string left to disect

JVerbalFlexion* HypoLemma::GetLastJVF  )  [inline]
 

provides access to member variable m_jvf_history.back()

Returns:
pointer to last element of history

bool HypoLemma::insertElement JVerbalFlexion element,
string &  teil1,
string &  teil2
 

inserts element at the end of the Hypothesis map and set the variables

Parameters:
element to be pushed into the vector
teil1 the string considered (for the time being) part of the stem
teil2 the string considered the grammatical ending
Returns:
true means successful

bool HypoLemma::insertElement JVerbalFlexion element  ) 
 

inserts element at the end of the Hypothesis map

Parameters:
element to be pushed into the vector
Returns:
true means successful

void HypoLemma::SetHiraCheck string &  check  )  [inline]
 

provides access to member variable m_hira_check, setting its value

Parameters:
check desired value of member variable

void HypoLemma::SetHiraRest string &  rest  )  [inline]
 

provides access to member variable m_hira_rest, setting its value

Parameters:
rest desired value of member variable


Member Data Documentation

string HypoLemma::m_components [private]
 

storage for grammatical spezification

int HypoLemma::m_cur_level [private]
 

current (flex)level of investigation

string HypoLemma::m_hira_check [private]
 

hiragana string considered the grammatical ending

string HypoLemma::m_hira_rest [private]
 

hiragana string left to process

vector<JVerbalFlexion*> HypoLemma::m_jvf_history [private]
 

stores the history of reduction process


The documentation for this class was generated from the following files:
Generated on Mon Aug 18 19:27:10 2003 for LeJa by doxygen 1.3.3