Package featuregenerator :: Module preprocessor :: Class CommandlinePreprocessor
[hide private]
[frames] | no frames]

Class CommandlinePreprocessor

source code

                       object --+        
                                |        
featuregenerator.FeatureGenerator --+    
                                    |    
                         Preprocessor --+
                                        |
                                       CommandlinePreprocessor
Known Subclasses:

Instance Methods [hide private]
 
_enqueue_output(self, stdout, queue) source code
 
__init__(self, path, lang, params={}, command_template='')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
process_string(self, string) source code
 
close(self) source code
 
__del__(self) source code
 
_get_temporary_file(self, strings) source code
 
_get_tool_output(self, strings) source code

Inherited from Preprocessor: add_features_src, add_features_tgt

Inherited from featuregenerator.FeatureGenerator: add_features_batch, add_features_dataset, add_features_parallelsentence, add_features_simplesentence, get_annotation_name, get_features_parallelsentence, get_features_simplesentence, get_features_src, get_features_string, get_features_tgt, process_dataset

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, path, lang, params={}, command_template='')
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

process_string(self, string)

source code 
Overrides: Preprocessor.process_string