| Home | Trees | Index | Help |
|
|---|
| Package nltk_lite :: Package contrib :: Module marshal :: Class MarshalNgram |
|
object--+ |TagI--+ |SequentialBackoff--+ |Ngram--+ | MarshalNgram
| Method Summary | |
|---|---|
Marshals (saves to a plain text file) the tagger model. | |
Unmarshals (loads from a plain text file) the tagger model. | |
Inherited from Ngram:
__init__,
__repr__,
size,
tag_one,
train
Inherited from SequentialBackoff:
tag,
tag_sents,
_backoff_tag_one
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
| |
| Class Variable Summary | |
|---|---|
str |
_classname = 'NgramTagger'
|
| Method Details |
|---|
marshal(self, filename)Marshals (saves to a plain text file) the tagger model.
|
unmarshal(self, filename)Unmarshals (loads from a plain text file) the tagger model. For safety, this operation is intended to be performed only on newly created taggers (i.e., without any previous model).
|
| Class Variable Details |
|---|
_classname
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Tue Sep 5 09:37:21 2006 | http://epydoc.sf.net |