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

Class ChordBulkInput

source code

 object --+        
          |        
InputReader --+    
              |    
      BulkInput --+
                  |
                 ChordBulkInput

A file containing a list of textual chord sequences. This used to be provided fully in the top-level parser script as input processing.

Nested Classes [hide private]
  INPUT_TYPE
Input wrapper for textual chord input.
Instance Methods [hide private]
 
__init__(self, inputs, output_lines=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
to_db_inputs(self) source code

Inherited from BulkInput: __getitem__, __iter__, __len__, get_identifiers, get_partitions, subset

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

Class Methods [hide private]

Inherited from InputReader: process_option_dict

Static Methods [hide private]
 
from_file(filename, options={}) source code
Class Variables [hide private]
  FILE_INPUT_OPTIONS = [ModuleOption('start', filter= int, help_...

Inherited from InputReader: SHELL_TOOLS

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, inputs, output_lines=None)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

from_file(filename, options={})
Static Method

source code 
Overrides: InputReader.from_file

to_db_inputs(self)

source code 

Class Variable Details [hide private]

FILE_INPUT_OPTIONS

Value:
[ModuleOption('start', filter= int, help_text= "line number to start r\
eading from", usage= "start=X, where X is an int"), ModuleOption('end'\
, filter= int, help_text= "line number at which to stop reading", usag\
e= "end=X, where X is an int"), ModuleOption('roman', filter= str_to_b\
ool, help_text= "read chord symbols as roman numberals. " "Default is \
to assume note names", usage= "roman=B, where B is a boolean", default\
= False),]