Home
Trees
Indices
Help
Package CHEM
::
Package DB
::
Package rdb
::
Package search
::
Module NameRxnPatternMatchingModel
:: Class Sentence
[
hide private
]
[
frames
] |
no frames
]
Class Sentence
Instance Methods
[
hide private
]
__init__
(
self
,
rawString
=
'
'
,
sentenceID
=
<CHEM.DB.rdb.search.NameRxnPatternMatchingModel.SearchSentence
...
,
ignorelist
=
[
]
)
__len__
(
self
)
tokenize
(
self
,
ignorelist
=
[
]
)
Tokenize and analyze the words.
updateCharDict
(
self
,
word
)
getSentenceID
(
self
)
getCharacterFreq
(
self
,
char
)
getCharacterCount
(
self
,
char
)
getCharacterList
(
self
)
getCharacterDict
(
self
)
getWordList
(
self
)
__str__
(
self
)
getString
(
self
)
getCleanString
(
self
)
Static Methods
[
hide private
]
compareCharFreq
(
s1
,
s2
)
Takes into account character frequency, character list, word match.
Class Variables
[
hide private
]
characterSet
=
'
abcdefghijklmnopqrstuvwxyz0123456789,[]
'
Home
Trees
Indices
Help
Generated by Epydoc 3.0beta1 on Thu Nov 8 17:49:31 2007
http://epydoc.sourceforge.net