Next: , Previous: , Up: pcfg-predict-eval   [Contents][Index]


Output Fields

The fields of JSON output have the following meaning:

seq_len

The number of terminal symbols in the actual or predicted terminal symbol sequence.

wpredict_max

An upper bound on the number of correctly predicted terminal symbols.

npredict_actual

The number of correctly predicted terminal symbols contained in the predicted terminal symbol sequence.

npredict_ngram

The number of terminal symbols correctly predicted in the actual terminal symbol sequence by applying an n-gram approach. The program prints this field on passing the option --ngrams.

wpredict_rand

The number of correctly predicted terminal symbols in random mode. The program prints this field on passing the option --prob-rand=FLOAT. This field is equal to the argument of that option multiplied by the field seq_len.

prob_wpredict_max

This field is equal to wpredict_max/seq_len.

prob_npredict_actual

This field is equal to npredict_actual/seq_len.

prob_npredict_ngram

This field is equal to npredict_ngram/seq_len. The program prints this field on passing the option --ngrams.

prob_npredict_rand

This field is equal to the argument of --prob-rand=FLOAT option. The program prints the field on passing this option.

efficiency_ngram, %

This field is equal to (npredict_actual-npredict_ngram)*100/(wpredict_max-npredict_ngram) except for the following special cases: if npredict_actual<npredict_ngram, this field is equal to 0; if npredict_actual>wpredict_max, this field is equal to 100. The program prints this field on passing the option --ngrams.

efficiency_rand, %

This field is equal to (prob_npredict_actual-prob_npredict_rand)*100/(prob_wpredict_max-prob_npredict_rand) except for the following special cases: if prob_npredict_actual<prob_npredict_rand, this field is equal to 0; if prob_npredict_actual>prob_wpredict_max, this field is equal to 100. The program prints this field on passing the option --prob-rand=FLOAT.


Next: , Previous: , Up: pcfg-predict-eval   [Contents][Index]