|
/ modules / paradigms / TextUtils.py
SYNOPSIS
TextUtils
.mappings
.identity
The identity mapping.
.nonAlphanumericToWhitespace
Maps non-alphanumeric characters to whitespace.
.lowercase
Maps characters to their lowercase equivalents.
.uppercase
Maps characters to their uppercase equivalents.
.lowercaseAlphanumericOthersToWhitespace
A combination of 'nonAlphanumericToWhitespace' and
'lowercase'.
.uppercaseAlphanumericOthersToWhitespace
A combination of 'nonAlphanumericToWhitespace' and
'uppercase'.
.deleteLists
.keepAll
Keep all characters.
.keepAlphanumeric
Keep alphanumeric characters; delete all others.
DESCRIPTION
Handy character mappings and character delete lists.
AUTHOR
Greg Janee
gjanee@alexandria.ucsb.edu
HISTORY
$Log: TextUtils.py,v $
Revision 1.1 2002/10/30 04:03:17 gjanee
Initial revision
|
Functions
|
|
|
|
_makeLowercaseAlphanumericOthersToWhitespace
|
_makeLowercaseAlphanumericOthersToWhitespace ()
|
|
|
_makeUppercase
|
_makeUppercase ()
|
|
|
_makeLowercase
|
_makeLowercase ()
|
|
|
_makeNonAlphanumericToWhitespace
|
_makeNonAlphanumericToWhitespace ()
|
|
|
_makeKeepAlphanumeric
|
_makeKeepAlphanumeric ()
|
|
|
_makeUppercaseAlphanumericOthersToWhitespace
|
_makeUppercaseAlphanumericOthersToWhitespace ()
|
|
|
_makeIdentity
|
_makeIdentity ()
|
|
|