Package featuregenerator :: Module hjerson
[hide private]
[frames] | no frames]

Module hjerson

source code

Classes [hide private]
  Hjerson
This is a class that wraps the Hjerson functionality on a sentence level.
  BinaryHjerson
  levNode
Functions [hide private]
 
read_addfiles(addtext, addline, words) source code
 
adjust_indices(words, adjwords, addwords, adjaddwords) source code
 
wer_errors(index, werwords, weradd, wererr, words, add, error) source code
 
hyp_ref_errors(rline, rbaseline, hwords, hbases, error) source code
 
miss_ext_lex(wererrors, werwords, pererrors, errcats, misextcount, lexcount, misext) source code
 
reord(werreferrors, werrefwords, werhyperrors, werhypwords, hyperrcats, hypcount) source code
 
block_count(errcats, errcat, blockcount) source code
 
write_error_rates(text, errorname, errorcount, errorrate) source code
 
write_error_words(text, addtext, errors, words, add, title) source code
Variables [hide private]
  sent = False
  TAGDIR = "~/taraxu_tools/treetager/"