308
edits
No edit summary |
|||
| Line 14: | Line 14: | ||
# (pick possible clitics - for the (near) future) | # (pick possible clitics - for the (near) future) | ||
# group into arguments | # group into arguments | ||
# anaphora (magic word) substitution | |||
# noun type detection | # noun type detection | ||
# rank | # rank | ||
| Line 76: | Line 77: | ||
(Note: for words which are not incorporated into an oblique argument (aka "modifier argument"), they are pushed onto the DO list.) | (Note: for words which are not incorporated into an oblique argument (aka "modifier argument"), they are pushed onto the DO list.) | ||
==step 5: noun type detection== | ==step 5: anaphora substitution== | ||
Each language has a set of "anaphora" or "magic words", like the English <code>["this", "that", "it", "selection", "him", "her", "them"]</code>. This step will search for any occurrences of these in the parses' arguments and make substituted alternatives, if there is a selection text. | |||
==step 6: noun type detection== | |||
For each parse, send each argument string to the noun type detector. The noun type detector will cache detection results, so it only checks each string once. This returns a list of possible noun types with their "scores". | For each parse, send each argument string to the noun type detector. The noun type detector will cache detection results, so it only checks each string once. This returns a list of possible noun types with their "scores". | ||
| Line 83: | Line 87: | ||
'my calendar' -> [{type: service, score: 1},{type: arb, score: .7}] | 'my calendar' -> [{type: service, score: 1},{type: arb, score: .7}] | ||
==step | ==step 7: ranking== | ||
foreach parse (w/o V) | foreach parse (w/o V) | ||
edits