Package jazzparser :: Module grammar :: Class EntriesItem
[hide private]
[frames] | no frames]

Class EntriesItem

source code

object --+
         |
        EntriesItem

Instance Methods [hide private]
 
__init__(self, formalism, name, sign, active=True, family=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
copy(self) source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
_get_tag_name(self)
The unique tag name used for this lexical entry.
source code
 
get_lexical_sign(self, features, grammar)
The sign stored in the EntriesItem is an abstraction of the lexical signs, or a lexical schema, that may be instantiated.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Static Methods [hide private]
 
from_dom(formalism, element) source code
Properties [hide private]
  tag_name
The unique tag name used for this lexical entry.
  category
Alias for sign attribute, for backwards compatibility.

Inherited from object: __class__

Method Details [hide private]

__init__(self, formalism, name, sign, active=True, family=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

get_lexical_sign(self, features, grammar)

source code 

The sign stored in the EntriesItem is an abstraction of the lexical signs, or a lexical schema, that may be instantiated. This method produces a specialised lexical sign using the lexical information.

Parameters:
  • features (dict) - lexical features to be passed directly to the sign's apply_lexical_features method.

Property Details [hide private]

tag_name

The unique tag name used for this lexical entry.

Get Method:
_get_tag_name(self) - The unique tag name used for this lexical entry.

category

Alias for sign attribute, for backwards compatibility.

Get Method:
unreachable.category(self) - Alias for sign attribute, for backwards compatibility.