Package nltk_lite :: Package contrib :: Module combined :: Class CombinedTagger
[hide private]
[frames] | no frames]

Class CombinedTagger

source code

     object --+            
              |            
yaml.YAMLObject --+        
                  |        
           tag.TagI --+    
                      |    
  tag.SequentialBackoff --+
                          |
                         CombinedTagger

Nested Classes [hide private]

Inherited from yaml.YAMLObject: __metaclass__, yaml_dumper, yaml_loader

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_append_default(self, default_tag, verbose=True) source code
 
_append_affix(self, a_len, w_len, train_sents, verbose=True) source code
 
_append_unigram(self, train_sents, verbose=True) source code
 
_append_ngram(self, size, train_sents, verbose=True, cutoff_value=0.001) source code
 
_append_brill(self, train_sents, max_rules, min_score=2, trace=0) source code
 
marshal(self, basepath) source code
 
unmarshal(self, basepath) source code
 
exemple_train(self, train_sents, verbose=True) source code
 
tag_one(self, token) source code
 
tag(self, tokens, verbose=True) source code

Inherited from tag.SequentialBackoff: tag_sents

Inherited from tag.SequentialBackoff (private): _backoff_tag_one

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Methods [hide private]

Inherited from yaml.YAMLObject: from_yaml, to_yaml

Class Variables [hide private]

Inherited from yaml.YAMLObject: yaml_flow_style, yaml_tag

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

tag(self, tokens, verbose=True)

source code 
Overrides: tag.SequentialBackoff.tag