Package jazzparser :: Package shell :: Module gstools :: Class MarkCorrectTool
[hide private]
[frames] | no frames]

Class MarkCorrectTool

source code

object --+    
         |    
tools.Tool --+
             |
            MarkCorrectTool

Instance Methods [hide private]
 
run(self, args, state)
Main operation of tool, taking arguments in args and reading and potentially manipulating the shell state.
source code

Inherited from tools.Tool: process_option_list

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

Class Variables [hide private]
  name = 'Mark Correct'
hash(x)
  commands = ['markcorrect', 'mark']
  usage = ('markcorrect', 'marks all the lexical entries in the ...
  help = '\nGoes through the chart and marks those lexical signs...

Inherited from tools.Tool: tool_options

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

run(self, args, state)

source code 

Main operation of tool, taking arguments in args and reading and potentially manipulating the shell state.

By the time this is called, the options dict is available in self.options.

Overrides: tools.Tool.run
(inherited documentation)

Class Variable Details [hide private]

usage

Value:
('markcorrect',
 'marks all the lexical entries in the chart that are correct accordin\
g to the gold standard')

help

Value:
'''
Goes through the chart and marks those lexical signs that were the 
correct choice according to the gold standard. Each correct sign has i\
ts 
__str__ wrapped so it will display a marker of its correctness when 
printed.
'''