ADL_query_translator modules/paradigms/TextUtils.py

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


Imported Modules   

from java.lang import Character
import string

Functions   
  _makeLowercaseAlphanumericOthersToWhitespace 
_makeLowercaseAlphanumericOthersToWhitespace ()
  _makeUppercase 
_makeUppercase ()
  _makeLowercase 
_makeLowercase ()
  _makeNonAlphanumericToWhitespace 
_makeNonAlphanumericToWhitespace ()
  _makeKeepAlphanumeric 
_makeKeepAlphanumeric ()
  _makeUppercaseAlphanumericOthersToWhitespace 
_makeUppercaseAlphanumericOthersToWhitespace ()
  _makeIdentity 
_makeIdentity ()
Classes   

TextUtils

DeleteLists

Mappings


This document was automatically generated Thu Mar 4 12:45:19 2004 by HappyDoc version WORKING