At any rate, you can now run the speech-input English system from the Regulus command-line, setting it so that spoken inputs are parsed and translated into Interlingua. I don't think it's that much extra work to add code so that we have a complete first version of the system. There will initially be two commands. You can either ask for a new Interlingua prompt, or ask to speak. If you speak, it will translate what you say into Interlingua, compare with the current prompt, and score you. With any luck, I'll have this working before next week.
Here's the current English development corpus, with the Interlingua translations it produces:
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 |
No comments:
Post a Comment