Module characterProcessing :: Class CharacterDescriptions
[hide private]
[frames] | no frames]

Class CharacterDescriptions

source code

object --+
         |
        CharacterDescriptions

Represents a map of characters to one or more descriptions (examples) for that character. The data is loaded from a file from the requested locale.

Instance Methods [hide private]
 
__init__(self, locale)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getCharacterDescription(self, character)
Looks up the given character and returns a list containing all the description strings found.
source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, locale)
(Constructor)

source code 

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

Parameters:
  • locale (string) - The characterDescriptions.dic file will be found by using this locale.
Overrides: object.__init__