Python LMF library
 All Classes Namespaces Files Functions Variables
form.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
3 """! @package core
4 """
5 
6 class Form():
7  """! "Form is an abstract class representing a lexeme, a morphological variant of a lexeme or a morph. The Form class allows subclasses." (LMF)
8  """
9  def __init__(self):
10  """! @brief As Form is an abstract class, constructor raises an error.
11  """
12  raise NotImplementedError
13 
14  def __del__(self):
15  """! @brief As Form is an abstract class, desctructor raises an error.
16  """
17  raise NotImplementedError
18 
19  def __new__(self):
20  """! @brief Private initialization called from Form subclasses.
21  Form subinstances are owned by LexicalEntry.
22  """
23  ## FormRepresentation instances are owned by Form subclasses
24  # There is zero to many FormRepresentation instances per Form subclass
def __del__
As Form is an abstract class, desctructor raises an error.
Definition: form.py:14
"Form is an abstract class representing a lexeme, a morphological variant of a lexeme or a morph...
Definition: form.py:6
def __new__
Private initialization called from Form subclasses.
Definition: form.py:19
form_representation
FormRepresentation instances are owned by Form subclasses There is zero to many FormRepresentation in...
Definition: form.py:25
def __init__
As Form is an abstract class, constructor raises an error.
Definition: form.py:9