Python LMF library
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | List of all members
pylmflib.pylmflib.morphology.component.Component Class Reference

Public Member Functions

def __init__
 Constructor. More...
 
def __del__
 Destructor. More...
 
def set_lexical_entry
 Set pointer to the component lexical entry instance. More...
 
def get_lexical_entry
 Get pointed lexical entry. More...
 
def get_lexeme
 Get component LexicalEntry lexeme. More...
 

Public Attributes

 position
 
 targets
 

Detailed Description

Definition at line 6 of file component.py.

Constructor & Destructor Documentation

def pylmflib.pylmflib.morphology.component.Component.__init__ (   self,
  position = None,
  lexeme = None 
)

Constructor.

Component instances are owned by ListOfComponents.

Parameters
positionThe position of the component in the multiword expression.
targetsRelated lexeme.
Returns
A Component instance.

Definition at line 7 of file component.py.

def pylmflib.pylmflib.morphology.component.Component.__del__ (   self)

Destructor.

Definition at line 21 of file component.py.

Member Function Documentation

def pylmflib.pylmflib.morphology.component.Component.get_lexeme (   self)

Get component LexicalEntry lexeme.

Returns
Component attribute 'targets'.

Definition at line 41 of file component.py.

def pylmflib.pylmflib.morphology.component.Component.get_lexical_entry (   self)

Get pointed lexical entry.

Returns
Component private attribute '__lexical_entry'.

Definition at line 35 of file component.py.

def pylmflib.pylmflib.morphology.component.Component.set_lexical_entry (   self,
  lexical_entry 
)

Set pointer to the component lexical entry instance.

This function can only be called once the full dictionary has been parsed.

Parameters
lexical_entryThe component LexicalEntry.
Returns
Component instance.

Definition at line 27 of file component.py.

Member Data Documentation

pylmflib.pylmflib.morphology.component.Component.position

Definition at line 14 of file component.py.

pylmflib.pylmflib.morphology.component.Component.targets

Definition at line 16 of file component.py.


The documentation for this class was generated from the following file: