

>> skulle jag kunna få en pizza
(Parsing with left-corner parser)
Analysis time: 0.34 seconds
3 possibilities:
----------------------------------------------------------------
Possibility 1
Return value: [(null=[action,få]), (object=[food,pizza]), (null=[modal,kan]),
(null=[modal,skulle]), (agent=[pronoun,jag]), (null=[utterance_type,ynq]),
(null=[voice,active])]
Global value: []
Syn features: []
Parse tree:
.MAIN [GENERAL_SCA:541-546]
top [GENERAL_SCA:552-558]
/ utterance_intro null [GENERAL_SCA:566-568]
| utterance [GENERAL_SCA:615-620]
| s [GENERAL_SCA:713-718]
| s [GENERAL_SCA:817-826]
| vp [GENERAL_SCA:1124-1137]
| / vbar [GENERAL_SCA:876-898]
| | / v lex(skulle) [GEN_SWE_LEX:51-51]
| | | np [GENERAL_SCA:1952-1960]
| | \ pronoun lex(jag) [GEN_SWE_LEX:200-200]
| | vp [GENERAL_SCA:1124-1137]
| | / vbar [GENERAL_SCA:853-875]
| | | v lex(kunna) [GEN_SWE_LEX:61-62]
| | | vp [GENERAL_SCA:1317-1337]
| | | / vp [GENERAL_SCA:1042-1051]
| | | | / vbar [GENERAL_SCA:853-875]
| | | | | v lex(få) [CALLSLT_LEX:33-33]
| | | | | np [GENERAL_SCA:2073-2091]
| | | | | / np [GENERAL_SCA:1907-1917]
| | | | | | / d lex(en) [GEN_SWE_LEX:277-278]
| | | | | | | nbar [GENERAL_SCA:2118-2130]
| | | | | | \ n lex(pizza) [CALLSLT_LEX:179-181]
| | | | \ \ post_mods null [GENERAL_SCA:1451-1457]
| \ \ \ post_mods null [GENERAL_SCA:1451-1457]
\ utterance_coda null [GENERAL_SCA:597-599]
------------------------------- FILES -------------------------------
CALLSLT_LEX: d:/cygwin/home/speech/call-slt/swe/regulus/callslt_lex.regulus
GENERAL_SCA: d:/cygwin/home/speech/regulus/grammar/scandinavian/general_sca.regulus
GEN_SWE_LEX: d:/cygwin/home/speech/regulus/grammar/scandinavian/swedish/gen_swe_lex.regulus
display_matching_info('i would like a table outside please', correct, [2,1,2])
print('I heard: "i would like a table outside please"
Correct!
Score: 2 right, 1 wrong (66.7%) Streak: 2')
hitori no teeburu wa arimasu ka
POLITE REQUEST TABLE 1 PERSON
| i will take a beer | REQUEST beer |
| give me a beer | REQUEST beer |
| hello | NEUTRAL-GREETING |
| good evening | EVENING-GREETING |
| i would like a table for one | POLITE REQUEST TABLE 1 PERSON |
| could i have a table for one | POLITE REQUEST TABLE 1 PERSON |
| do you have a table for one | POLITE REQUEST TABLE 1 PERSON |
| i would like a table for two | POLITE REQUEST TABLE 2 PERSON |
| could i have a table for three | POLITE REQUEST TABLE 3 PERSON |
| do you have a table for four | POLITE REQUEST TABLE 4 PERSON |
| do you have a table outside | POLITE REQUEST TABLE outside |
| is there a table outside | POLITE REQUEST TABLE outside |
| could i have a table outside | POLITE REQUEST TABLE outside |
| could we have a table by the window | POLITE REQUEST TABLE by-loc window |
| do you have a table near the window | POLITE REQUEST TABLE in-loc window |
| i 'd like a table in the smoking area | POLITE REQUEST TABLE smoking |
| i 'd like a table in the non-smoking area | POLITE REQUEST TABLE non-smoking |
| smoking please | POLITE REQUEST TABLE smoking |
| non-smoking please | POLITE REQUEST TABLE non-smoking |
| could i have a table in the corner | POLITE REQUEST TABLE in-loc corner |
| can i have a table in the corner | POLITE REQUEST TABLE in-loc corner |
| i would like a non-smoking table for one | POLITE REQUEST TABLE 1 PERSON non-smoking |
| do you have a non-smoking table for one | POLITE REQUEST TABLE 1 PERSON non-smoking |
| a non-smoking table for two please | POLITE REQUEST TABLE 2 PERSON non-smoking |
| could i have a non-smoking table for three people | POLITE REQUEST TABLE 3 PERSON non-smoking |
| i would like a table for three people in the smoking area | POLITE REQUEST TABLE 3 PERSON smoking |
| i would like a table for four | POLITE REQUEST TABLE 4 PERSON |
| do you have a table for four | POLITE REQUEST TABLE 4 PERSON |
| i would like to reserve a table for seven o'clock | POLITE REQUEST TABLE 19 00 |
| could i reserve a table for seven thirty | POLITE REQUEST TABLE 19 30 |
| i 'd like to reserve a table for six forty five | POLITE REQUEST TABLE 18 45 |
| i would like to reserve a table for two for seven fifteen | POLITE REQUEST TABLE 2 PERSON 19 15 |
| could i reserve a table for two people for eight o'clock | POLITE REQUEST TABLE 2 PERSON 20 00 |
| do you have a table for two at seven thirty | POLITE REQUEST TABLE 2 PERSON 19 30 |
| could i reserve a table for seven o'clock tomorrow evening | POLITE REQUEST TABLE 19 00 time-evening date-tomorrow |
| i would like to reserve a table for six forty five tomorrow please | parsing_failed |
| could i reserve a table for two for tomorrow evening | POLITE REQUEST TABLE 2 PERSON time-evening date-tomorrow |
| could i reserve a table for this evening | POLITE REQUEST TABLE time-evening date-today |
| do you have a table for three tomorrow evening around seven o'clock | POLITE REQUEST TABLE 3 PERSON 19 00 time-evening date-tomorrow |
| i have a reservation in the name of smith | parsing_failed |
| i should have a reservation in the name of smith | parsing_failed |
| could we see the menu | POLITE REQUEST menu |
| i would like to see the menu | POLITE REQUEST menu |
| could we get the menu | POLITE REQUEST menu |
| could we have the bill | POLITE REQUEST check |
| could we have the bill please | POLITE REQUEST check |
| may i have the bill | POLITE REQUEST check |
| may i have the check | POLITE REQUEST check |
| could you give us the check please | POLITE REQUEST check |
| could you give me a receipt | POLITE REQUEST receipt |
| i would like a receipt please | POLITE REQUEST receipt |
| could i get a receipt please | POLITE REQUEST receipt |
| i would like a beer | POLITE REQUEST beer |
| could we have two beers | POLITE REQUEST 2 beer |
| could you give us two beers | POLITE REQUEST 2 beer |
| could i have a latte | POLITE REQUEST latte |
| i 'd like a medium latte | POLITE REQUEST medium latte |
| a cup of tea please | POLITE REQUEST cup tea |
| two cups of tea please | POLITE REQUEST 2 cup tea |
| could we get two glasses of water | POLITE REQUEST 2 glass water |
| i 'd like a glass of the house red | POLITE REQUEST glass house-red-wine |
| could we have two glasses of the house red | POLITE REQUEST 2 glass house-red-wine |
| i would like a large glass of white wine | POLITE REQUEST large glass white-wine |
| i would like two small glasses of white wine | POLITE REQUEST 2 small glass white-wine |
| i would like a pizza | POLITE REQUEST pizza |
| i would like a hamburger | POLITE REQUEST hamburger |
| i would like the soup | POLITE REQUEST soup |
| i would like two pizzas | POLITE REQUEST 2 pizza |
>> i would like two beers
Source: i would like two beers
Target: POLITE REQUEST two beer
Other info:
n_parses = 1
parse_time = 0.047
source_representation = [(agent=[pronoun,i]), (null=[action,like]), (null=[modal,would]),
(null=[utterance_type,dcl]), (null=[voice,active]),
(object=[drink,beer]), (object=[spec,2])]
transfer_to_source_discourse_time = 0.0
source_discourse = [(null=[utterance_type,dcl]), (agent=[pronoun,i]), (null=[voice,active]),
(null=[modal,would]), (null=[action,like]), (object=[spec,2]),
(object=[drink,beer])]
resolved_source_discourse = [(null=[utterance_type,dcl]), (agent=[pronoun,i]),
(null=[voice,active]), (null=[modal,would]), (null=[action,like]),
(object=[spec,2]), (object=[drink,beer])]
resolution_processing = trivial
resolution_time = 0.0
transfer_to_interlingua_time = 0.0
interlingua = [(arg2=[drink,beer]), (arg2=[number,2]), (null=[politeness,polite]),
(null=[utterance_type,request])]
interlingua_surface = POLITE REQUEST two beer
interlingua_checking_time = 0.0
--- Performed command i would like two beers, time = 0.05 seconds
Fre: auriez-vous une table près de la fenêtre (SVP) ?
Fre: auriez-vous une table à côté de la fenêtre (SVP) ?
Jap: mado gawa no seki wa ari masu ka
Eng: could we have a table by the window
Eng: do you have a table near the window
Int: POLITE REQUEST LOCATION-TABLE NEAR WINDOW
Fre: auriez-vous une table non-fumeur/fumeur (SVP)?
Fre: auriez-vous une table dans la zone non-fumeur /fumeur (SVP)?
Fre: auriez-vous une table dans la section non-fumeur/fumeur (SVP)?
Jap: kinenseki wa ari masu ka
Eng: i 'd like a table in the smoking area
Eng: i 'd like a table in the non-smoking area
Eng: smoking please
Eng: non-smoking please
Int: POLITE REQUEST LOCATION-TABLE IN SMOKING-AREA
Int: POLITE REQUEST LOCATION-TABLE IN NON-SMOKING-AREA
Fre: auriez-vous une table dans le coin (SVP) ?
Jap: oku no seki wa ari masu ka
Jap: oku no teeburu wa ari masu ka
Eng: could i have a table in the corner
Int: POLITE REQUEST LOCATION-TABLE IN CORNER
POLITE REQUEST TABLE 3 PERSON TIME 19:30
I would like to reserve a table for three people at seven thirty
Scene:
Client is talking to waiter.
Speech bubble from client.
Inside speech bubble:
three chairs around a restaurant table;
large clock in background shows 19:30
Could I have a table for two people at seven thirty
POLITE REQUEST TABLE *3* PERSON TIME 19:30
POLITE REQUEST TABLE *2* PERSON TIME 19:30
i would like two beers
could i have a pizza
do you have a table for two at seven thirty
could i have a non-smoking table for three people