Package nltk_lite :: Package contrib :: Package classifier :: Module classify
[hide private]
[frames] | no frames]

Module classify

source code

Classes [hide private]
  Classify
Variables [hide private]
  a_help = 'Selects the classification algorithm ...
  f_help = 'Specifies the base name of test, training or gold fi...
  v_help = 'Used in conjunction with the files option to verify ...
  t_help = 'When the files option is not used this option is use...
  T_help = 'When the files option is not used this option is use...
  g_help = 'When the files option is not used this option is use...
  A_help = 'Used to disable calculation of Accuracy. ...
  e_help = 'Used to enable calculation of Error rate. ...
  F_help = 'Used to disable calculation of F-score. ...
  p_help = 'Used to enable calculation of Precision. ...
  r_help = 'Used to enable calculation of Recall. ...
  ZERO_R = '0R'
  ONE_R = '1R'
  DECISION_TREE = 'DT'
  ALGORITHM_MAPPINGS = {ZERO_R: zeror.ZeroR, ONE_R: oner.OneR, D...
Variables Details [hide private]

a_help

Value:
'Selects the classification algorithm                  Options: 0R for\
 Zero R, 1R for One R, DT for Decision Trees.                         \
                     Default: 0R.'

f_help

Value:
'Specifies the base name of test, training or gold files.By default it\
 searches for training and test files, look at the verify option for m\
ore details.'

v_help

Value:
'Used in conjunction with the files option to verify  the efficiency w\
ith a gold file instead of testing the classifier on a test file. Sett\
ing this option will mean that a gold file is present with the commonn\
ame.                                               Options: True/False\
 or yes/no.'

t_help

Value:
'When the files option is not used this option is used to specify the \
path to the training file without the extension.'

T_help

Value:
'When the files option is not used this option is used to specify the \
path to the test file without the extension.'

g_help

Value:
'When the files option is not used this option is used to specify the \
path to the gold file without the extension.'

A_help

Value:
'Used to disable calculation of Accuracy.              Options: True/F\
alse or yes/no.                       Default: False.                 \
                     '

e_help

Value:
'Used to enable calculation of Error rate.             Options: True/F\
alse or yes/no.                       Default: False.                 \
                     '

F_help

Value:
'Used to disable calculation of F-score.               Options: True/F\
alse or yes/no.                       Default: False.                 \
                     '

p_help

Value:
'Used to enable calculation of Precision.              Options: True/F\
alse or yes/no.                       Default: False.                 \
                     '

r_help

Value:
'Used to enable calculation of Recall.                 Options: True/F\
alse or yes/no.                       Default: False.                 \
                     '

ALGORITHM_MAPPINGS

Value:
{ZERO_R: zeror.ZeroR, ONE_R: oner.OneR, DECISION_TREE: decisiontree.De\
cisionTree}