Labs/Ubiquity/Parser 2: Difference between revisions

Jump to navigation Jump to search
Line 115: Line 115:
The scoring of individual parses includes factors which affect the score negatively and positively. For [http://mitcho.com/blog/observation/scoring-for-optimization/ optimization reasons], all negative factors (having too many arguments per role, having to suggest the verb, missing arguments, etc.) are calculated in the <code>scoreMultiplier</code> early on in the derivation, and this <code>scoreMultiplier</code> is used in the additive calculation of positive factors.
The scoring of individual parses includes factors which affect the score negatively and positively. For [http://mitcho.com/blog/observation/scoring-for-optimization/ optimization reasons], all negative factors (having too many arguments per role, having to suggest the verb, missing arguments, etc.) are calculated in the <code>scoreMultiplier</code> early on in the derivation, and this <code>scoreMultiplier</code> is used in the additive calculation of positive factors.


  foreach parse (w/o V)
  score = scoreMultiplier * (\sum_{each semantic role in the verb} score(the content of that argument being the appropriate nountype) + base score (1) )
  by semantic roles in the parse, find appropriate verbs
  foreach possible verb
    score = \prod_{each semantic role in the verb} score(the content of that argument being the appropriate nountype)
    
    
<b>EX:</b>
<b>EX:</b>
308

edits

Navigation menu