Package jazzparser :: Package data :: Package input :: Class AnnotatedDbInput
[hide private]
[frames] | no frames]

Class AnnotatedDbInput

source code

 object --+            
          |            
InputReader --+        
              |        
          Input --+    
                  |    
            DbInput --+
                      |
                     AnnotatedDbInput

Like DbInput, but stores category annotations along with the chords.

Instance Methods [hide private]
 
__init__(self, *args, **kwargs)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
get_gold_analysis(self)
Parses the annotations to get a gold analysis.
source code

Inherited from DbInput: __getitem__, __len__, __str__, slice

Inherited from Input (private): _get_string_name

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

Class Methods [hide private]

Inherited from InputReader: process_option_dict

Static Methods [hide private]
 
from_sequence(seq)
Creates a DbInput from a database representation of a sequence.
source code
 
from_file(filename, options={}) source code
Class Variables [hide private]
  FILE_INPUT_OPTIONS = [ModuleOption('index', filter= int, help_...

Inherited from InputReader: SHELL_TOOLS

Properties [hide private]

Inherited from Input: string_name

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

get_gold_analysis(self)

source code 

Parses the annotations to get a gold analysis.

Overrides: Input.get_gold_analysis

from_sequence(seq)
Static Method

source code 

Creates a DbInput from a database representation of a sequence.

Overrides: DbInput.from_sequence

from_file(filename, options={})
Static Method

source code 
Overrides: InputReader.from_file

Class Variable Details [hide private]

FILE_INPUT_OPTIONS

Value:
[ModuleOption('index', filter= int, help_text= "read the sequence with\
 index (not id) X", usage= "index=X, where X is an int", required= Tru\
e),]