|
AccessEngine ::
AEDevice ::
AEOutput ::
Word ::
WordState ::
Class WordState
|
|
Class WordState
source code
AEState.AEState --+
|
WordState
Settings for Word parsing. This class contains the set of all
settings that will be respected by the parser. Subclasses may override
these settings
The following variables are not truly instance variables, but are
proxied by AEState.Setting objects.
Caps (bool): When set to True, capitalization is preserved when
presenting text. Defaults to True.
MaxRepeat (integer): Specifies the minimum number of times a character
must be found in sequence before it is considered a repeat. Defaults to
4.
WordDef (enum): Set to NON_BLANK to define the main part of a word to
only include non-blank characters. Set to ALPHABETIC to define the main
part of a word to only include alphabetic characters. Set to
ALPHA_NUMERIC to define the main part of a word to only include
alphabetic and numeric characters. Set to ALPHA_NUMERIC_PUNCT to define
the main part of a word to only include characters that are alphabetic,
numeric, or punctuation. Defaults to NON_BLANK.
Ignore (string): Set to a string of characters that should be treated
as if they were blank. Defaults to the NBSP character.
|
|
__init__(self)
Initializes all settings objects. |
source code
|
|
|
|
|