Exemplo n.º 1
0
def test_uk():
    assert i.test_sent("Blorg me to play tennis") == {"error":"Main action not found"}
Exemplo n.º 2
0
def test_move1():
    assert i.test_sent("Move to the bathroom") == {"action": 0, "place": "bathroom"}
Exemplo n.º 3
0
def test_show5():
    assert i.test_sent("Show me to play tennis") == {"action":5, "person":"me", "show_action":"play", "object":"tennis", "video_title":"play-tennis"}
Exemplo n.º 4
0
def test_follow2():
    assert i.test_sent("Follow Jonathan to the kitchen") == {"action":3, "person": "Jonathan", "place":"kitchen"}
Exemplo n.º 5
0
def test_show3():
    assert i.test_sent("Show her what a cow is") == {"action":5, "object": "cow"}
Exemplo n.º 6
0
def test_show4():
    assert i.test_sent("Show me what to do when I want to wash my hands") == {"action":5, "person":"me", "show_action":"wash", "object":"hands", "video_title":"wash-hands"}
Exemplo n.º 7
0
def test_show1():
    assert i.test_sent("TeacH me how to wash my hands") == {"action":5, "person":"me", "show_action":"wash", "object":"hands", "video_title":"wash-hands"}
Exemplo n.º 8
0
def test_show2():
    assert i.test_sent("Show the car") == {"action":5, "object":"car"}
Exemplo n.º 9
0
def test_talk4():
    assert i.test_sent("Talk with Brandon about computers") == {"action":4, "topic":"computers", "person":"Brandon"}
Exemplo n.º 10
0
def test_talk3():
    assert i.test_sent("Talk about movies") == {"action":4, "topic":"movies"}
Exemplo n.º 11
0
def test_talk2():
    assert i.test_sent("Talk to Jonathan") == {"action":4, "person":"Jonathan"}
Exemplo n.º 12
0
def test_stop1():
    assert i.test_sent("Stop") == {"action":2}
Exemplo n.º 13
0
def test_follow1():
    assert i.test_sent("Follow me") == { "action": 3, "person": "me" }