Improve command understanding with bigger wording banks; tested
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
"""Wordings for the fast lane, one module per field (arm, motion, korean, questions ...), so each can grow apart.
|
||||
|
||||
A module here may hold:
|
||||
INTENT = {"look": [...], "no": [...]} # added to assistant/intent_bank.KINDS (same kinds,
|
||||
# same <place> / <obj> slots)
|
||||
QUICK = {"name": [...], "no": [...]} # more wordings for assistant/quick_answers kinds
|
||||
QUICK_KINDS = {"kind": ([wordings], {"en": [...], "ko": [...]})} # new quick-answer kinds with their answers
|
||||
"""
|
||||
import importlib
|
||||
import pkgutil
|
||||
|
||||
|
||||
def modules():
|
||||
return [importlib.import_module(f"{__name__}.{m.name}") for m in sorted(pkgutil.iter_modules(__path__), key=lambda m: m.name)]
|
||||
|
||||
|
||||
def merged(attr):
|
||||
"""{kind: [wordings]} of every module's `attr`, in module order."""
|
||||
out = {}
|
||||
for m in modules():
|
||||
for kind, texts in getattr(m, attr, {}).items():
|
||||
out.setdefault(kind, []).extend(texts)
|
||||
return out
|
||||
|
||||
|
||||
def vectors(texts, cache):
|
||||
"""Embeddings of `texts` (assistant/knowledge.embed); kept per text in `cache` (.npz), so only new wordings are
|
||||
embedded when a bank grows. Written atomically: several processes may build at once."""
|
||||
import os
|
||||
import numpy as np
|
||||
from assistant import knowledge
|
||||
known = {}
|
||||
try:
|
||||
z = np.load(cache)
|
||||
if "texts" in z:
|
||||
known = dict(zip(z["texts"].tolist(), z["vecs"]))
|
||||
except (OSError, ValueError, KeyError):
|
||||
pass
|
||||
new = sorted({t for t in texts if t not in known})
|
||||
if new:
|
||||
known.update(zip(new, knowledge.embed(new)))
|
||||
keep = sorted(set(texts) | set(new))
|
||||
tmp = f"{cache}.{os.getpid()}.npz"
|
||||
np.savez(tmp, texts=np.array(keep), vecs=np.array([known[t] for t in keep]))
|
||||
os.replace(tmp, cache)
|
||||
return np.array([known[t] for t in texts])
|
||||
@@ -0,0 +1,306 @@
|
||||
"""Arm and hand wordings for the intent bank (assistant/intent_bank.py kinds): wave (every handshake form too, the
|
||||
owner's meaning), arm_reach (hold the arm out: "give me your hand", "손 줘", "손 내밀어"), arm_fold (back to look),
|
||||
arm_open / arm_close (the gripper), pick, fetch, and the hand's put / receive / give (the bank does not act on these
|
||||
three: they keep their wordings apart from the others), plus "no": talk about the arm and hand that asks nothing.
|
||||
|
||||
Korean is written as stems x endings (반말 / 해요체 / 하십시오체 / 주세요 / 줄래 / dialect), English as phrases.
|
||||
"""
|
||||
|
||||
|
||||
def _ko(stems, ends):
|
||||
return [f"{s}{e}" for s in stems for e in ends]
|
||||
|
||||
|
||||
def _en(cores):
|
||||
return [f.format(c) for c in cores for f in FRAMES]
|
||||
|
||||
|
||||
FRAMES = ["{}", "please {}", "{} please", "could you {}", "would you please {}", "can you {}", "will you {}",
|
||||
"you think you could {}", "be a dear and {}", "do me a favour and {}", "i want you to {}", "i need you to {}",
|
||||
"i'd like you to {}", "how about you {}", "why don't you {}", "mind if i ask you to {}", "i order you to {}",
|
||||
"{} now", "{} for me", "{} real quick", "just {}", "{}, okay", "come on, {}", "you {} please", "kindly {}"]
|
||||
|
||||
|
||||
ASK = ["", " 줘", " 봐", " 줘 봐", " 주세요", " 줘요", " 봐요", " 보세요", " 줄래?", " 줄래요?", " 주실래요?", " 주십시오",
|
||||
" 주시겠어요?", " 주시겠습니까?", " 주라", " 주게", " 보게", " 주이소", " 보이소", " 봐유", " 줘유", " 줘용", " 주세용",
|
||||
" 줄 수 있어?", " 주실 수 있어요?", " 주면 좋겠어", " 주시면 감사하겠습니다", " 주시오", " 보거라", " 주렴"]
|
||||
ASK += [" 주셨으면 해요", " 주셨으면 좋겠어요", " 주면 좋겠어요", " 주시겠소", " 주소", " 도", " 주이소예", " 조", " 주랑께",
|
||||
" 주드라고", " 줘라", " 주라잉", " 줘 봐라", " 보소", " 봐라", " 줄래 응", " 주세요 제발", " 좀 해 줘"]
|
||||
ASK_SHORT = ["", " 줘", " 봐", " 주세요", " 줘요", " 줄래?", " 주실래요?", " 주십시오", " 주라", " 주게", " 주이소", " 줘유"]
|
||||
|
||||
# ---------- wave: a wave of the hand, and every handshake wording (owner 2026-10-23: a handshake is a wave) ----------
|
||||
WAVE = [
|
||||
# handshakes, English (native, non-native, kids, slang)
|
||||
"shake hand", "shake hands", "shake my hand", "shake hands with me", "let's shake hands", "let's shake hand",
|
||||
"can you shake hand", "can you shake hands with me", "could you shake my hand", "would you shake my hand",
|
||||
"will you shake hands with me", "shake", "shake shake", "shake please", "shake hand please", "shake hands please",
|
||||
"give me a handshake", "handshake please", "handshake", "do a handshake", "let's do a handshake",
|
||||
"how about a handshake", "gimme a handshake", "you shake hand me", "you shake my hand please", "robot shake hand", "shake hand with me please",
|
||||
"shaking hands please", "do shake hand", "make handshake", "hand shake please", "handshake me", "shakey shakey",
|
||||
"shake hans", "shake hend", "shaek hands", "sheik hands", "shake handz", "you hand shake hello please",
|
||||
"hand shake hello", "a handshake would be nice", "i'd love a handshake", "nice to meet you, shake hands",
|
||||
"let's shake hands, nice to meet you", # wave, English
|
||||
"wave", "wave your hand", "wave hand", "wave at me", "wave to me", "wave at us", "wave to us", "wave hello",
|
||||
"wave goodbye", "wave bye", "wave bye bye", "wave hi", "wave to the camera", "wave to the crowd",
|
||||
"wave to everybody", "wave to everyone here", "wave to my friends", "wave to my daughter", "wave to the kids",
|
||||
"wave to the audience", "wave back", "wave back at me", "wave back at us", "wave at the people", "wave a little",
|
||||
"wave your arm", "wave your arm at me", "wave your hand at us", "wave your hand hello", "do the wave",
|
||||
"do your wave", "do a little wave", "do a big wave", "a big wave please", "big wave", "little wave",
|
||||
"give a wave", "give us a wave", "give me a wave", "give them a wave", "give everyone a wave", "give a big wave",
|
||||
"give a little wave", "give a friendly wave", "send a wave", "throw a wave", "wave for us", "wave for the photo",
|
||||
"wave for the picture", "wave for my mom", "say hi with your hand", "say hello with your hand",
|
||||
"say bye with your hand", "say goodbye with your hand", "say hi with a wave", "greet us with a wave",
|
||||
"greet me with your hand", "greet them with a wave", "hello with your hand", "bye bye with your hand",
|
||||
"hand wave", "hand wave please", "a hand wave please", "do hand wave", "you wave hand", "you wave me",
|
||||
"you wave to me please", "robot wave", "robot wave hand", "robot wave me", "wave me", "wave me please",
|
||||
"wave you hand", "wave you hand please", "wave ur hand", "please wave hand", "please you wave", "plese wave",
|
||||
"plz wave", "wave plz", "wave pls", "wavey wave", "wave wave", "wave wave wave", "wayve", "wayve please",
|
||||
"weave", "weave your hand", "waive", "waive at me", "wav", "wav hand", "wave yur hand", "wabe", "wave your han",
|
||||
"would you mind waving", "would you mind waving at us", "would you mind waving to the crowd",
|
||||
"mind waving to us", "how about waving to us", "i'd love it if you waved at us", "i'd like you to wave",
|
||||
"it'd be nice if you waved", "it would be great if you waved at us", "i want you to wave", "i want to see you wave",
|
||||
"i wanna see you wave", "let me see you wave", "show me a wave", "show me your wave", "show us how you wave",
|
||||
"can i get a wave", "can we get a wave", "could we get a wave from you", "how about a wave", "a wave, please",
|
||||
"one wave please", "wave once", "wave one time", "please wave once", "start waving", "go ahead and wave",
|
||||
"go on, wave", "come on, wave", "come on, wave at us", "just wave", "only wave", "just wave at me", "you can wave now",
|
||||
"now wave", "wave now", "wave please", "please wave", "kindly wave", "could you wave", "can you wave",
|
||||
"will you wave", "would you wave", "would you wave at us please", "could you please wave", "can you please wave",
|
||||
"can you wave at me", "can you wave your hand", "could you wave your hand", "could you, uh, wave", "um, wave",
|
||||
"so, could you wave", "hi hi wave", "bye bye wave", "wave bye-bye", "wave goodbye to them",
|
||||
"wave hello to the guests", "wave to the visitors", "wave at the kids", "wave at the camera",
|
||||
# Korean wave and handshake (stems x endings)
|
||||
*_ko(["손 흔들어", "손 좀 흔들어", "손 한번 흔들어", "손 한 번 흔들어", "손 흔들어서 인사해", "손 인사 해", "손으로 인사해",
|
||||
"팔 흔들어", "바이바이 해", "빠이빠이 해", "손 흔들면서 인사해", "손을 흔들어", "손 크게 흔들어", "손 살짝 흔들어",
|
||||
"안녕 손 흔들어", "손 흔들어서 안녕 해", "손으로 안녕 해", "손으로 바이바이 해", "웨이브 해", "wave 해", "악수 해",
|
||||
"악수 한번 해", "악수 한 번 해", "나랑 악수 해", "저랑 악수 해", "악수 좀 해", "손 흔들어 인사해"], ASK),
|
||||
"악수하자", "악수해", "악수해요", "악수 한번 해요", "악수 한번 하자", "악수 하자", "우리 악수하자", "나랑 악수하자",
|
||||
"저랑 악수해요", "악수할래?", "악수할래요?", "악수하실래요?", "악수합시다", "악수하시죠", "악수하세요", "악수하십시오",
|
||||
"악수 좀 해요", "악수 한 번만 해 줘", "악수 한 번 해 주세요", "반가워 악수하자", "반가워요 악수해요", "악수 ㄱㄱ",
|
||||
"악수 고고", "악수 플리즈", "핸드셰이크 해 줘", "쉐이크 핸드", "셰이크 핸드 해 줘", "shake hand 해 줘", "handshake 해 줘",
|
||||
"악수해 주이소", "악수 한번 해 보이소", "악수하자잉", "악수해 봐유", "악쑤하자", "악수하쟈", "악수 해조",
|
||||
"손 흔들어", "흔들어 봐", "손 흔드러", "손 흔더러 줘", "손 흔들어조", "손 흔들어 쥬", "손 흔들어 주라잉", "손 흔들어 보랑께",
|
||||
"손 흔들어 주소", "손 흔들어 도", "손 쫌 흔들어 봐", "손 흔들어 주실 수 있나요?", "손 흔들어 주시면 좋겠어요",
|
||||
"빠빠이 해 줘", "빠빠이 해", "빠이빠이 해 줘요", "안녕 해 줘 손으로", "손 흔들어서 인사해 주세요",
|
||||
"카메라 보고 손 흔들어", "카메라 보고 wave", "camera 보고 wave", "사진 찍게 손 흔들어 줘", "애들한테 손 흔들어 줘",
|
||||
"할머니한테 손 흔들어 드려", "손님들한테 손 흔들어 주세요", "저희한테 손 흔들어 주세요", "우리한테 손 흔들어 줘",
|
||||
"관객들한테 손 흔들어 주세요", "손 한번 흔들어 주십시오", "손 흔들어 주시겠습니까?", "손 인사 부탁해요", "손 인사 부탁합니다",
|
||||
"웨이브 웨이브", "웨이브", "웨이브 해 봐", "웨이브 한번 해 줘", "wave 좀 해 줘", "wave 해 주세요", "hand wave 해 줘",
|
||||
"손 wave 해", "wave hand 해 줘", "hi 해 손으로", "bye 해 손으로", "손으로 hi 해 줘", "손 흔들어 please", "please 손 흔들어",
|
||||
"손 좀 흔들어 줄래", "손 흔들어 줘 빨리", "얼른 손 흔들어", "빨리 손 흔들어 봐", "손 흔들어 봐 어서",
|
||||
]
|
||||
|
||||
# ---------- arm_reach: the arm held out to the person ("give me your hand", "손 줘", "손 내밀어") ----------
|
||||
ARM_REACH = [
|
||||
"give me your hand", "give me a hand", "give me hand", "give me ur hand", "gimme your hand", "gimme a hand",
|
||||
"gimme hand", "give your hand", "give your hand to me", "give hand", "give hand please", "you give hand",
|
||||
"you give me hand", "you give me your hand please", "you can give hand", "can you give me your hand",
|
||||
"could you give me your hand", "may i have your hand", "can i have your hand", "can i see your hand, hold it out",
|
||||
"lend me your hand", "hand please", "your hand please", "your hand, please", "hand, please",
|
||||
"reach out", "reach out your hand", "reach out your arm", "reach out to me", "reach out please", "reach your arm out",
|
||||
"reach your hand out", "reach toward me", "reach towards me", "reach for me", "reach for my hand", "reach forward",
|
||||
"reach out a bit", "reach out real quick", "reach out, lumi", "reach", "reach arm", "reach your arm",
|
||||
"hold out your hand", "hold out your arm", "hold your hand out", "hold your arm out", "hold out your gripper",
|
||||
"hold it out", "hold out your hand to me", "hold your hand out to me",
|
||||
"stretch your arm", "stretch out your arm", "stretch out your hand", "stretch your arm out", "stretch out",
|
||||
"stretch your hand forward", "stretch your arm forward", "stretch arm", "extend your arm", "extend your hand",
|
||||
"extend your arm forward", "extend the arm", "extend arm", "put your hand out", "put your arm out",
|
||||
"put your hand forward", "put your arm forward", "stick your arm out", "stick your hand out", "push your arm out",
|
||||
"push your arm forward", "move your arm forward", "move your hand forward", "bring your hand forward",
|
||||
"bring your hand over to me", "bring your arm to me", "arm out", "arm out please", "arm forward", "arm to me",
|
||||
"hand out", "hand out please", "hand forward", "hand to me", "offer me your hand", "offer your hand",
|
||||
"show me your hand", "let me see your hand", "lemme see your hand", "show your hand", "show me your arm",
|
||||
"straighten your arm", "straighten your arm out", "make your arm straight", "arm straight", "long arm please",
|
||||
"i want see you reach arm", "i want to see you reach out", "show me you reach out", "can you reach out",
|
||||
"could you reach out your arm", "would you reach out your hand", "would you mind reaching out",
|
||||
"mind holding out your hand", "how about holding your hand out", "it'd be nice if you held out your hand",
|
||||
"reech out", "rich out", "reach owt", "reach aut", "rieach out", "hold owt your hand", "giv me your hand",
|
||||
"give mi your hand", "give me you hand", "gib me your hand", "hand pls", "arm out pls",
|
||||
# Korean
|
||||
*_ko(["손 내밀어", "손 좀 내밀어", "손 앞으로 내밀어", "손 쭉 내밀어", "손 뻗어", "손 좀 뻗어", "손 앞으로 뻗어",
|
||||
"팔 뻗어", "팔 좀 뻗어", "팔 쭉 뻗어", "팔 앞으로 뻗어", "팔 내밀어", "팔 좀 내밀어", "팔 앞으로 내밀어", "팔 펴",
|
||||
"팔 쭉 펴", "팔 좀 펴", "팔 앞으로 쭉 펴", "팔을 뻗어", "손을 내밀어", "손을 앞으로 내밀어", "팔 길게 뻗어",
|
||||
"손 이쪽으로 내밀어", "나한테 손 내밀어", "저한테 손 내밀어", "손 나한테 뻗어", "팔 나한테 뻗어"], ASK),
|
||||
*_ko(["손 줘", "손 좀 줘", "손 이리 줘", "나한테 손 줘", "저한테 손 줘", "손 내놔"], ["", " 봐", "요", " 봐요"]),
|
||||
"손 주세요", "손 좀 주세요", "손 이리 주세요", "저한테 손 주세요", "손 주실래요?", "손 줄래?", "손 주라", "손 주게",
|
||||
"손 주이소", "손 줘유", "손 주십시오", "손 좀 주실래요?", "손 이리", "손 내밀기", "손 내밀어 봐 어서",
|
||||
"루미야 손 줘", "로봇아 손 줘", "hand 줘", "hand 줘 봐", "hand 좀 줘", "hand 내밀어", "hand 좀 내밀어 줘", "팔 reach 해 줘", "reach out 해 줘",
|
||||
"reach out 해", "reach 해 줘", "팔 extend 해 줘", "arm 뻗어", "arm 뻗어 줘", "arm out 해 줘", "arm 펴 줘", "팔 out",
|
||||
"손 reach", "팔 reach", "give me hand 해 줘", "hand out 해 줘", "손 앞으로", "팔 앞으로", "팔 쭉", "팔 뻐더",
|
||||
"팔 버더", "팔 뻗어조", "손 내미러", "손 내밀어조", "팔 뻐더 줘", "손 내밀어 주이소", "팔 뻗어 보이소", "팔 쭉 뻗어 보게",
|
||||
"팔 좀 뻗어 봐유", "손 쫌 내밀어 봐", "손 내밀어 주랑께", "팔 뻗쳐 봐", "팔 쭉 내밀어 보거라",
|
||||
"야 봐봐, 루미야 팔 뻗어 줘", "봐봐 루미야 손 내밀어", "얘들아 봐 루미야 손 줘",
|
||||
]
|
||||
|
||||
# ---------- arm_fold: the arm back to its look pose ----------
|
||||
ARM_FOLD = [
|
||||
"fold your arm", "fold the arm", "fold arm", "fold it", "fold it back", "fold your arm back", "fold your arm up",
|
||||
"fold up your arm", "fold your arm now", "fold your arm please", "you can fold your arm", "you can fold it now",
|
||||
"put your arm down", "put the arm down", "put your arm away", "put your arm back", "put arm back",
|
||||
"put your hand down", "put your hand away", "put your hand back", "take your arm back", "take your hand back",
|
||||
"take back your arm", "take your arm away", "pull your arm back", "pull your arm in", "pull your hand back",
|
||||
"pull back your arm", "pull it back", "draw your arm back", "draw back your arm", "bring your arm back",
|
||||
"bring your arm in", "bring the arm home", "bring the arm back", "arm back", "arm back home", "arm back please",
|
||||
"arm back in", "arm in", "arm down", "arm down please", "arm home", "arm away", "arm rest", "arm go back",
|
||||
"arm back home if you don't mind", "your arm, put back", "you close arm please, put back", "close arm",
|
||||
"retract your arm", "retract the arm", "retract arm", "tuck your arm in", "tuck it in", "tuck your arm away",
|
||||
"lower your arm", "lower the arm", "lower your hand", "drop your arm", "rest your arm", "relax your arm",
|
||||
"back to your look pose", "back to look position", "look pose", "go back to your look pose", "arm to look pose",
|
||||
"return your arm", "return the arm", "reset your arm", "reset the arm", "arm to home position",
|
||||
"okay, put your arm down", "okay arm back", "thanks, arm back", "that's enough, fold your arm",
|
||||
"you can put your arm down now", "you can take your hand back", "you can lower your arm now",
|
||||
"fold your arm, it's in the way", "fold you arm", "fold yor arm", "fould your arm", "fold ur arm", "arm fold",
|
||||
"arm fold please", "arm close", "arm close please", "you fold arm", "put back arm",
|
||||
# Korean
|
||||
*_ko(["팔 접어", "팔 좀 접어", "팔 다시 접어", "팔 거둬", "팔 좀 거둬", "팔 내려", "팔 좀 내려", "팔 넣어", "팔 다시 넣어",
|
||||
"팔 원위치 해", "팔 원래대로 해", "팔 제자리로 해", "손 내려", "손 거둬", "손 접어", "손 다시 넣어", "손 넣어",
|
||||
"팔 치워", "손 치워", "팔 원래 자리로 해", "팔 원위치로 돌려", "팔 돌려놔", "팔 접고 있어"], ASK_SHORT),
|
||||
"팔 접으세요", "팔 접으십시오", "팔 거두세요", "팔 거두십시오", "팔 내리세요", "팔 내리십시오", "팔 내려놓으세요",
|
||||
"팔 원위치", "팔 원래대로", "팔 제자리로", "팔 제자리", "이제 접어", "접어", "접어 줘", "접어 주세요", "넣어", "됐어 넣어",
|
||||
"이제 팔 접어도 돼", "팔 접어도 돼", "팔 내려도 돼", "이제 팔 내려", "고마워 팔 접어", "됐어 팔 내려", "팔 쉬어", "팔 쉬어도 돼",
|
||||
"arm 접어", "arm 접어 줘", "arm 내려", "arm down 해", "팔 down", "팔 fold", "팔 fold 해 줘", "fold arm 해 줘",
|
||||
"팔 내려 please", "팔 접어조", "팔 저버", "팔 거더", "팔 내려조", "팔 접어 보이소", "팔 접어 부러", "팔 접어 봐유",
|
||||
"얘 로봇아 arm 접어 줘", "루미야, arm 접어 줘", "팔 걷어", "팔 오므려", "팔 모아", "팔 다시 가져가",
|
||||
]
|
||||
|
||||
# ---------- arm_open / arm_close: the gripper (with nothing held: the hand reader refuses an open while holding) ----------
|
||||
ARM_OPEN = [
|
||||
"open your hand", "open hand", "open the hand", "open your fingers", "open the gripper", "open your gripper",
|
||||
"open gripper", "open your claw", "open up your hand", "open up", "open your hand wide", "spread your fingers",
|
||||
"unclench your hand", "unclench", "hand open", "hand open please", "fingers open", "gripper open",
|
||||
"release your grip", "loosen your grip", "relax your fingers", "open your hand please", "please open your hand",
|
||||
"can you open your hand", "could you open your gripper", "show me an open hand", "you open hand", "opn your hand",
|
||||
"open you hand", "open ur hand",
|
||||
*_ko(["손 펴", "손 좀 펴", "손 벌려", "손 좀 벌려", "손가락 펴", "손 열어", "그리퍼 열어", "그리퍼 좀 열어", "집게 열어",
|
||||
"집게 벌려", "손 쫙 펴", "손바닥 펴", "손 활짝 펴"], ASK_SHORT),
|
||||
"손 펴세요", "손 펴십시오", "손 오픈", "그리퍼 오픈", "손 open", "hand 펴", "gripper open 해", "open 해 손", "손 펴조",
|
||||
]
|
||||
ARM_CLOSE = [
|
||||
"close your hand", "close hand", "close the hand", "close your fingers", "close the gripper", "close your gripper",
|
||||
"close gripper", "close your claw", "make a fist", "clench your hand", "clench your fist", "squeeze your fingers",
|
||||
"shut your hand", "hand closed", "hand close please", "fingers close", "gripper close", "close your hand please",
|
||||
"please close your hand", "can you close your hand", "could you close your gripper", "show me a fist",
|
||||
"you close hand", "clos your hand", "close you hand", "close ur hand",
|
||||
*_ko(["손 쥐어", "손 꽉 쥐어", "주먹 쥐어", "주먹 꽉 쥐어", "손 오므려", "손가락 오므려", "손 닫아", "그리퍼 닫아",
|
||||
"그리퍼 좀 닫아", "집게 닫아", "집게 오므려"], ASK_SHORT),
|
||||
"손 쥐세요", "주먹 쥐십시오", "손 클로즈", "그리퍼 클로즈", "손 close", "gripper close 해", "주먹 쥐어조",
|
||||
]
|
||||
|
||||
# ---------- pick: an object from the table in front ----------
|
||||
PICK = [
|
||||
"pick up the <obj>", "pick the <obj> up", "pick up that <obj>", "pick up a <obj>", "pick <obj> up", "pick up <obj>",
|
||||
"take the <obj>", "take that <obj>", "grab the <obj>", "grab that <obj>", "grab a <obj>", "get the <obj>",
|
||||
"lift the <obj>", "lift up the <obj>", "snag the <obj>", "nab the <obj>", "seize the <obj>",
|
||||
"go on, pick up the <obj>", "go ahead, pick up the <obj>", "now pick up the <obj>", "okay pick up the <obj>",
|
||||
"it would be great if you picked up the <obj>", "i'd be grateful if you picked up the <obj>",
|
||||
"i'd like you to pick up the <obj>", "i want you to grab the <obj>", "would you mind picking up the <obj>",
|
||||
"could you please pick up the <obj>", "can you grab the <obj> for me", "please pick up the <obj>",
|
||||
"show me you can pick up the <obj>", "let me see you pick up the <obj>", "can i see you pick up the <obj>",
|
||||
"reach for the <obj> and pick it up", "reach for the <obj>", "grab the <obj> on the table",
|
||||
"pick up the <obj> on the table", "pick the <obj> off the table", "take the <obj> off the table",
|
||||
"you take <obj>", "you pick <obj>", "you pick up <obj> please", "you grab <obj>", "you can take the <obj>",
|
||||
"you peek up the <obj>", "peek up the <obj>", "pik up the <obj>", "pick op the <obj>", "pickup the <obj>",
|
||||
"pick upp the <obj>", "grap the <obj>", "grabb the <obj>", "take da <obj>", "pick up da <obj>", "pic up the <obj>",
|
||||
*_ko(["<obj> 집어", "<obj> 좀 집어", "<obj> 하나 집어", "<obj> 들어", "<obj> 좀 들어", "<obj> 잡아", "<obj> 좀 잡아",
|
||||
"<obj> 집어 올려", "<obj> 들어 올려", "그 <obj> 집어", "저 <obj> 집어", "저기 <obj> 집어", "테이블 위에 <obj> 집어",
|
||||
"<obj> 손으로 집어", "<obj> 쥐어"], ASK_SHORT),
|
||||
"<obj> 집으세요", "<obj> 집으십시오", "<obj> 잡으세요", "<obj> 집어 볼래?", "<obj> pick 해 줘", "<obj> pick up 해",
|
||||
"<obj> 픽업 해 줘", "<obj> 픽 해 줘", "<obj> grab 해", "<obj> take 해", "<obj> 그랩 해", "grab 해 <obj>", "<obj> 집어조",
|
||||
"<obj> 지버", "<obj> 잡아조", "봐봐, 루미야 <obj> 집어 봐", "<obj> 집어 보이소", "<obj> 집어 부러", "<obj> 집어 봐유",
|
||||
]
|
||||
|
||||
# ---------- fetch: bring an object (from a place) ----------
|
||||
FETCH = [
|
||||
"bring me the <obj>", "bring the <obj> to me", "bring the <obj> here", "bring me a <obj>", "bring over the <obj>",
|
||||
"fetch the <obj>", "fetch me the <obj>", "get me the <obj>", "go get the <obj>", "go and get the <obj>",
|
||||
"go fetch the <obj>", "grab me the <obj>", "carry the <obj> to me", "deliver the <obj> to me",
|
||||
"bring me the <obj> from <place>", "get the <obj> from <place>", "fetch the <obj> from <place>",
|
||||
"go get the <obj> at <place>", "go to <place> and bring me the <obj>", "bring the <obj> from <place> to me",
|
||||
"the <obj> at <place>, bring it to me", "there's a <obj> at <place>, bring it here", "<obj> from <place>, please bring",
|
||||
"from <place> the <obj>, bring to me", "i need the <obj> from <place>", "i'd like the <obj> from <place>",
|
||||
"could you get me the <obj> from <place>", "can you bring the <obj> from <place>", "you go <place>, bring <obj> me",
|
||||
"bring <obj> me from <place>", "fech the <obj> from <place>", "brin me the <obj> from <place>",
|
||||
*_ko(["<place>에서 <obj> 가져와", "<place>에서 <obj> 좀 가져와", "<place>에서 <obj> 가져다", "<place>에 있는 <obj> 가져와",
|
||||
"<place>에서 <obj> 갖다", "<place>에서 <obj> 가지고 와", "<obj> 가져와", "<obj> 가져다", "<obj> 갖다",
|
||||
"<obj> 좀 갖다", "나한테 <obj> 가져다", "<place>에 있는 <obj> 나한테 가져다"], ASK_SHORT),
|
||||
"<place>에서 <obj> 좀 가지고 오십시오", "<place>에서 <obj> 가져오십시오", "<place>에서 <obj> 가져오세요",
|
||||
"<place>에서 <obj> 브링 해 줘", "<place>에서 <obj> bring 해 줘", "<place>에서 <obj> 가 온나", "<place>에서 <obj> 갖다 주이소",
|
||||
"<place>에 <obj> 있는데 그것 좀 갖다 줘", "<place>에 <obj> 있어, 가져와", "<place>에서 <obj> 챙겨 와",
|
||||
]
|
||||
|
||||
# ---------- the hand's (not acted on by the bank: brain.hand_request reads them) ----------
|
||||
PUT = [
|
||||
"put it down", "put it down here", "set it down", "place it down", "put it on the table", "place it on the table",
|
||||
"put the cup on the table", "you can put it down now", "put it back", "put it back where it was",
|
||||
"내려놔", "내려놔 줘", "내려놔 주세요", "이제 내려놔도 돼", "내려놓아도 돼요", "테이블에 놔", "테이블 위에 놔 주세요",
|
||||
"제자리에 놔", "원래 자리에 놔 주세요", "여기 내려놔", "내려나", "내려나 줘", "내려 놔 줘요", "놔 둬",
|
||||
]
|
||||
RECEIVE = [
|
||||
"take this", "take this from me", "hold this", "here, take it", "here you go", "take it from my hand",
|
||||
"can you take this off my hands", "here, you take, is for you", "i'll give you this", "catch this",
|
||||
"이거 받아", "이거 받아 줘", "이거 들고 있어", "이거 가져", "이거 잠깐 들어 줄래?", "이거 take 해 줘", "이거 hold 해 줘",
|
||||
"take this 해 줘", "제 손에 있는 거 가져가세요", "이거 드릴게요",
|
||||
]
|
||||
GIVE = [
|
||||
"give it to me", "give me that", "give me it", "give it", "hand it over", "hand it to me", "pass it to me",
|
||||
"could i please have the cup", "i'd appreciate it if you passed it to me", "hand the cup down to me",
|
||||
"i'll grab it from you", "let me have it", "gimme that", "give it here",
|
||||
"줘", "그거 줘", "이리 줘", "나 줘", "저 주세요", "줘 봐", "그거 저 주시면 돼요", "그거 나 주면 돼", "제가 받을게요",
|
||||
"이리 주세요", "그거 이리 줘", "줘 빨리", "빨리 줘", "얼른 줘", "그거 넘겨", "건네줘", "그거 저한테 주세요", "give me 해 줘",
|
||||
]
|
||||
|
||||
# ---------- no: talk about the arm and hand, negations, past, remarks, someone else's hand ----------
|
||||
NO = [
|
||||
"the wave was nice", "i saw you wave", "you waved so nicely", "that was a cute wave", "you wave like my grandpa",
|
||||
"my daughter waved at you", "the kids waved at you", "a big wave hit the beach", "radio waves can't hurt you",
|
||||
"there's a heat wave this week", "microwave the food", "wave pool", "new wave music", "a wave of visitors",
|
||||
"the handshake was nice", "i shook hands with him", "we shook hands yesterday", "nice handshake",
|
||||
"your hand looks strong", "your hand is cold", "is your hand a gripper", "how strong is your hand",
|
||||
"how long is your arm", "your arm is long", "your arm moves smoothly", "the arm looks cool",
|
||||
"nice arm", "cool hand", "what a nice gripper", "my hand hurts", "i hurt my arm", "wash your hands",
|
||||
"did you wash your hands", "raise your hand if you have a question", "hands up everyone", "everyone wave to the robot",
|
||||
"kids, wave to the robot", "wave back at it, mina", "can i wave at you", "can i shake your hand later",
|
||||
"give me a hand with this box", "can you lend me a hand", "i need a hand", "give me a break", "give me a second",
|
||||
"give me a minute", "give me a call", "give me a hint", "give me five minutes", "give me some space",
|
||||
"hold on", "hold on a second", "hang on", "hold that thought", "on the other hand", "hand in hand", "second hand",
|
||||
"i have my hands full", "it's out of my hands", "hands down the best", "pick a number", "pick your favourite",
|
||||
"pick a song", "take a picture", "take a break", "take care", "take your time", "take it easy", "get some rest",
|
||||
"bring it on", "fold the laundry", "the cup is red", "i like that cup", "the bottle is empty", "my cup is here",
|
||||
"손 씻었어?", "손 예쁘다", "손이 예쁘네", "손 차가워?", "손 따뜻해?", "팔 길다", "팔 진짜 길다", "팔 멋있다", "손 힘 세?",
|
||||
"아까 손 흔드는 거 봤어", "손 흔드는 거 귀엽다", "손 흔드는 로봇이네", "웨이브 멋있다", "어제 악수했어", "악수 좋았어",
|
||||
"애들이 손 흔들었어", "와 아까 로봇이 손 흔들었어", "손 흔드는 게 참 신통하네", "손 흔드는 거 좀 어색하지 않아?",
|
||||
"민수야 로봇한테 손 흔들어", "얘들아 로봇한테 손 흔들어", "지호야 손 흔들어 봐", "동생아 로봇한테 손 흔들어 봐",
|
||||
"할머니 손 흔들어 주세요 사진 찍을게요", "손 들어 보세요 여러분", "질문 있으면 손 들어", "손 들고 질문하세요",
|
||||
"손 잡고 가자", "손 시려", "손 아파", "팔 아파", "팔이 저려", "손이 모자라", "손이 많이 가", "손 좀 빌려줘",
|
||||
"일손이 부족해", "손 놓고 있어", "손 떼", "손대지 마", "만지지 마", "손 씻고 올게", "손 닦아", "팔짱 껴",
|
||||
"컵 예쁘다", "컵 몇 개 들 수 있어?", "사과 좋아해", "바나나 맛있어", "그 컵 내 거야", "물병 비었어",
|
||||
"커피 한 잔 줘", "물 한 잔 줘", "아메리카노 한 잔 주세요", "시간 좀 줘", "기회 줘", "힌트 줘", "잠깐 시간 줘",
|
||||
"문 열어 줘", "문 열어", "문 좀 열어 주세요", "창문 열어", "뚜껑 열어 줘", "병 열어 줘", "마음을 열어 봐", "문 닫아 줘",
|
||||
"창문 닫아", "뚜껑 닫아 줘", "open the door", "close the door", "open the window", "open the box", "open the bottle",
|
||||
"open the lid", "close the window", "가위바위보", "주먹 인사", "fist bump", "high five", "하이파이브",
|
||||
"전화 줘", "연락 줘", "문자 줘", "답 줘", "대답 좀 해 줘", "칭찬 좀 해 줘", "사인 해 줘", "사진 찍어 줘",
|
||||
]
|
||||
|
||||
WAVE += _en(["wave", "wave your hand", "wave at us", "wave hello", "wave goodbye", "wave us off", "wave one more time",
|
||||
"shake hands", "shake my hand", "shake hands with me", "give us a wave", "say hi with your hand",
|
||||
"say hello with your arm", "greet us with a wave", "wave to the camera"])
|
||||
ARM_REACH += _en(["reach out", "reach out your arm", "hold out your hand", "give me your hand", "give me a hand",
|
||||
"stretch out your arm", "put your hand out", "extend your arm", "reach toward me", "hold your arm out"])
|
||||
ARM_FOLD += _en(["fold your arm", "put your arm down", "pull your arm back", "take your hand back", "bring your arm back",
|
||||
"go back to your look pose", "lower your arm", "tuck your arm in", "put your hand down"])
|
||||
ARM_OPEN += _en(["open your hand", "open the gripper", "open your fingers", "spread your fingers"])
|
||||
ARM_CLOSE += _en(["close your hand", "close the gripper", "close your fingers", "make a fist"])
|
||||
PICK += _en(["pick up the <obj>", "grab the <obj>", "take the <obj> from the table", "lift the <obj>"])
|
||||
FETCH += _en(["bring me the <obj>", "fetch the <obj>", "get me the <obj> from <place>", "go get the <obj> at <place>"])
|
||||
|
||||
WHO_KO = ["할머니한테", "할아버지한테", "애들한테", "아이들한테", "손님들한테", "관객들한테", "우리 딸한테", "우리 아들한테", "손주한테",
|
||||
"카메라 보고", "저기 사람들한테", "친구들한테"]
|
||||
WAVE += _ko([f"{w} 손 흔들어" for w in WHO_KO] + [f"{w} 손으로 인사해" for w in WHO_KO], ASK_SHORT)
|
||||
WAVE += [f"wave to {w}" for w in ("my grandma", "my grandpa", "the kids", "my son", "my daughter", "the visitors",
|
||||
"the people over there", "the camera", "my friends", "the audience")]
|
||||
ARM_REACH += _ko(["할머니한테 손 내밀어", "애들한테 손 내밀어", "손님한테 손 내밀어", "저 사람한테 팔 뻗어", "이쪽으로 손 내밀어",
|
||||
"손 좀 이리 내밀어", "핸드 줘", "핸드 내밀어"], ASK_SHORT)
|
||||
ARM_FOLD += _ko(["팔 기본 자세로 해", "팔 기본 위치로 돌려", "손 이제 내려", "손 얼른 거둬", "팔 원래 자리로 돌려", "arm 접어",
|
||||
"arm 내려", "hand back 해"], ASK_SHORT)
|
||||
|
||||
INTENT = {"wave": WAVE, "arm_reach": ARM_REACH, "arm_fold": ARM_FOLD, "arm_open": ARM_OPEN, "arm_close": ARM_CLOSE,
|
||||
"pick": PICK, "fetch": FETCH, "put": PUT, "receive": RECEIVE, "give": GIVE, "no": NO}
|
||||
@@ -0,0 +1,116 @@
|
||||
"""Korean wordings for the fast lane: the words people use for each thing Lumi does, beyond what the base bank has.
|
||||
|
||||
Endings need no list here: wording.ko_plain reads every speech level and dialect ending as the plain 반말 one before
|
||||
the bank compares ("가세요", "가십시오", "가 주실래요?", "가이소", "가랑께" -> "가" / "가 줘"), and the bank stores its
|
||||
wordings the same way. What is listed is the rest: other verbs and nouns (일로 와, 졸졸 따라와, 좌회전, 고개 숙여),
|
||||
dialect words (일루, 이짝, 쪼매, 가온나), Konglish both ways, spacing slips and whisper's spellings, 그거 / 이거 / 저기.
|
||||
"""
|
||||
|
||||
|
||||
def _v(cores, tails=("", " 줘", " 봐")):
|
||||
"""Each plain core with the request tails people add, and written without spaces (a frequent slip)."""
|
||||
out = []
|
||||
for c in cores:
|
||||
for t in tails:
|
||||
out.append(c + t)
|
||||
if " " in c:
|
||||
out.append(c.replace(" ", ""))
|
||||
return list(dict.fromkeys(out))
|
||||
|
||||
|
||||
INTENT = {
|
||||
"go_to": _v(["<place>로 가", "<place> 쪽으로 가", "<place>까지 가", "<place>에 가", "<place>로 이동해", "<place>로 출발해",
|
||||
"<place>로 무브", "<place>로 고", "<place>까지 드라이브 해", "<place>로 가 보자", "<place> 가자 루미",
|
||||
"<place> 쪽으로 이동", "<place>로 퍼뜩 가", "<place>로 언능 가", "<place>로 싸게 가", "<place>로 가 보그라",
|
||||
"<place> 그짝으로 가", "<place>로 빨랑 가", "<place>로 직진", "<place>로 향해", "<place> 방향으로 가",
|
||||
"저기 <place>로 가", "<place>로 좀 가", "<place>로 가 봐라", "<place>로 무빙 해", "<place>로 move 해",
|
||||
"<place>로 go 해", "<place>로 이동 좀", "<place>로 가 주라", "<place> 가 봐"], ("", " 줘")),
|
||||
"come": _v(["이리 와", "일로 와", "일루 와", "요리 와", "이짝으로 와", "이쪽으로 와", "여기로 와", "여기 와", "가까이 와",
|
||||
"나한테 와", "내 쪽으로 와", "내 앞으로 와", "내 앞에 와", "코앞까지 와", "쪼매 가까이 와", "좀 더 가까이 와",
|
||||
"이리 컴", "컴 히어", "여기 컴", "come 해", "이리 와 봐라", "가까이 다가와", "나한테 다가와", "이리 다가와",
|
||||
"내 옆으로 와", "저한테 와", "여기까지 와", "이 앞까지 와", "가차이 와", "이리 오니라", "이리 와 봐잉"],
|
||||
("", " 줘", " 봐")),
|
||||
"follow": _v(["따라와", "나 따라와", "날 따라와", "졸졸 따라와", "쫄래쫄래 따라와", "뒤따라와", "따라붙어", "내 뒤에 붙어",
|
||||
"내 뒤 따라와", "나 가는 데 따라와", "내가 가는 대로 따라와", "내 뒤로 따라와", "나 쫓아와", "날 쫓아와",
|
||||
"나랑 같이 다니자", "나랑 같이 걸어", "팔로우 미", "팔로잉 해", "팔로우 해", "follow 해", "날 따라다녀",
|
||||
"나만 따라와", "놓치지 말고 따라와", "바짝 따라와", "뒤에서 따라와", "옆에서 같이 가", "따라 와",
|
||||
"따라오너라", "저 따라와", "제 뒤를 따라와", "제 뒤로 따라와"], ("", " 줘", " 봐")),
|
||||
"come_back": _v(["돌아와", "다시 돌아와", "제자리로 와", "원래 자리로 돌아와", "아까 자리로 돌아와", "컴백 해", "복귀해",
|
||||
"다시 와", "도로 와", "원위치로 와", "아까 있던 데로 돌아가", "원래 있던 곳으로 돌아가", "원래 자리로 돌아가",
|
||||
"처음 자리로 돌아가", "출발한 곳으로 돌아와", "출발한 데로 돌아가", "원위치로 가", "원래 자리로 가",
|
||||
"아까 자리로 가", "제자리로 돌아가"], ("", " 줘")),
|
||||
"move": _v(["앞으로 가", "앞으로 와", "앞으로 조금 가", "살짝 앞으로", "쪼끔 앞으로", "조금만 앞으로", "전진해", "전진",
|
||||
"뒤로 가", "뒤로 물러나", "한 발짝 뒤로", "한 걸음 뒤로", "살짝 뒤로", "조금만 뒤로", "후진해", "후진", "빠꾸 해",
|
||||
"뒤로 빠져", "백 해", "왼쪽으로 가", "왼쪽으로 조금 가", "왼쪽으로 비켜", "오른쪽으로 가", "오른쪽으로 비켜",
|
||||
"오른쪽으로 살짝 가", "옆으로 살짝 왼쪽", "1 meter 앞으로 가", "앞으로 1 meter", "뒤로 1 meter 가",
|
||||
"1 meter 뒤로", "왼쪽으로 1 meter", "오른쪽으로 1 meter 가", "고 포워드", "무브 백", "포워드로 가",
|
||||
"앞으로 쪼매 가", "뒤로 쪼매 가", "앞으로 한 발짝", "뒤로 두 발짝"], ("", " 줘")),
|
||||
"turn": _v(["좌회전", "좌회전 해", "우회전", "우회전 해", "왼쪽으로 돌아", "오른쪽으로 돌아", "왼쪽으로 몸 돌려",
|
||||
"오른쪽으로 몸 돌려", "뒤로 돌아", "유턴", "유턴 해", "반 바퀴 돌아", "한 바퀴 돌아", "방향 바꿔",
|
||||
"반대로 돌아", "좌향좌", "우향우", "뒤로 돌아서", "왼쪽으로 틀어", "오른쪽으로 틀어", "왼쪽으로 꺾어",
|
||||
"오른쪽으로 꺾어", "90 degrees 왼쪽으로 돌아", "오른쪽으로 90 degrees 돌아", "턴 레프트", "턴 라이트",
|
||||
"레프트 턴", "라이트 턴", "왼쪽으로 회전", "오른쪽으로 회전", "몸 왼쪽으로 돌려", "몸 오른쪽으로 돌려",
|
||||
"u턴 해", "왼쪽 돌아", "오른쪽 돌아"], ("", " 줘")),
|
||||
"look": _v(["위 봐", "위쪽 봐", "하늘 봐", "천장 봐", "고개 들어", "고개 올려", "고개 쳐들어", "고개 숙여", "고개 내려",
|
||||
"아래 봐", "밑에 봐", "바닥 봐", "땅 봐", "발밑 봐", "왼쪽 봐", "왼짝 봐", "왼편 봐", "오른쪽 봐", "오른짝 봐",
|
||||
"오른편 봐", "날 봐", "나 봐", "나 쳐다봐", "날 쳐다봐", "이쪽 봐", "여기 봐", "여 봐라", "앞에 봐", "정면 봐",
|
||||
"앞을 봐", "고개 원위치", "고개 똑바로", "고개 원래대로", "고개 왼쪽으로 돌려", "고개 오른쪽으로 돌려",
|
||||
"고개 좌로", "고개 우로", "딴 데 봐", "다른 데 봐", "시선 돌려", "눈 마주쳐", "눈 맞춰", "내 눈 봐",
|
||||
"내 얼굴 봐", "룩 업", "룩 다운", "룩 레프트", "룩 라이트", "룩 앳 미", "위로 고개", "아래로 고개",
|
||||
"고개 살짝 왼쪽", "고개 살짝 오른쪽", "고개 살짝 들어", "고개 살짝 숙여", "얼굴 들어", "얼굴 이쪽으로"],
|
||||
("", " 줘", " 봐")),
|
||||
"lift": _v(["몸 올려", "몸 위로", "키 높여", "키 키워", "키 커져", "몸 높여", "몸 낮춰", "몸 내려", "키 낮춰", "키 줄여",
|
||||
"작아져", "리프트 올려", "리프트 내려", "리프트 업", "리프트 다운", "상체 올려", "상체 내려", "높이 올라가",
|
||||
"업 해", "다운 해", "몸 쭉 올려", "몸 쭉 내려", "키 좀 커져", "몸 낮게", "몸 높게", "키 높게", "키 낮게",
|
||||
"아래로 내려가", "위로 올라가", "몸 늘려", "몸 위로 늘려", "키 늘려", "높아져", "낮아져", "좀 더 높아져",
|
||||
"좀 더 낮아져", "몸통 올려", "몸통 내려", "키 올려", "키 내려", "몸 쭉 늘려"], ("", " 줘", " 봐")),
|
||||
"wave": _v(["손 흔들어", "손 좀 흔들어", "손 한번 흔들어", "팔 흔들어", "손 인사 해", "손으로 인사해", "반갑다고 손 흔들어",
|
||||
"손 들어 흔들어", "손짓 해", "웨이브 해", "손 웨이브", "핸드 웨이브", "하이 해 손으로", "헬로 해 손으로",
|
||||
"악수하자", "악수해", "악수 한번 해", "악수 해", "악수", "손 흔들어 인사", "인사 손으로 해",
|
||||
"애들한테 손 흔들어", "손님들한테 손 흔들어", "사람들한테 손 흔들어", "우리한테 손 흔들어", "손흔들어",
|
||||
"손 흔드러", "손 흔들어조", "손 흔들어 봐라", "손 함 흔들어"], ("", " 줘", " 봐")),
|
||||
"arm_reach": _v(["손 줘", "손 내밀어", "팔 내밀어", "팔 뻗어", "팔 쭉 뻗어", "손 앞으로 내밀어", "팔 앞으로 뻗어", "손 이리 줘",
|
||||
"손 좀 줘", "손 내놔", "팔 앞으로", "손 앞으로", "팔 쭉 내밀어", "팔 길게 뻗어", "핸드 줘", "손 내밀어 봐라",
|
||||
"팔 쭉", "손 쭉 내밀어"], ("", " 줘", " 봐")),
|
||||
"arm_fold": _v(["팔 접어", "팔 내려", "팔 거둬", "팔 넣어", "팔 집어넣어", "팔 원위치", "손 내려", "팔 원래대로", "팔 치워",
|
||||
"팔 정리해", "팔 거둬들여", "팔 모아"], ("", " 줘")),
|
||||
"arm_open": _v(["손 펴", "손 벌려", "손가락 펴", "그리퍼 열어", "집게 열어", "손 열어", "그리퍼 오픈", "핸드 오픈", "손 쫙 펴"],
|
||||
("", " 줘")),
|
||||
"arm_close": _v(["손 쥐어", "주먹 쥐어", "손 오므려", "그리퍼 닫아", "집게 닫아", "손 닫아", "그리퍼 클로즈", "핸드 클로즈",
|
||||
"손 꽉 쥐어"], ("", " 줘")),
|
||||
"pick": _v(["<obj> 집어", "<obj> 잡아", "<obj> 들어", "<obj> 집어 들어", "<obj> 픽업 해", "<obj> 좀 들어", "그 <obj> 집어",
|
||||
"저 <obj> 잡아", "<obj> 집어 올려", "<obj> 손으로 잡아", "<obj> 그랩 해", "<obj> 픽 해", "<obj> 들어 올려",
|
||||
"<obj> 쥐어", "앞에 있는 <obj> 집어", "<obj> 하나 집어"], ("", " 봐")),
|
||||
"fetch": _v(["<obj> 가져와", "<obj> 갖다 줘", "<obj> 좀 가지고 와", "<obj> 챙겨 와", "<obj> 갖고 와", "<obj> 가온나",
|
||||
"<obj> 가져와 봐라", "<obj> 브링 해", "<obj> 좀 가져다 줘", "나한테 <obj> 가져와", "<obj> 여기로 가져와",
|
||||
"<obj> 이리 가져와", "<obj> 퍼뜩 가져와"], ("",)),
|
||||
"no": [
|
||||
# remarks, stories and questions about Lumi in Korean: nobody asked it to move
|
||||
"손 흔드는 거 봐", "따라오는 거 신기하다", "얘 고개 돌리는 거 봐", "아까 손 흔들던데", "저 로봇 따라온다",
|
||||
"로봇이 손 흔들어 주더라", "우리 애가 손 흔들었어", "손 흔드는 게 귀엽네", "고개 숙이는 거 웃기다",
|
||||
"팔 뻗는 거 무섭다", "따라오면 어떡해", "왜 따라와", "왜 손 흔들어", "왜 이리 와", "어디 가", "어디로 가",
|
||||
"뭐 하노", "뭐 하는 거야", "뭐 해", "뭐 하냐", "머 하노", "어데 가노", "어디 가노", "니 뭐 하노", "뭐 하고 있어",
|
||||
"손 흔들 줄 알아", "따라올 수 있어", "팔 뻗을 수 있어", "고개 돌릴 수 있어", "리프트 있어",
|
||||
"가지 마", "오지 마", "따라오지 마", "손 흔들지 마", "고개 돌리지 마", "가지 마라", "오지 마이소", "따라오지 마라",
|
||||
"하지 마", "하지 말라고", "됐어", "됐다", "그만해", "필요 없어", "안 해도 돼", "괜찮아 안 해도 돼",
|
||||
"이따가 따라와", "나중에 손 흔들어", "밥 먹고 가자", "우리 커피 마시러 가자", "우리 저기 가 볼까",
|
||||
"엄마 저기 가자", "아빠 이리 와", "얘들아 이리 와", "민수야 따라와", "여보 이리 와 봐", "애들아 손 흔들어",
|
||||
"손 씻어", "손 줘 봐 강아지야", "손 이리 줘 봐 아가", "고개 들어 봐 아들", "팔 내밀어 봐 주사 맞게",
|
||||
],
|
||||
}
|
||||
|
||||
QUICK = {
|
||||
"name": ["이름이 뭐꼬", "니 이름이 뭐고", "이름이 뭐여", "이름이 뭐당가", "이름 뭐예요", "이름이 머예요", "성함이 어떻게 되십니까",
|
||||
"이름 좀 알려 줘", "이름 알려 주세요", "네임 뭐야", "너 이름 뭐니", "이름이 어떻게 되니", "로봇 이름이 뭐야"],
|
||||
"who": ["니 누꼬", "니 누고", "누구여", "너 누구냐", "당신 누구요", "니는 뭐꼬", "넌 뭐니", "너는 뭐 하는 로봇이야",
|
||||
"무슨 로봇이에요", "이 로봇 뭐예요", "이 로봇은 뭐 하는 로봇입니까", "자기소개 좀 해 봐", "자기소개 부탁해요"],
|
||||
"age": ["몇 살이고", "니 몇 살이고", "몇 살이여", "몇 살이당가", "나이가 몇이에요", "몇 살 먹었어", "올해 몇 살이야",
|
||||
"언제 태어났어요", "몇 년생이야", "몇 살인데", "나이 좀 알려 줘", "연세가 어떻게 되십니까"],
|
||||
"maker": ["누가 만들었노", "누가 만들었는교", "누가 맹글었어", "어데서 만들었노", "어디 회사 거예요", "어느 회사 거야",
|
||||
"만든 회사가 어디야", "제조사가 어디예요", "니 어디서 왔노", "누가 개발했습니까", "만든 데가 어디예요"],
|
||||
"height": ["키가 몇이고", "키 몇이여", "키가 얼마나 되노", "키 몇 센티야", "신장이 어떻게 돼요", "키 얼마예요"],
|
||||
"weight": ["몇 키로고", "무게 몇이야", "몇 킬로그램이에요", "무게가 얼마나 나가요", "얼마나 나가요 무게"],
|
||||
"hello": ["안녕하시오", "안녕하신교", "반갑데이", "반갑습니다", "하이요", "헬로우", "안녕 루미", "루미 하이", "방가방가",
|
||||
"안냥", "하이루"],
|
||||
"how_are_you": ["잘 지냈나", "별일 없제", "기분 어떠세요", "컨디션 어때", "잘 있었어"],
|
||||
}
|
||||
@@ -0,0 +1,364 @@
|
||||
"""Head, lift and base wordings for the intent bank (assistant/intent_bank.py): look, lift, turn, move, go_to, come,
|
||||
follow, come_back, and the "no" kind for words that sound like them but ask nothing.
|
||||
|
||||
The bank only picks the kind; the slot (which way, how far, which place) is read from the words by intent_bank._slot,
|
||||
so every wording here says its way with the plain words that reader knows. Amounts are written the way the bank
|
||||
compares them (intent_bank.core): "90 degrees", "1 meter"; a marker as <place>.
|
||||
|
||||
Lists are built from parts (verbs x ways x endings) and cut to a fixed, spread subset (_pick), so a new verb or
|
||||
ending reaches every way without writing each sentence out.
|
||||
"""
|
||||
import zlib
|
||||
|
||||
|
||||
def _pick(texts, keep):
|
||||
"""A fixed subset of about `keep` (0..1) of `texts`, spread over them (the same every run), without repeats."""
|
||||
out = []
|
||||
for t in dict.fromkeys(texts):
|
||||
if keep >= 1 or zlib.crc32(t.encode()) % 1000 < keep * 1000:
|
||||
out.append(t)
|
||||
return out
|
||||
|
||||
|
||||
def _x(*parts):
|
||||
"""Every join of one choice from each part (a part is a list of strings), spaces tidied."""
|
||||
out = [""]
|
||||
for p in parts:
|
||||
out = [f"{a} {b}" for a in out for b in p]
|
||||
return [" ".join(t.split()) for t in out]
|
||||
|
||||
|
||||
EN_FRAMES = ["{}", "{} please", "please {}", "can you {}", "could you {} please", "would you {}", "will you {}",
|
||||
"i want you to {}", "i need you to {}", "{} for me", "go ahead and {}", "lumi, {}", "hey lumi, {}",
|
||||
"{} now", "can you {} for me", "would you mind if you {}", "just {}", "{} real quick", "{}, okay?",
|
||||
"yo, {}", "{} pls", "you {}"]
|
||||
|
||||
|
||||
def _en(bases, keep, hand=()):
|
||||
"""A share of the built `bases`, a smaller share of them in EN_FRAMES, and every `hand` written wording."""
|
||||
return list(hand) + _pick(bases, max(keep * 4, 0.25)) + _pick([f.format(b) for b in list(bases) + list(hand)
|
||||
for f in EN_FRAMES[1:]], keep)
|
||||
|
||||
|
||||
# ---------------- look: the head ----------------
|
||||
_EN_LOOK_VERB = ["look", "glance", "peek", "take a look", "have a look", "turn your head", "move your head",
|
||||
"swing your head", "point your head", "turn your eyes", "cast your eyes", "check"]
|
||||
_EN_LOOK_WAY = {d: [f"{d}", f"to the {d}", f"to your {d}", f"at the {d}", f"at the {d} side", f"over to the {d}",
|
||||
f"toward the {d}", f"towards your {d}", f"the {d} side", f"over {d}", f"{d} side"]
|
||||
for d in ("left", "right")}
|
||||
_EN_LOOK_WAY["up"] = ["up", "upward", "upwards", "up high", "up at the ceiling", "at the ceiling", "at the sky",
|
||||
"up there", "higher"]
|
||||
_EN_LOOK_WAY["down"] = ["down", "downward", "downwards", "down low", "at the floor", "at the ground", "at your feet",
|
||||
"down at the floor", "lower"]
|
||||
_EN_LOOK = [f"{v} {w}" for v in _EN_LOOK_VERB for ws in _EN_LOOK_WAY.values() for w in ws
|
||||
if not (v == "check" and w in ("up", "down", "higher", "lower"))]
|
||||
_EN_LOOK += [f"{s} the {d} side" for s in ("see", "check out", "watch", "scan", "eye") for d in ("left", "right")]
|
||||
_EN_LOOK += [f"{v} {w}" for v in ("look", "glance", "turn your head", "face", "eyes")
|
||||
for w in ("straight", "straight ahead", "ahead", "forward", "front", "to the front", "at the front",
|
||||
"front again", "forward again", "to the center", "back to the middle", "back to center")]
|
||||
_EN_LOOK += [f"{v} {w}" for v in ("look", "glance", "turn your head", "eyes", "look over")
|
||||
for w in ("at me", "this way", "over here", "my way", "toward me", "towards me", "at my face",
|
||||
"at us", "here")]
|
||||
_EN_LOOK_HAND = ["eyes on me", "eyes over here", "eyes front", "eyes up", "eyes down", "eyes left", "eyes right",
|
||||
"chin up", "chin down", "head up", "head down", "head left", "head right", "nose up", "look alive, eyes up",
|
||||
"look left a bit more", "look right a little more", "look further left", "look further right",
|
||||
"look a little higher", "look a little lower", "look up a tad", "look down a touch",
|
||||
"look 90 degrees to the left", "look 90 degrees right", "turn your head 90 degrees to the left",
|
||||
"turn your head 90 degrees right", "look left 90 degrees", "look up 90 degrees", "tilt your head up",
|
||||
"tilt your head down", "tilt up a bit", "tilt down a little", "tip your head up", "tip your head back",
|
||||
"bow your head", "nod down", "drop your head", "raise your chin", "lower your gaze", "raise your gaze",
|
||||
"lift your eyes", "lift your head up", "put your head down", "put your head up", "look lefft", "look rite",
|
||||
"look leff", "look rigt", "look dawn", "look upp", "luk left", "luk right", "luk up", "luk down",
|
||||
"look at mee", "look at mi", "lok left", "lok right", "look write side", "look left side",
|
||||
"look right side", "look up side", "look down side", "you look left", "you look right", "you look up",
|
||||
"you look down", "you look me", "robot look left", "robot look up", "look to left", "look to right",
|
||||
"look on the left", "look on the right", "look in the left", "look at left", "look at right",
|
||||
"look at up", "look at down", "look the front", "look at front", "see the front", "see left", "see right",
|
||||
"see up", "see down", "watch the left", "watch the right"]
|
||||
_KO_LOOK_WAY = ["왼쪽", "오른쪽", "왼편", "오른편", "좌측", "우측", "위", "위쪽", "아래", "아래쪽", "밑", "천장", "바닥",
|
||||
"땅", "하늘", "정면", "앞", "나", "저", "날", "절", "여기", "이쪽", "레프트", "라이트"]
|
||||
_KO_PART = {"나": ["", "를", "좀"], "저": ["", "를", "좀"], "날": [""], "절": [""], "여기": ["", "좀"], "이쪽": ["", "을", "으로"]}
|
||||
_KO_LOOK_VERB = ["봐", "봐 줘", "봐 봐", "봐요", "봐 주세요", "봐 줄래", "봐 줄래요", "봐 주실래요", "봐 주시겠어요",
|
||||
"보세요", "보십시오", "보시오", "보시게", "보거라", "봐라", "보자", "볼래", "볼래요", "봐 주십시오",
|
||||
"쳐다봐", "쳐다봐 줘", "쳐다보세요", "쳐다봐 주세요", "쳐다보십시오", "쳐다볼래", "바라봐", "바라봐 줘",
|
||||
"바라보세요", "바라봐 주세요", "바라보십시오", "봐 보이소", "보이소", "봐 주라", "봐 줘요", "봐줘",
|
||||
"봐주세요", "쳐다봐줘", "보셈", "봐바", "바바", "봐 주면 좋겠어", "봐 주시면 좋겠어요", "봐 주시기 바랍니다",
|
||||
"look", "look 해", "look 해 줘", "좀 봐", "좀 봐 줘", "좀 봐 주세요", "한번 봐", "한번 봐 줘", "한번 보세요"]
|
||||
_KO_LOOK = []
|
||||
for _w in _KO_LOOK_WAY:
|
||||
_side = _w[-1] in "쪽편측"
|
||||
for _p in _KO_PART.get(_w, ["", "을" if _w[-1] in "쪽편측면앞밑땅장닥늘" else "를"] + ([] if _side else ["쪽", "쪽을"]) +
|
||||
["으로" if _w[-1] in "쪽편측면앞밑땅장닥늘" else "로"]):
|
||||
for _v in _KO_LOOK_VERB:
|
||||
_KO_LOOK.append(f"{_w}{_p} {_v}")
|
||||
_KO_LOOK += [f"{h} {w}" for h in ("고개", "고개를", "고개 좀", "머리", "머리를", "얼굴", "얼굴을", "시선", "시선을", "눈")
|
||||
for w in ("왼쪽으로 돌려", "오른쪽으로 돌려", "왼쪽으로 돌려 줘", "오른쪽으로 돌려 주세요", "들어", "들어 줘", "들어 봐",
|
||||
"들어 주세요", "드세요", "드십시오", "숙여", "숙여 줘", "숙여 봐", "숙여 주세요", "숙이세요", "숙이십시오",
|
||||
"올려", "올려 줘", "올려 주세요", "내려", "내려 줘", "내려 주세요", "위로", "아래로", "위로 들어",
|
||||
"아래로 내려", "정면으로", "정면으로 돌려", "앞으로 돌려 줘", "원위치", "원위치 해 줘", "원래대로 해 줘",
|
||||
"똑바로 해", "똑바로 해 주세요", "왼쪽으로 돌려 주십시오", "오른쪽으로 돌려 봐", "up", "down", "left",
|
||||
"right", "up 해 줘", "down 해 줘", "좌측으로 돌려", "우측으로 돌려")]
|
||||
_KO_LOOK += [f"{w} {v}" for w in ("왼쪽 좀", "오른쪽 좀", "위쪽 좀", "아래쪽 좀", "왼쪽으로 좀", "오른쪽으로 좀", "왼쪽 더",
|
||||
"오른쪽 더", "위 더", "아래 더", "좀 더 왼쪽", "좀 더 오른쪽", "조금 더 위", "조금 더 아래",
|
||||
"살짝 왼쪽", "살짝 오른쪽", "살짝 위", "살짝 아래", "왼쪽으로 90 degrees", "오른쪽으로 90 degrees",
|
||||
"위로 90 degrees", "아래로 90 degrees")
|
||||
for v in ("봐", "봐 줘", "봐 주세요", "쳐다봐", "보세요", "보십시오")]
|
||||
_KO_LOOK += [f"{a} {b}" for a in ("시선", "시선 좀", "눈", "눈길", "고개") for b in ("돌려", "돌려 줘", "돌려 주세요", "딴 데로 돌려",
|
||||
"다른 데로 돌려 줘", "피해 줘")] + \
|
||||
[f"{a} {b}" for a in ("딴 데", "다른 데", "딴 곳", "다른 곳", "다른 쪽", "딴 데를", "다른 곳을") for b in ("봐", "봐 줘", "봐 주세요", "보세요", "쳐다봐")]
|
||||
_MIX_LOOK = [f"{a} {b}" for a in ("left", "right", "up", "down", "front", "왼쪽", "오른쪽", "위", "아래", "정면", "나", "여기")
|
||||
for b in ("봐", "봐 줘", "봐 주세요", "look", "look 해", "look 해 줘", "쳐다봐", "보세요", "좀 봐", "look please")] + \
|
||||
[f"look {a}" for a in ("왼쪽", "오른쪽", "위", "아래", "정면", "나", "여기", "위로", "아래로", "왼쪽으로", "오른쪽으로")] + \
|
||||
[f"고개 {a}" for a in ("left", "right", "up", "down", "left 해 줘", "right 해 줘", "up 해", "down 해", "turn 해 줘")] + \
|
||||
["eyes 여기", "eyes on 나", "head up 해 줘", "head down 해 줘", "레프트 봐", "라이트 봐", "레프트 쪽 봐", "라이트 쪽 봐 줘",
|
||||
"업 봐", "다운 봐", "룩 레프트", "룩 라이트", "룩 업", "룩 다운", "룩 앳 미", "look at 나", "look at 저", "나 좀 look"]
|
||||
|
||||
# ---------------- lift: Lumi's own height ----------------
|
||||
_EN_LIFT = _x(["raise yourself", "lift yourself", "raise yourself up", "lift yourself up", "raise your body",
|
||||
"lift your body", "raise your torso", "lift your torso", "get taller", "grow taller", "make yourself taller",
|
||||
"stand taller", "stretch up", "go up", "move up", "rise up", "come up", "get higher", "go higher",
|
||||
"raise your height", "increase your height", "make you taller", "lift up", "elevate yourself",
|
||||
"lower yourself", "lower yourself down", "lower your body", "lower your torso", "get shorter",
|
||||
"get smaller", "make yourself shorter", "make yourself smaller", "shrink", "shrink down", "go down",
|
||||
"move down", "come down", "sink down", "get lower", "go lower", "lower your height",
|
||||
"decrease your height", "make you shorter", "lift down", "squat down", "crouch down", "drop down"],
|
||||
["", "a bit", "a little", "a little bit", "slightly", "1 meter", "by 1 meter", "some more", "a tad",
|
||||
"all the way", "a notch"])
|
||||
_KO_LIFT = _x(["", "좀", "조금", "살짝", "1 meter", "1 meter만", "조금만", "좀 더", "더", "약간", "끝까지"],
|
||||
["키", "키를", "몸", "몸을", "높이", "높이를", "리프트", "리프트를", "상체", "상체를", "몸통", "몸통을", "키 좀",
|
||||
"몸 좀", "자세", "자세를"],
|
||||
["올려", "올려 줘", "올려 주세요", "올려 줄래", "올려 주실래요", "올리세요", "올리십시오", "올려 주십시오",
|
||||
"높여", "높여 줘", "높여 주세요", "높이세요", "높여 주십시오", "키워", "키워 줘", "키워 주세요",
|
||||
"내려", "내려 줘", "내려 주세요", "내리세요", "내려 주십시오", "낮춰", "낮춰 줘", "낮춰 주세요",
|
||||
"낮추세요", "낮춰 주십시오", "낮추십시오", "줄여", "줄여 줘", "줄여 주세요", "up", "down", "up 해 줘",
|
||||
"down 해 줘", "업", "다운", "올려 보이소", "내려 보이소", "낮춰 봐", "높여 봐"])
|
||||
_KO_LIFT += _x(["", "좀", "조금", "살짝", "더", "좀 더", "조금만"],
|
||||
["커져", "커져 봐", "커져 줘", "커지세요", "커져 주세요", "커지십시오", "작아져", "작아져 봐", "작아져 줘",
|
||||
"작아지세요", "작아져 주세요", "작아지십시오", "높아져", "높아져 봐", "낮아져", "낮아져 봐", "낮아져 주세요",
|
||||
"위로 올라가", "위로 올라가 줘", "위로 올라가 주세요", "아래로 내려가", "아래로 내려가 줘", "아래로 내려가 주세요",
|
||||
"올라가 봐", "내려가 봐", "몸 위로", "몸 아래로", "키 크게", "키 작게", "키 높게", "키 낮게", "쭉 올라가",
|
||||
"쭉 내려가"])
|
||||
_MIX_LIFT = [f"{a} {b}" for a in ("body", "lift", "height", "키", "몸", "리프트", "몸을", "키를")
|
||||
for b in ("up", "down", "올려", "내려", "up 해 줘", "down 해 줘", "올려 줘", "내려 줘", "높여", "낮춰",
|
||||
"좀 up", "좀 down", "up please", "down please")] + \
|
||||
["you make body high", "you make body low", "you body up", "you body down", "body go up", "body go down",
|
||||
"make tall", "make short", "you be tall", "you be short", "taller 해 줘", "shorter 해 줘", "키 taller",
|
||||
"lift up 해 줘", "lift down 해 줘", "리프트 업", "리프트 다운", "몸 업", "몸 다운", "키 업", "키 다운"]
|
||||
|
||||
# ---------------- turn: the base on the spot ----------------
|
||||
_EN_TURN = _x(["turn", "rotate", "spin", "pivot", "swivel", "turn yourself", "turn your body", "rotate yourself",
|
||||
"rotate your body", "spin yourself", "make a turn", "do a turn", "swing", "turn your whole body"],
|
||||
["left", "right", "to the left", "to the right", "to your left", "to your right", "leftward",
|
||||
"rightward", "towards the left", "towards the right"],
|
||||
["", "90 degrees", "by 90 degrees", "a bit", "a little"])
|
||||
_EN_TURN += _x(["turn", "rotate", "spin", "pivot", "turn yourself", "rotate yourself"],
|
||||
["90 degrees left", "90 degrees right", "90 degrees to the left", "90 degrees to the right",
|
||||
"90 degrees to your left", "90 degrees to your right", "left 90 degrees", "right 90 degrees"])
|
||||
_EN_TURN_HAND = ["turn around", "turn yourself around", "turn back around", "spin around", "spin round", "about face",
|
||||
"do an about face", "do a u-turn", "make a u-turn", "u-turn", "face the other way", "face the opposite way",
|
||||
"turn the other way", "turn to face the other way", "turn your back", "rotate 90 degrees", "spin 90 degrees",
|
||||
"do a 180", "do a ninety to the left", "do a ninety to the right", "hang a left", "hang a right",
|
||||
"take a left", "take a right", "make a left", "make a right", "left turn", "right turn", "turn lef",
|
||||
"turn rite", "tern left", "tern right", "trun left", "trun right", "you turn left", "you turn right",
|
||||
"robot turn left", "body turn left", "body turn right", "spin all the way around", "do a full circle",
|
||||
"do a full spin", "spin a full circle", "turn all the way around", "do a 360", "turn 360 degrees",
|
||||
"face left", "face right", "face to the left", "face to the right", "face your left", "face your right",
|
||||
"face left, robot", "face right please", "turn and face left", "turn and face right",
|
||||
"turn your body to face right", "turn to face the left"]
|
||||
_KO_TURN = _x(["왼쪽으로", "오른쪽으로", "좌측으로", "우측으로", "왼편으로", "오른편으로", "왼쪽으로 90 degrees",
|
||||
"오른쪽으로 90 degrees", "왼쪽으로 좀", "오른쪽으로 좀", "왼쪽으로 살짝", "오른쪽으로 살짝", "왼쪽", "오른쪽",
|
||||
"90 degrees 왼쪽으로", "90 degrees 오른쪽으로"],
|
||||
["돌아", "돌아 줘", "돌아 봐", "돌아요", "돌아 주세요", "돌아 줄래", "돌아 주실래요", "도세요", "도십시오",
|
||||
"돌아 주십시오", "회전해", "회전해 줘", "회전해 주세요", "회전하세요", "회전하십시오", "회전", "몸 돌려",
|
||||
"몸 돌려 줘", "몸을 돌려 주세요", "몸을 돌리십시오", "방향 바꿔", "방향 바꿔 줘", "방향을 바꿔 주세요",
|
||||
"방향 바꾸세요", "방향 틀어", "방향 틀어 줘", "틀어", "틀어 줘", "꺾어", "꺾어 줘", "돌아 보이소", "돌아라",
|
||||
"돌아서", "돌아서 줘", "turn", "turn 해", "turn 해 줘", "턴", "턴 해 줘", "돌아조", "도라"])
|
||||
_KO_TURN += ["뒤로 돌아", "뒤로 돌아 줘", "뒤로 돌아 주세요", "뒤로 도세요", "뒤로 도십시오", "뒤돌아", "뒤돌아 줘",
|
||||
"뒤돌아 주세요", "뒤돌아서", "돌아서", "돌아서 주세요", "반대로 돌아", "반대쪽으로 돌아", "반대 방향으로 돌아 줘",
|
||||
"반대쪽으로 방향 바꿔", "유턴", "유턴해", "유턴 해 줘", "유턴하세요", "한 바퀴 돌아", "한 바퀴 돌아 줘",
|
||||
"한 바퀴 돌아 주세요", "제자리에서 한 바퀴 돌아", "빙글 돌아", "한 바퀴 빙 돌아", "좌회전", "우회전", "좌회전해",
|
||||
"우회전해", "좌회전 해 주세요", "우회전 해 주세요", "턴 레프트", "턴 라이트", "레프트로 돌아", "라이트로 돌아",
|
||||
"left로 돌아", "right로 돌아", "left 턴", "right 턴", "turn left 해 줘", "turn right 해 줘"]
|
||||
|
||||
# ---------------- move: a short straight drive ----------------
|
||||
_EN_MOVE = _x(["move", "go", "drive", "roll", "step", "scoot", "shift", "slide", "inch", "get", "come", "head"],
|
||||
["forward", "forwards", "ahead", "back", "backward", "backwards", "to the left", "to the right",
|
||||
"to your left", "to your right", "left", "right", "straight ahead"],
|
||||
["", "a bit", "a little", "a little bit", "1 meter", "by 1 meter", "a few steps", "one step", "two steps",
|
||||
"a tiny bit", "slightly"])
|
||||
_EN_MOVE = [t for t in _EN_MOVE if t not in ("go ahead", "go straight ahead", "head forward") and not t.startswith(("come left", "come right", "come to the", "come to your", "head left",
|
||||
"head right", "get left", "get right", "head back", "get back",
|
||||
"go back", "come back", "head to the", "head to your"))]
|
||||
_EN_MOVE += _x(["move", "go", "drive", "roll"], ["1 meter forward", "1 meter back", "1 meter backward",
|
||||
"1 meter to the left", "1 meter to the right", "1 meter ahead",
|
||||
"1 meter left", "1 meter right"])
|
||||
_EN_MOVE_HAND = ["back up", "back up a bit", "back up a little", "back up 1 meter", "back off a bit", "reverse a bit",
|
||||
"reverse 1 meter", "step back a little", "take a step back", "take a step forward", "take two steps back",
|
||||
"take one step to the left", "take one step to the right", "scooch over to the left", "scooch to the right",
|
||||
"move over to the left a bit", "move over to the right a bit", "give me some room, back up",
|
||||
"make some room, move back", "you move forward", "you go back 1 meter", "you move left", "robot go forward",
|
||||
"go straight a bit", "go straight 1 meter", "move straight ahead 1 meter", "move fwd", "move forword",
|
||||
"moov back", "bak up", "go bakwards", "mov left", "mov right"]
|
||||
_KO_MOVE = _x(["앞으로", "뒤로", "왼쪽으로", "오른쪽으로", "좌측으로", "우측으로", "앞쪽으로", "뒤쪽으로"],
|
||||
["", "좀", "조금", "조금만", "살짝", "1 meter", "1 meter만", "한 걸음", "두 걸음", "반 걸음", "한 발짝",
|
||||
"약간", "쪼끔"],
|
||||
["가", "가 줘", "가 봐", "가요", "가 주세요", "가세요", "가십시오", "가 주십시오", "가 줄래", "가 주실래요",
|
||||
"이동해", "이동해 줘", "이동해 주세요", "이동하세요", "이동하십시오", "이동해 주십시오", "움직여",
|
||||
"움직여 줘", "움직여 주세요", "움직이세요", "와", "와 줘", "와 주세요", "가라", "가 보이소", "가이소",
|
||||
"go", "go 해", "move", "move 해 줘", "가조", "가 쥬"])
|
||||
_KO_MOVE += _x(["뒤로", "좀", "조금", "뒤로 좀", "뒤로 조금", "뒤로 1 meter"],
|
||||
["물러나", "물러나 줘", "물러나 주세요", "물러서", "물러서 주세요", "물러나십시오", "빠져", "빠져 줘",
|
||||
"빠져 주세요", "후진해", "후진해 줘", "후진해 주세요", "후진하십시오", "비켜", "비켜 줘", "비켜 주세요"])
|
||||
_KO_MOVE += _x(["왼쪽으로", "오른쪽으로", "옆으로"], ["비켜", "비켜 줘", "비켜 주세요", "비키세요", "비켜 주십시오"])
|
||||
_KO_MOVE = [t for t in _KO_MOVE if not t.startswith("옆으로")]
|
||||
_MIX_MOVE = [f"{a} {b}" for a in ("forward로", "back으로", "left로", "right로", "forward", "back", "앞으로", "뒤로",
|
||||
"왼쪽으로", "오른쪽으로")
|
||||
for b in ("가", "가 줘", "이동", "이동해 줘", "move", "move 해", "go", "go 해 줘", "1 meter 가", "좀 가")] + \
|
||||
["back 해", "back 해 줘", "back up 해 줘", "후진 please", "앞으로 move please", "move forward 해 줘",
|
||||
"move back 해 줘", "move left 해 줘", "move right 해 줘", "포워드", "포워드로 가", "백으로 가", "백 해 줘"]
|
||||
|
||||
# ---------------- go_to: a marker on the map ----------------
|
||||
_EN_GO = _x(["go", "head", "drive", "move", "walk", "roll", "get", "make your way", "proceed", "travel", "hurry",
|
||||
"navigate", "go on over", "head on over", "get yourself", "take yourself", "run", "go straight", "zip"],
|
||||
["to <place>", "over to <place>", "on to <place>", "to <place> now", "to <place> right now",
|
||||
"to <place> please", "to <place> for me", "to <place> real quick", "back to <place>"])
|
||||
_EN_GO += _x(["<place>"], ["please", "now", "go", "go now", "let's go", "lumi", "right now", "next", "is where you go",
|
||||
"is your next stop", "go there", "head there", "move there"])
|
||||
_EN_GO_HAND = ["to <place> please", "to <place>, now", "off to <place>", "off you go to <place>", "next stop, <place>",
|
||||
"your next stop is <place>", "can you get to <place>", "could you head to <place>", "would you go to <place>",
|
||||
"please head to <place> now", "i need you at <place> now", "go to <place>. right now, not later",
|
||||
"go to <place>, right now", "go to <place> immediately", "go to <place> asap", "go to <place> quick",
|
||||
"go to <place>, yes, now", "go to the <place>", "go to <place> point", "go to point <place>",
|
||||
"go to marker <place>", "drive to the <place> marker", "you go <place>", "you go to <place>",
|
||||
"robot go <place>", "go <place> please", "go too <place>", "go two <place>", "goto <place>",
|
||||
"go to da <place>", "go <place> now", "move to <place> spot", "please you go <place>", "you <place> go",
|
||||
"<place> go please", "<place> you go", "go stand at <place>", "go wait at <place>", "go and stay at <place>",
|
||||
"go to <place> and wait there", "can you take me to <place>", "show me the way to <place>",
|
||||
"guide me to <place>", "lead me to <place>", "lead the way to <place>", "take me to <place> please"]
|
||||
_KO_GO = _x(["<place>로", "<place>으로", "<place>에", "<place>까지", "<place> 쪽으로", "<place> 앞으로", "<place>",
|
||||
"<place>로 좀", "<place>까지 좀", "<place>로 얼른", "<place>로 빨리", "<place>로 지금", "<place>로 당장"],
|
||||
["가", "가 줘", "가 봐", "가요", "가 주세요", "가세요", "가십시오", "가 주십시오", "가 줄래", "가 줄래요",
|
||||
"가 주실래요", "가 주시겠어요", "가 주시겠습니까", "가 줄 수 있어", "가 줄 수 있어요", "가 주실 수 있나요",
|
||||
"이동해", "이동해 줘", "이동해 주세요", "이동하세요", "이동하십시오", "이동해 주십시오", "이동", "이동 부탁해",
|
||||
"이동 부탁드려요", "이동 부탁드립니다", "가 주라", "가라", "가거라", "가자", "갑시다", "가시죠", "가 보이소",
|
||||
"가이소", "가 보소", "가 보랑께", "가 봐라", "가 주면 좋겠어", "가 주시면 좋겠어요", "가 주시면 감사하겠습니다",
|
||||
"가 줬으면 좋겠어", "출발", "출발해", "출발해 줘", "출발하세요", "출발하십시오", "go", "go 해", "go 해 줘",
|
||||
"move", "move 해 줘", "고", "고고", "가조", "가 쥬", "가셈", "가 줘요", "가 주쇼", "가 주이소"])
|
||||
_KO_GO = [t for t in _KO_GO if not (t.startswith("<place> ") and t.split(" ", 1)[1] in ("고", "move"))]
|
||||
_KO_GO += ["<place>로 안내해 줘", "<place>로 안내해 주세요", "<place>까지 안내해 주십시오", "<place>로 데려다 줘",
|
||||
"<place>로 나 데려다 줘", "<place>로 저 데려다 주세요", "<place>로 가자고", "<place>로 가라고", "<place> 가야 돼",
|
||||
"<place>로 가야 해", "<place>로 가야 돼요", "<place>로 가 볼까", "<place>로 가 볼래", "<place> 쪽으로 가 볼래요",
|
||||
"지금 <place>로 가", "당장 <place>로 가", "얼른 <place>로 가 줘", "빨리 <place>로 이동해", "루미 <place>로 가",
|
||||
"<place>로 이동 바랍니다", "<place>로 가 주시기 바랍니다", "<place>로 가 주셨으면 해요", "<place>까지 가 볼래",
|
||||
"<place>로 가 주라 마", "<place>로 퍼뜩 가", "<place>로 언능 가", "<place>로 싸게 가", "<place>로 가랑께"]
|
||||
|
||||
# ---------------- come / follow / come_back ----------------
|
||||
_EN_COME = _en(["come here", "come over here", "come to me", "come closer", "come over", "come this way",
|
||||
"get over here", "come on over", "come on over here", "come near me", "come up to me", "come by me",
|
||||
"come towards me", "approach me", "move closer to me", "roll over here", "drive over to me",
|
||||
"come to where i am", "come to my side", "come stand by me", "come a bit closer", "come right here",
|
||||
"come to me now", "over here", "come over to me", "come here to me", "come here quickly"], 0.35)
|
||||
_KO_COME = _x(["이리", "이리로", "일로", "일루", "여기로", "여기", "이쪽으로", "나한테", "저한테", "제게", "내 쪽으로",
|
||||
"제 쪽으로", "내 옆으로", "제 옆으로", "가까이", "좀 더 가까이", "이리 좀", "여기로 좀", "이쪽으로 좀",
|
||||
"가까이 좀", "여기까지"],
|
||||
["와", "와 줘", "와 봐", "와요", "와 주세요", "오세요", "오십시오", "와 주십시오", "와 줄래", "와 줄래요",
|
||||
"와 주실래요", "와 주시겠어요", "와라", "오너라", "와 보이소", "오이소", "온나", "와 주라", "와 봐요",
|
||||
"와 줘요", "오셈", "와조", "come", "come 해", "와 please"])
|
||||
_EN_FOLLOW = _en(["follow me", "come with me", "come along with me", "walk with me", "tag along", "tag along with me",
|
||||
"stay with me", "keep up with me", "stick with me", "stay behind me", "walk behind me",
|
||||
"follow behind me", "follow my lead", "keep following me", "follow me around", "go where i go",
|
||||
"come after me", "follow us", "come with us", "walk alongside me", "stay close to me",
|
||||
"keep close behind me", "shadow me", "follow along", "follow me this way", "follow me over there",
|
||||
"accompany me", "escort me"], 0.4)
|
||||
_KO_FOLLOW = _x(["", "나", "날", "나를", "저", "저를", "절", "우리", "뒤에서", "천천히", "잘", "계속", "얼른", "나 좀",
|
||||
"저 좀", "제 뒤를"],
|
||||
["따라와", "따라와 줘", "따라와 봐", "따라와요", "따라와 주세요", "따라오세요", "따라오십시오",
|
||||
"따라와 주십시오", "따라올래", "따라올래요", "따라와 주실래요", "따라와 주시겠어요", "따라와라",
|
||||
"따라오너라", "따라온나", "따라오이소", "따라오소", "따라와 보이소", "따라다녀", "따라다녀 줘",
|
||||
"따라다니세요", "쫓아와", "쫓아와 줘", "follow 해", "follow 해 줘", "팔로우 해", "팔로우 해 줘",
|
||||
"따라와조", "따라 와", "따라 오세요"])
|
||||
_KO_FOLLOW += _x(["", "나랑", "저랑", "저와", "나하고", "우리"],
|
||||
["같이 가자", "같이 가", "같이 가요", "같이 가 줘", "같이 가 주세요", "같이 가시죠", "같이 걸어",
|
||||
"같이 걸어요", "같이 걸어가자", "함께 가자", "함께 가요", "함께 가시죠", "함께 걸어요"])
|
||||
_EN_BACK = _en(["come back", "come back to your spot", "go back to where you were", "go back to your spot",
|
||||
"return to your spot", "return to where you were", "return to your starting point",
|
||||
"go back to the start", "go back to where you started", "head back to where you were",
|
||||
"back to where you were", "back to your spot", "go back where you came from", "return to your place",
|
||||
"get back to your spot", "go back to your old spot", "come back to where you started"], 0.4)
|
||||
_KO_BACK = _x(["", "다시", "원래 자리로", "제자리로", "아까 그 자리로", "아까 있던 데로", "처음 자리로", "원래 있던 곳으로",
|
||||
"원래 위치로", "출발한 곳으로", "있던 자리로"],
|
||||
["돌아와", "돌아와 줘", "돌아와 봐", "돌아와요", "돌아와 주세요", "돌아오세요", "돌아오십시오",
|
||||
"돌아와 주십시오", "돌아가", "돌아가 줘", "돌아가 주세요", "돌아가세요", "돌아가십시오", "복귀해",
|
||||
"복귀해 주세요", "복귀하십시오", "돌아온나", "돌아오이소", "come back 해 줘", "도라와"])
|
||||
_KO_BACK = [t for t in _KO_BACK if not (t.startswith("다시 돌아가") or t in ("돌아가", "돌아가 줘", "돌아가 주세요",
|
||||
"돌아가세요", "돌아가십시오"))]
|
||||
|
||||
# ---------------- no: sounds like a motion, asks for none ----------------
|
||||
_NO = [
|
||||
# looks / seeing / talk about looks
|
||||
"you look tired", "you look great today", "you look cute", "you look happy", "looks good to me", "that looks nice",
|
||||
"the booth on the left looks nice", "it looks like rain", "look who's here", "look, it's not a big deal",
|
||||
"look, i'm just saying hi", "i'm looking forward to the talk", "i looked everywhere", "i'll look it up later",
|
||||
"look it up later", "look before you leap", "look both ways before crossing", "he looks down on robots",
|
||||
"she turned her head left", "my mom is on the left", "the restroom is on the right", "the exit is up ahead",
|
||||
"what's on your left?", "what's on your right?", "can you see what's on your right?", "what do you see on the left?",
|
||||
"what's above you?", "what's behind you?", "where are you looking?", "why are you looking at me?",
|
||||
"did you just look at me?", "how far can your head turn?", "can your head turn all the way around?",
|
||||
"can you turn your head?", "how high can you go?", "how tall are you?", "how tall can you get?",
|
||||
"how far can you drive?", "how fast can you move?", "can you move?", "do you have wheels?", "can you walk?",
|
||||
"왼쪽에 뭐 있어?", "오른쪽에 뭐가 보여?", "오른쪽에 뭐 있는지 보여?", "위에 뭐 있어?", "뒤에 뭐 있어?", "뭐 보고 있어?",
|
||||
"어디 보고 있어?", "왜 나 쳐다봐?", "고개 몇 도까지 돌아가?", "고개 얼마나 돌아가?", "키가 몇이야?", "키 커 보인다",
|
||||
"너 키 크다", "몸 괜찮아?", "높이가 얼마야?", "얼마나 빨리 움직여?", "바퀴 있어?", "걸을 수 있어?", "오늘 멋져 보여",
|
||||
"피곤해 보여", "이 부스 괜찮아 보이네", "화장실은 오른쪽에 있어요", "출구는 왼쪽이에요", "엄마 이거 봐", "여기 봐 봐 엄마",
|
||||
# someone else, later, past, quoting
|
||||
"kids, look at the robot", "mina, look up, there's a balloon", "he said look left and you'll see the booth",
|
||||
"so when i say now, look left", "look left later, when the guests arrive", "after the speech, look at the audience",
|
||||
"i turned left at the corner", "turn left at the corner to find the restroom", "go straight and turn right for the exit",
|
||||
"we went back home", "back in my day", "i'll be back", "i'm going to the stage later", "i'll go to the booth later",
|
||||
"where is the stage?", "is the stage far?", "how do i get to the stage?", "which way is the exit?",
|
||||
"저 왼쪽으로 갈게요", "제가 뒤로 좀 갈게요", "제가 거기로 갈게요", "음, 저 포토 존으로 갈게요", "우리 이제 집에 가자",
|
||||
"나 먼저 갈게", "이따가 갈게", "다음에 또 올게", "화장실 어디예요?", "무대는 어디야?", "출구까지 멀어?",
|
||||
"어떻게 가요?", "모퉁이에서 왼쪽으로 도세요", "직진하다가 오른쪽으로 꺾으면 돼요", "엘리베이터 타고 올라가세요",
|
||||
# other senses of the verbs
|
||||
"take the lift to the second floor", "where's the lift?", "lift는 어디 있어요?", "엘리베이터 어디야?",
|
||||
"turn the music up", "turn up the volume", "turn down the music", "turn it down", "turn off the light",
|
||||
"follow the signs", "follow up later", "i follow you on instagram", "follow us on instagram",
|
||||
"come on!", "come on, really?", "oh come on", "come back later", "come again?", "how come?",
|
||||
"move on to the next topic", "let's move on", "i'm moving to busan next month", "that movie moved me",
|
||||
"go ahead and tell me", "go on, tell me more", "how's it going?", "what's going on?", "the show must go on",
|
||||
"stand up for yourself", "cheer up", "hurry up and answer", "turn the page", "it's your turn", "whose turn is it?",
|
||||
"go around", "go around it", "go round", "walk around", "look around", "go around the booth", "돌아다녀", "둘러봐",
|
||||
"go ahead", "go ahead, tell me", "go ahead and ask", "go ahead, i'm listening", "go on then",
|
||||
"음악 좀 올려 줘", "볼륨 올려", "소리 키워", "소리 좀 줄여", "목소리 키워 줘", "불 꺼 줘", "인스타 팔로우 해 주세요",
|
||||
"다음 주제로 넘어가자", "부산으로 이사 가요", "이야기 계속해", "잘 지내?", "무슨 일이야?", "네 차례야",
|
||||
# ability and conditions
|
||||
"can you look up?", "are you able to look up at the ceiling?", "is it possible for you to turn around?",
|
||||
"do you know how to follow people?", "can you follow people?", "can you come to me if i call?",
|
||||
"if i call you, come here", "when i wave, come to me", "when the show starts, go to the stage",
|
||||
"after lunch go to the booth", "if someone comes, look at them", "고개 돌릴 수 있어?", "따라올 수 있어?",
|
||||
"부르면 와 줄 수 있어?", "나중에 무대로 가", "이따가 나 봐", "신호 주면 위 봐", "근데 나중에 왼쪽 봐",
|
||||
"쇼 시작하면 무대로 가", "밥 먹고 나서 부스로 가",
|
||||
# the person's own body, reported speech
|
||||
"can you lift me up?", "lift me up", "pick me up", "carry me", "can you carry me?", "lift my bag", "나 들어 올려 줘",
|
||||
"나 안아 줘", "나 업어 줘", "저 좀 들어 주세요", "루미가 <place>로 간대", "<place>로 간대", "<place>로 간다고 했어",
|
||||
"루미가 <place>로 간다고 했어요", "로봇이 <place>로 간대요", "lumi is going to <place>", "lumi said it's going to <place>",
|
||||
"the robot is going to <place>", "he's going to <place>", "they went to <place>",
|
||||
"로봇이 따라온대", "루미가 우리 따라온대", "루미가 돌아온대", "the robot will follow us", "lumi is coming back",
|
||||
]
|
||||
|
||||
INTENT = {
|
||||
"look": _en(_EN_LOOK, 0.05, _EN_LOOK_HAND) + _pick(_KO_LOOK, 0.1) + _MIX_LOOK,
|
||||
"lift": _en(_EN_LIFT, 0.04) + _pick(_KO_LIFT, 0.1) + _MIX_LIFT,
|
||||
"turn": _en(_EN_TURN, 0.04, _EN_TURN_HAND) + _pick(_KO_TURN, 0.5),
|
||||
"move": _en(_EN_MOVE, 0.02, _EN_MOVE_HAND) + _pick(_KO_MOVE, 0.06) + _MIX_MOVE,
|
||||
"go_to": _en(_EN_GO, 0.06, _EN_GO_HAND) + _pick(_KO_GO, 0.15),
|
||||
"come": _EN_COME + _pick(_KO_COME, 0.3),
|
||||
"follow": _EN_FOLLOW + _pick(_KO_FOLLOW, 0.3),
|
||||
"come_back": _EN_BACK + _pick(_KO_BACK, 0.5),
|
||||
"no": _NO,
|
||||
}
|
||||
|
||||
if __name__ == "__main__":
|
||||
for k, v in INTENT.items():
|
||||
print(f"{k:10} {len(v)}")
|
||||
print("total", sum(map(len, INTENT.values())))
|
||||
@@ -0,0 +1,451 @@
|
||||
"""Questions about Lumi for assistant/quick_answers.py: more wordings of its kinds (QUICK), a few new kinds with
|
||||
their answers (QUICK_KINDS) and more "no" wordings (things that sound alike but are not about Lumi itself).
|
||||
English, Korean (반말 / 해요체 / 하십시오체, dialect, Konglish, whisper slips) and mixed. Every answer is a fact of
|
||||
knowledge/lumi_about_en.md; keep them in step.
|
||||
"""
|
||||
|
||||
|
||||
def _ko(stems, ends):
|
||||
"""Every stem with every ending: _ko(["이름이 뭐"], ["야", "예요"]) -> ["이름이 뭐야", "이름이 뭐예요"]."""
|
||||
return [s + e for s in stems for e in ends]
|
||||
|
||||
|
||||
QUICK = {
|
||||
"name": [
|
||||
"what's your name again", "could you tell me your name", "what name do you go by", "what do people call you",
|
||||
"what are you named", "what is ur name", "whats your name robot", "robot what is your name", "your name is",
|
||||
"name?", "what's the name of this robot", "what's this robot called", "what is this robot called",
|
||||
"what do we call you", "how should i call you", "what should we call you", "do you have a name robot",
|
||||
"have you got a name", "tell me your name please", "can i know your name", "may i ask your name",
|
||||
"what's ur name", "wats ur name", "what your name", "what's you name", "what is you name", "whats yor name",
|
||||
"what's your nam", "lumi is that your name", "is your name lumi", "are you lumi", "is this lumi",
|
||||
"your name please robot", "hey robot what's your name", "name of the robot",
|
||||
"니 이름", "네 이름", "너 이름", "너의 이름은", "너 이름은 뭐야", "니 이름은 뭐니",
|
||||
"이름이 뭐니", "이름이 뭐냐", "이름이 뭐임", "이름이 뭐여", "이름 뭐임", "이름 머야", "이름 모야", "이름 뭐예요",
|
||||
"이름이 뭐에요", "이름이 무엇입니까", "이름이 무엇인가요", "이름이 어떻게 되세요", "이름이 어떻게 되니", "이름이 어떻게 돼",
|
||||
"이름이 어떻게 되십니까", "존함이 어떻게 되세요", "이름 좀 알려 줘", "이름 좀 알려 주세요", "이름 알려 줄래", "이름 말해 줘",
|
||||
"이름 말해 주세요", "이름 좀 가르쳐 줘", "이름을 알려 주시겠어요", "이름이 있어", "이름 있니", "이름이 있나요",
|
||||
"로봇 이름이 뭐야", "로봇 이름이 뭐예요", "이 로봇 이름 뭐야", "로봇아 이름이 뭐야", "로봇 이름 알려 주세요",
|
||||
"얘 이름이 뭐야", "얘는 이름이 뭐예요", "쟤 이름이 뭐야", "이 친구 이름이 뭐예요", "이 아이 이름은 뭐예요",
|
||||
"뭐라고 불러", "뭐라고 불러야 돼", "뭐라고 부르면 될까요", "어떻게 부르면 돼요", "널 뭐라고 부르면 돼",
|
||||
"이름이 뭐라꼬", "이름이 뭐꼬", "니 이름 뭐꼬", "이름이 뭐시여", "이름이 뭣이여", "이름이 뭐래요", "이름이 뭐라고요",
|
||||
"이름이 뭐라고", "니 이름이 뭐고", "니 이름 뭐라카노", "이름이 뭐당가", "이름이 뭐요",
|
||||
"루미가 네 이름이야", "네 이름이 루미야", "너 루미야", "루미 맞아요", "니가 루미야",
|
||||
"what's your 이름", "your name이 뭐야", "너 name이 뭐야", "네임이 뭐예요", "니 네임 뭐야", "name 알려 줘",
|
||||
"이름 what", "what is 너의 이름",
|
||||
],
|
||||
"name_meaning": [
|
||||
"what does the name lumi mean", "why lumi", "why are you named lumi", "why is your name lumi",
|
||||
"where does your name come from", "how did you get your name", "who gave you your name", "who named you",
|
||||
"what's the meaning of lumi", "what is the meaning behind your name", "is lumi a word", "does lumi mean anything",
|
||||
"lumi means what", "what does lumi stand for", "where did the name lumi come from", "why did they call you lumi",
|
||||
"루미 뜻이 뭐예요", "루미는 무슨 뜻이야", "루미가 무슨 의미예요", "루미 의미가 뭐야", "이름 뜻이 뭐야", "이름 뜻이 뭐예요",
|
||||
"이름에 무슨 뜻이 있어요", "이름이 무슨 의미예요", "왜 루미라고 지었어요", "왜 이름이 루미야", "루미라는 이름은 왜 지었어요",
|
||||
"이름은 누가 지었어", "이름은 누가 지어 줬어요", "이름 누가 지어 줬어", "루미는 무슨 말이에요", "루미 어디서 나온 이름이야",
|
||||
"루미가 뭔 뜻이고", "루미 뜻이 뭐꼬", "루미 meaning이 뭐야", "lumi 무슨 뜻이야", "루미 무슨 뜻",
|
||||
],
|
||||
"who": [
|
||||
"who are you exactly", "who are you robot", "and who are you", "tell me who you are", "say who you are",
|
||||
"can you introduce yourself", "could you introduce yourself", "please introduce yourself", "introduce yourself please",
|
||||
"introduce yourself to us", "give us an introduction", "tell us about yourself", "say something about yourself",
|
||||
"what are you supposed to be", "what kind of machine are you", "what type of robot are you", "what sort of robot are you",
|
||||
"what kind of robot is this", "what's this machine", "what is this machine", "what robot is this", "who is this",
|
||||
"what is this robot for", "what is your purpose", "what's your role here", "what is your role", "why are you here",
|
||||
"what's your job here", "who r you", "who are yu", "who ar you", "hu are you", "who are you lumi",
|
||||
"누구니", "누구세요", "누구십니까", "누구신가요", "너는 누구야", "넌 누구야", "당신 누구예요", "넌 뭐니", "너는 뭐야",
|
||||
"너 정체가 뭐야", "정체가 뭐예요", "넌 정체가 뭐니", "무슨 로봇이에요", "무슨 로봇이야", "어떤 로봇이야", "어떤 로봇입니까",
|
||||
"이 로봇 뭐야", "이 로봇은 뭐예요", "이건 무슨 로봇이에요", "이 로봇은 무슨 로봇이에요", "이거 무슨 로봇이야", "얘는 뭐야",
|
||||
"얘 뭐예요", "얘는 무슨 로봇이에요", "로봇이 뭐 하는 거예요", "넌 뭐 하는 로봇이니", "넌 여기서 뭐 해", "여기서 뭐 하는 거야",
|
||||
"자기소개", "자기소개 해 주세요", "자기소개 좀 해 줘", "자기소개 부탁해요", "자기소개 부탁합니다", "자기소개 해 주실래요",
|
||||
"자기소개 해 줄래", "소개 좀 해 주세요", "너 소개 좀 해 줘", "너에 대해 알려 줘", "너에 대해 말해 줘", "본인 소개 해 주세요",
|
||||
"자기 소개 좀 해 보세요", "니 소개 좀 해 봐라", "니는 누고", "누꼬", "니 뭐꼬", "너 뭐여", "너 누구여", "뉘시오",
|
||||
"who are you 루미", "너 who야", "self introduction 해 줘", "자기소개 please", "introduce 해 줘", "너 뭐 하는 robot이야",
|
||||
],
|
||||
"age": [
|
||||
"how old are you lumi", "what age are you", "how old r you", "how old are u", "how old ru", "hao old are you",
|
||||
"how ole are you", "how old are you now", "how old are you robot", "how old is the robot", "what's the robot's age",
|
||||
"how many years have you been around", "how long have you existed", "when were you created", "when were you first made",
|
||||
"when did you come out", "when were you manufactured", "what year were you made", "what year were you born",
|
||||
"are you a new robot", "are you a new model", "you're how old",
|
||||
"age?", "how young are you",
|
||||
"몇 살", "몇 살이니", "몇 살이냐", "몇 살임", "몇 살이에요", "몇 살이세요", "몇 살입니까", "몇 살인가요", "몇 살이야 너",
|
||||
"너 몇 살이니", "너는 몇 살이야", "니 몇 살이야", "네 나이가 몇이야", "나이가 몇이에요", "나이가 어떻게 되니", "나이가 어떻게 돼",
|
||||
"나이 어떻게 되세요", "나이가 몇 살이에요", "나이 몇이야", "나이 알려 줘", "나이가 궁금해요", "올해 몇 살이야", "올해 몇 살이에요",
|
||||
"태어난 지 얼마나 됐어", "태어난 지 얼마나 됐어요", "언제 태어났어요", "언제 태어났니",
|
||||
"만들어진 지 얼마나 됐어", "만들어진 지 얼마나 됐어요", "만든 지 몇 년 됐어요", "언제 만들어졌니", "언제 만들어졌습니까",
|
||||
"몇 년생이야", "몇 년생이에요", "몇 년 됐어", "몇 년 된 로봇이에요", "이 로봇 몇 년 됐어요", "로봇 나이가 몇이에요",
|
||||
"멫 살이고", "몇 살이고", "몇 살이여", "몇 살이당가", "몇 살이유", "몇 살이오", "니 몇 살이가", "나이가 우째 되노",
|
||||
"how old 이야", "너 몇 years old야", "age 몇이야", "몇 살 how old", "너 나이 how many",
|
||||
],
|
||||
"maker": [
|
||||
"who made this robot", "who built this robot", "who created this robot", "who developed this robot",
|
||||
"who's your developer", "who is your developer", "who are your developers", "who's your manufacturer",
|
||||
"who manufactured you", "who makes you", "who produced you", "who invented you", "who is your creator",
|
||||
"who's behind you", "which company developed you", "which company created you", "what company created you",
|
||||
"what company developed you", "which company are you from", "what company do you belong to", "made by which company",
|
||||
"where were you made", "where were you built", "where were you developed", "where are you made", "where did you come from",
|
||||
"who made u", "who mad u", "who maid you", "hoo made you", "who build you", "who maked you", "who made ya",
|
||||
"누가 만들었니", "누가 만들었냐", "누가 만들었습니까", "누가 만든 거야", "누가 만든 거예요", "누가 만든 로봇이에요",
|
||||
"누가 너를 만들었어", "누가 너를 만들었어요", "너는 누가 만들었니", "넌 누가 만들었어", "누가 개발했어", "누가 개발했니",
|
||||
"누가 개발했습니까", "누가 개발한 로봇이에요", "개발자가 누구야", "개발자가 누구예요", "개발사가 어디예요", "개발사가 어디야",
|
||||
"제조사가 어디야", "제조사는 어디예요", "제조사가 어디입니까", "만든 회사가 어디야", "만든 회사가 어디예요", "만든 회사 어디",
|
||||
"어느 회사 거야", "어느 회사 거예요", "어디 회사 거야", "어디 회사 거예요", "어디 제품이야", "어디 제품이에요", "어디 꺼야",
|
||||
"어느 회사 제품이에요", "어느 회사에서 개발했어요", "어디서 개발했어", "어디서 개발했어요", "어디서 만든 거야", "어디서 만들었니",
|
||||
"어디서 만들어졌어요", "너 어느 회사 소속이에요", "넌 어디 소속이니", "어디 소속이에요", "누구 거야", "주인이 누구야",
|
||||
"누가 만들었노", "누가 맹글었어", "누가 만들었드나", "누가 만들었당가", "누가 만들었슈", "누가 만들었소", "누가 맹근 거여",
|
||||
"누가 만들었는교", "어데서 만들었노", "어데 회사고",
|
||||
"who made 너", "who developed 너", "누가 만들었어 who", "maker가 누구야", "제조사 who", "누가 develop 했어",
|
||||
"어느 company야", "company 어디야", "너 어느 company에서 만들었어", "made in 어디야",
|
||||
],
|
||||
"height": [
|
||||
"how tall are you lumi", "how tall r you", "how tall are u", "how tal are you", "hou tall are you", "what is your height",
|
||||
"what's your height in cm", "what is your height in centimeters", "how many centimeters tall are you",
|
||||
"how many cm are you", "how high is this robot", "how tall is the robot", "what's the robot's height",
|
||||
"how big are you", "are you tall", "how tall do you get", "what's your size", "how tall exactly are you",
|
||||
"키 몇", "키 몇이야", "키 몇이니", "키 몇이에요", "키가 몇이니", "키가 몇이세요", "키가 몇입니까",
|
||||
"키가 얼마나 되니", "키가 어떻게 돼", "키가 어떻게 돼요", "키가 어떻게 되세요", "키 몇 센티야", "키 몇 센티니", "키가 몇 센티예요",
|
||||
"키가 몇 센티미터예요", "키가 몇 cm예요", "키 몇 cm야", "몇 센티야", "몇 센티예요", "키 얼마나 돼", "키 얼마나 돼요",
|
||||
"키가 얼마나 커", "키가 얼마나 커요", "신장이 몇이에요", "너 키가 몇이야", "니 키 몇이고", "니 키가 얼마고", "키가 우째 되노",
|
||||
"키 몇이여", "키가 몇이당가", "로봇 키가 몇이야", "이 로봇 키는 몇이에요", "키 알려 줘", "키 알려 주세요",
|
||||
"how tall 이야", "키 how tall", "your height 몇이야", "너 height가 얼마야", "키 몇 centi야",
|
||||
],
|
||||
"weight": [
|
||||
"how heavy are you lumi", "what do you weigh", "how much do you weight", "how many kilos are you",
|
||||
"how many kg do you weigh", "how many kilograms do you weigh", "what's your weight in kg", "how heavy is the robot",
|
||||
"how much does this robot weigh", "how much does the robot weigh", "how heavy r you", "are you very heavy",
|
||||
"몸무게 몇이야", "몸무게가 몇이에요", "몸무게 얼마나 돼요", "몸무게가 어떻게 되세요", "무게가 몇이야",
|
||||
"무게가 몇이에요", "무게 몇 킬로예요", "몇 킬로그램이에요", "몇 kg이에요", "몇 키로야", "몇 키로나 나가", "무게 얼마나 나가",
|
||||
"무게가 얼마나 나가요", "너 무거워", "무거워요", "많이 무거워요", "무게가 어떻게 돼요", "이 로봇 무게가 몇이에요",
|
||||
"로봇 무게 몇 킬로예요", "몇 키로고", "무게가 우째 되노", "몇 키로여", "your weight 몇이야", "너 몇 kg이야", "weight가 얼마야",
|
||||
],
|
||||
"battery_life": [
|
||||
"how long does the battery last", "how long does your battery last on a charge", "how many hours can you run",
|
||||
"how many hours can you work", "how long can you operate", "how long can you keep going", "how long do you run for",
|
||||
"what's your battery life like", "what is your battery life", "how long is your battery life", "battery life",
|
||||
"how long can you stay on", "how long can you run without charging", "how long until you need charging",
|
||||
"how long until your battery dies", "how long do your batteries last", "how many hours on one charge",
|
||||
"how long can you last", "how long can you work for", "does your battery last long",
|
||||
"배터리 몇 시간 가요", "배터리 몇 시간 쓸 수 있어", "배터리 몇 시간 써요", "배터리가 얼마나 가요", "배터리가 얼마나 오래 가요",
|
||||
"배터리 얼마나 오래 가", "배터리 지속 시간이 몇 시간이에요", "배터리 몇 시간 버텨요", "한 번 충전으로 얼마나 가요",
|
||||
"한 번 충전으로 몇 시간 가", "충전하면 몇 시간 가", "충전하면 얼마나 써요", "완충하면 몇 시간 가요", "완충하면 얼마나 가",
|
||||
"몇 시간 동안 움직일 수 있어요", "몇 시간 동안 일할 수 있어", "몇 시간 일해요", "하루 종일 일할 수 있어요", "얼마나 오래 일할 수 있어요",
|
||||
"배터리 몇 시간이에요", "배터리 사용 시간이 얼마예요", "배터리 몇 시간 가노", "배터리 얼마나 가노", "배터리 몇 시간 가유",
|
||||
"battery 몇 시간 가", "배터리 life가 얼마야", "battery 얼마나 가요", "배터리 how long",
|
||||
],
|
||||
"languages": [
|
||||
"which languages can you speak", "what languages do you know", "do you know english", "do you know korean",
|
||||
"do you know chinese", "can you understand korean", "can you understand chinese", "can you understand spanish",
|
||||
"do you speak spanish", "do you speak french", "do you speak german", "can you speak russian", "do you speak uzbek",
|
||||
"can you talk in korean", "can you talk in english", "speak english", "english ok", "do you understand korean",
|
||||
"is english okay", "can i talk to you in english", "can i speak korean to you", "what languages can you understand",
|
||||
"how many languages can you speak", "are you multilingual", "can you speak japanese",
|
||||
"영어 할 수 있어", "영어 할 수 있어요", "영어 할 줄 아세요", "영어 돼", "영어 돼요", "영어 가능해요", "영어 알아들어",
|
||||
"영어도 할 줄 알아", "한국어 알아", "한국어 알아들어요", "한국말 할 줄 알아", "한국말 잘해요", "중국어 돼", "중국어 할 줄 알아",
|
||||
"일본어 돼요", "일본어 할 줄 아세요", "스페인어 할 수 있어요", "러시아어 해요", "몇 개 국어 할 수 있어", "몇 개 국어 가능해요",
|
||||
"몇 개 언어 할 수 있어요", "무슨 말 할 줄 알아", "무슨 언어로 말해요", "어떤 언어로 말할 수 있어요", "어떤 말을 알아들어요",
|
||||
"외국어 해요", "외국어 할 수 있어요", "다른 나라 말도 해요", "영어로 말해도 돼요", "영어로 해도 알아들어", "영어 할 줄 아나",
|
||||
"영어 하나", "영어 할 줄 아노", "영어 되나", "영어 할 줄 아는교",
|
||||
"can you speak 한국어", "do you speak 한국말", "english 돼", "english 할 수 있어요", "korean 할 줄 알아", "japanese 할 줄 알아",
|
||||
"영어 speak 할 수 있어", "korean 돼요",
|
||||
],
|
||||
"chatgpt": [
|
||||
"are you based on chatgpt", "are you built on chatgpt", "do you run on chatgpt", "do you run on gpt",
|
||||
"is chatgpt inside you", "are you openai", "do you use openai", "are you made by openai", "are you gpt",
|
||||
"are you gpt 4", "is this gpt", "are you connected to chatgpt",
|
||||
"is your brain chatgpt", "chatgpt?", "are you like chatgpt",
|
||||
"너 지피티야", "지피티야", "챗지피티예요", "챗GPT예요", "챗GPT야", "챗GPT 기반이야", "챗지피티 기반이에요", "GPT 써요",
|
||||
"지피티 써", "오픈AI 거야", "오픈AI 써요", "챗GPT랑 연결돼 있어요",
|
||||
"너 chatgpt야", "chatgpt 써요", "gpt야 너", "너 openai야",
|
||||
],
|
||||
"model": [
|
||||
"what ai model are you using", "what ai model do you use", "which ai model are you", "which llm do you use",
|
||||
"what llm are you", "what language model runs you", "what language model do you use", "what is your ai",
|
||||
"which ai do you use", "what ai runs you", "what software is your brain", "what model are you", "what model runs you",
|
||||
"which ai are you based on", "what ai is inside you", "what large language model do you use", "are you gemma",
|
||||
"do you use gemma", "what powers your answers", "what's your language model",
|
||||
"어떤 AI 모델 써", "어떤 AI 써요", "무슨 AI야", "너 무슨 AI야", "무슨 AI 모델이에요", "무슨 언어 모델이야", "언어 모델 뭐 써요",
|
||||
"인공지능 모델이 뭐예요", "인공지능은 뭐 써요", "어떤 인공지능이에요", "무슨 인공지능 써", "LLM 뭐 써요", "엘엘엠 뭐 써",
|
||||
"어떤 모델이야", "무슨 모델 써", "젬마 써요", "두뇌가 뭐예요", "무슨 AI 쓰노",
|
||||
"what ai model 써", "ai model 뭐야", "어떤 llm 써", "무슨 ai model이야", "너 model이 뭐야", "너 brain이 뭐야",
|
||||
],
|
||||
"robot": [
|
||||
"are you a real robot", "are you human or robot", "are you a human", "are you human or machine", "are you a living thing",
|
||||
"are you a living being", "is someone inside you", "is there a human inside", "is a person controlling you",
|
||||
"is someone remote controlling you", "who is controlling you", "is somebody driving you", "can you feel emotions",
|
||||
"can you feel anything", "do you feel things", "do you feel pain", "do you have a heart", "do you have a soul",
|
||||
"are you sentient", "are you self aware", "are you artificial intelligence", "are you an ai robot", "are you just a machine",
|
||||
"are you a computer", "are you a toy", "are you real or fake", "r u a robot", "are u human", "are you a person or a robot",
|
||||
"너 사람이니", "사람이에요", "사람이세요", "사람이야 로봇이야", "로봇이야 사람이야", "진짜 로봇이야", "진짜 로봇이니",
|
||||
"너 진짜 로봇이야", "로봇 맞아", "로봇 맞아요", "로봇이니", "로봇입니까", "살아 있어요", "살아 있니", "살아 있는 거야",
|
||||
"생명체야", "생물이에요", "안에 사람이 있어", "사람이 안에 있어요", "누가 조종하는 거야", "누가 조종하고 있어요", "원격 조종이에요",
|
||||
"누가 움직이는 거예요", "감정이 있니", "감정을 느껴", "감정 느껴요", "기분을 느껴요", "아픔을 느껴요", "마음이 있어요",
|
||||
"영혼이 있어", "의식이 있니", "너 AI야", "AI예요", "인공지능이에요", "인공지능 로봇이야", "기계야", "너 기계니", "장난감이야",
|
||||
"사람이가", "사람이가 로봇이가", "로봇이가", "살아 있나", "니 사람이가", "사람이여", "감정 있나",
|
||||
"너 robot이야", "너 human이야", "are you 사람", "너 진짜 robot이야", "feelings 있어", "emotion 있어요", "너 real robot이야",
|
||||
],
|
||||
"speed": [
|
||||
"how fast can you drive", "how quickly can you move", "what is your maximum speed", "what's your speed limit",
|
||||
"how fast do you drive", "how fast can you run", "how fast can you roll", "what speed do you go", "are you fast",
|
||||
"how fast r u", "how fast are u", "how many meters per second can you go", "how many km per hour can you go",
|
||||
"얼마나 빨리 달려", "얼마나 빨리 움직여요", "얼마나 빨라", "얼마나 빠르니", "속도가 얼마나 돼요", "속도는 얼마예요", "속도 몇이야",
|
||||
"최고 속도가 얼마예요", "최대 속도는 몇이에요", "제일 빠르면 얼마나 가요", "빨리 갈 수 있어요", "빨라요", "시속 몇 킬로예요",
|
||||
"초속 몇 미터예요", "얼마나 빨리 가노", "속도 얼마나 나오노", "your speed 얼마야", "너 max speed가 몇이야", "speed 얼마나 돼요",
|
||||
],
|
||||
"hello": [
|
||||
"hello there", "hi lumi", "hey lumi", "hello hello", "hi hi", "hey hey", "heya", "hey robot", "hi robot",
|
||||
"good morning lumi", "good evening lumi", "good afternoon lumi", "morning", "evening", "greetings", "hello everyone",
|
||||
"nice to meet you lumi", "pleased to meet you", "glad to meet you", "hellooo", "hii", "heyy", "hullo", "hello?",
|
||||
"안녕 루미", "안녕 루미야", "루미 안녕", "안녕", "안녕하세요 루미", "안녕하세요 루미 씨", "안녕하신가요", "안녕하십니까 루미",
|
||||
"하이 루미야", "하이루", "하이요", "헬로 루미", "헬로우", "방가방가", "반갑다", "반갑습니다", "반가워 루미", "만나서 반가워",
|
||||
"처음 뵙겠습니다 루미", "좋은 아침", "좋은 아침이야", "좋은 아침입니다", "좋은 저녁이에요", "굿모닝", "굿모닝 루미", "안냥",
|
||||
"안녕하쇼", "안녕하능교", "안녕하셨어요", "어서 와", "여어", "hello 루미", "hi 루미야", "루미 hi", "안녕 hello",
|
||||
],
|
||||
"how_are_you": [
|
||||
"how are you lumi", "how are you doing today", "how's your day", "how's your day going", "how is your day",
|
||||
"are you doing well", "are you doing ok", "you okay", "you alright", "how do you feel today", "how are things",
|
||||
"how have you been lumi", "what's up lumi", "how you doing", "how r u", "how are u", "hows it going",
|
||||
"잘 지냈어", "잘 지냈니", "잘 지냈습니까", "잘 지내요", "잘 지내니", "잘 있었어", "잘 있었어요", "오늘 어때", "오늘 어때요",
|
||||
"오늘 하루 어때요", "오늘 기분이 어때", "기분이 어때", "기분 좋아", "기분 어때요", "컨디션 어때", "컨디션 어때요", "괜찮니",
|
||||
"별일 없어", "요즘 어떻게 지내", "요즘 어때요", "잘 지내고 있어요", "오늘 컨디션 괜찮아요", "잘 지냈나", "잘 있었나",
|
||||
"how are you 루미", "컨디션 how", "how are you 오늘", "기분 how",
|
||||
],
|
||||
"no": [
|
||||
# weight, height, age, maker, speed of other things: the LLM or a lookup
|
||||
"how heavy is the ice cream robot", "how heavy is the candy ball robot", "how much does the barista robot weigh",
|
||||
"how tall is the ice cream robot", "how big is the ice cream robot", "how fast is the ice cream robot",
|
||||
"how fast is the candy ball robot", "how tall is the eiffel tower", "how tall is lotte tower", "how old is taylor swift",
|
||||
"how old is the president", "how old is the ceo", "who made the iphone", "who invented the telephone",
|
||||
"who made jaka robots", "what is jaka", "who made your camera", "who made your computer", "who made your wheels",
|
||||
"how heavy is your gripper", "how heavy is your head", "how fast is your arm", "how old is your arm",
|
||||
"how fast can a car go", "how heavy is an elephant", "how tall is son heung-min", "what's the name of this event",
|
||||
"what's the name of this building", "what is the name of the ceo", "what's the name of the company",
|
||||
"아이스크림 로봇 무게가 얼마예요", "아이스크림 로봇 얼마나 빨라요", "캔디볼 로봇 몇 초 걸려요", "에펠탑 높이가 얼마야",
|
||||
"손흥민 키가 몇이야", "손흥민 몇 살이야", "아이폰 누가 만들었어", "대표 나이가 몇이에요", "대표님 이름이 뭐예요",
|
||||
"이 건물 이름이 뭐예요", "이 행사 이름 뭐야", "회사 이름이 뭐예요", "그리퍼 누가 만들었어요", "카메라 누가 만들었어",
|
||||
# the visitor about themselves
|
||||
"what's my name", "do you know my name", "guess my name", "how old do you think i am", "guess how old i am",
|
||||
"how tall do you think i am", "내 이름 뭐게", "내 이름 알아", "내가 몇 살 같아", "나 몇 살로 보여", "제 이름 아세요",
|
||||
# questions that are not facts of Lumi
|
||||
"what is your favorite color", "what's your favourite food", "do you like music", "do you like me",
|
||||
"are you tired", "are you hungry", "are you happy", "are you bored", "are you sleepy", "do you sleep",
|
||||
"where are we", "where am i", "where is the toilet", "what do you think about ai", "will robots take over the world",
|
||||
"좋아하는 색이 뭐야", "좋아하는 음식 뭐예요", "음악 좋아해", "피곤해", "배고파", "행복해", "심심해", "잠 자", "여기 어디야",
|
||||
"화장실 어디예요", "로봇이 세상을 지배할까", "battery level", "your battery level", "how much battery do you have",
|
||||
"배터리 얼마나 남았어", "배터리 몇 프로야",
|
||||
"emergency stop", "stop now", "stop", "멈춰", "그만",
|
||||
# what Lumi is doing now (status), what it can do (abilities), slow speed, charging time: not these kinds
|
||||
"what are you doing", "what are you doing now", "what are you doing robot", "what are you up to", "지금 뭐 해",
|
||||
"뭐 하고 있어", "지금 뭐 하는 중이에요", "로봇아 지금 뭐 해", "뭐 할 줄 알아", "뭘 할 줄 아니", "뭐 할 수 있어요",
|
||||
"how slow can you drive", "how slow can you go", "what's your slowest speed", "가장 느리게 가면 얼마야", "얼마나 천천히 갈 수 있어",
|
||||
"완충하는 데 얼마나 걸려", "완충까지 몇 시간이에요", "how long does a full charge take", "how long to fully charge",
|
||||
# a request and a question together: the rules or the LLM
|
||||
"컵 주고 이름 알려 줘", "이리 오고 이름 말해 줘", "손 흔들고 이름 알려 주세요", "give me the cup and tell me your name",
|
||||
"come here and tell me how old you are", "따라오고 나이 알려 줘",
|
||||
# Cutshion and its people, not Lumi: the company notes
|
||||
"who is cutshion's ceo", "when was cutshion founded", "where is cutshion", "what does cutshion make", "cutshion phone number",
|
||||
"how do i contact cutshion", "쿳션 대표가 누구야", "쿳션 언제 생겼어요", "쿳션 어디 있어요", "쿳션 연락처 알려 줘",
|
||||
"how old is cutshion", "쿳션 몇 년 됐어요", "is cutshion korean", "쿳션은 한국 회사예요",
|
||||
"company make which robot", "what robots does the company make", "which robots does cutshion make",
|
||||
"what does your company make", "회사는 어떤 로봇 만들어", "회사에서 무슨 로봇 만들어요", "쿳션은 뭐 만들어요",
|
||||
# the birthday is not known (the age is)
|
||||
"when is your birthday", "when's your birthday", "what's your birthday", "what day were you born", "생일이 언제야",
|
||||
"생일이 언제예요", "생일 언제야", "너 birthday 언제야", "생일이 며칠이에요",
|
||||
# a greeting with a question after it: the question decides
|
||||
"안녕 루미 상 받은 거 있어", "안녕 루미 쿳션이 뭐야", "안녕하세요 화장실 어디예요", "안녕 루미 날씨 어때",
|
||||
"안녕 오늘 뭐 해",
|
||||
# not known: the battery's lifetime in years, being another company's robot
|
||||
"battery 수명 몇 년이에요", "배터리 수명이 몇 년이에요", "배터리 몇 년 써요", "배터리 교체 주기가 어떻게 돼요",
|
||||
"how many years does the battery last", "when does the battery need replacing", "너 자카 로봇이야", "자카 거야",
|
||||
"jaka에서 만들었어", "are you a jaka robot", "are you made by jaka", "너 중국 회사 로봇 맞지", "hi lumi what is cutshion", "hello where is the toilet", "hi what's the weather",
|
||||
"hey lumi did cutshion win any awards", "hello can you help me", "안녕하세요 질문 있어요", "hi i have a question",
|
||||
],
|
||||
}
|
||||
|
||||
# new kinds: (wordings, {"en": [answers], "ko": [answers]})
|
||||
QUICK_KINDS = {
|
||||
"internet": ([
|
||||
"do you use the internet", "are you connected to the internet", "are you online", "do you need the internet",
|
||||
"do you use the cloud", "are you using the cloud", "do you need the cloud", "do you work without internet",
|
||||
"can you work offline", "can you go on the internet", "can you search the internet", "can you look things up online",
|
||||
"인터넷 써요", "인터넷 연결돼 있어", "인터넷 돼요", "인터넷 없이도 돼요", "인터넷 검색할 수 있어요", "인터넷에 연결돼 있어요",
|
||||
"클라우드 써요", "클라우드로 돌아가요", "클라우드 연결돼 있어", "오프라인으로도 돼요", "cloud 써요", "internet 돼요",
|
||||
"인터넷으로 찾아볼 수 있어", "온라인이야",
|
||||
], {"en": ["I think on my own computer, without the cloud. I use the internet only to look up the weather, the news and other facts.",
|
||||
"My language model runs on the robot itself. The internet I use only for lookups: the weather, news and facts from Wikipedia and Google News."],
|
||||
"ko": ["저는 클라우드 없이 제 컴퓨터에서 생각해요. 인터넷은 날씨, 뉴스, 그 밖의 정보를 찾아볼 때만 써요.",
|
||||
"제 언어 모델은 로봇 안에서 돌아가요. 인터넷은 날씨나 뉴스, 위키백과 같은 정보를 찾을 때만 써요."]}),
|
||||
"country": ([
|
||||
"what country are you from", "which country are you from", "which country made you", "what country made you",
|
||||
"are you from korea", "are you korean", "are you a korean robot", "are you made in korea", "were you made in korea",
|
||||
"are you from china", "are you chinese", "are you a chinese robot", "are you made in china", "are you japanese",
|
||||
"are you american", "is this robot korean", "where is this robot from", "what nationality are you",
|
||||
"어느 나라에서 왔어", "어느 나라에서 왔어요", "어느 나라 로봇이야", "어느 나라 로봇이에요", "어느 나라에서 만들었어요",
|
||||
"어느 나라 거예요", "어느 나라 제품이에요", "한국 로봇이야", "한국 로봇이에요", "한국에서 만들었어요", "국산이에요", "국산 로봇이야",
|
||||
"중국 로봇이야", "중국 로봇이에요", "중국산이에요", "중국에서 만들었어요", "일본 로봇이에요", "미국 로봇이야", "국적이 어디예요",
|
||||
"너 한국인이야", "메이드 인 코리아예요", "made in korea야", "너 korean robot이야", "너 어느 나라 robot이야", "중국 꺼야",
|
||||
], {"en": ["I'm from Korea: Cutshion Company in Seoul developed me.",
|
||||
"I'm a Korean robot. Cutshion Company, a robot company in Seoul, developed me."],
|
||||
"ko": ["저는 한국에서 왔어요. 서울에 있는 쿳션이 저를 개발했어요.",
|
||||
"저는 한국 로봇이에요. 서울의 로봇 회사 쿳션이 개발했어요."]}),
|
||||
"computer": ([
|
||||
"what computer do you use", "what computer do you have", "what's your computer", "what computer runs you",
|
||||
"what hardware do you run on", "what processor do you have", "what chip do you use", "what gpu do you have",
|
||||
"which computer is inside you", "what is your cpu", "do you use nvidia", "are you running on a jetson",
|
||||
"what's inside you", "what kind of computer are you", "how powerful is your computer", "how much memory do you have",
|
||||
"무슨 컴퓨터 써요", "어떤 컴퓨터 써", "컴퓨터 뭐 써요", "컴퓨터가 뭐예요", "어떤 컴퓨터가 들어 있어요", "무슨 칩 써요",
|
||||
"GPU 뭐 써요", "그래픽카드 뭐야", "프로세서가 뭐예요", "엔비디아 써요", "젯슨이에요", "안에 뭐가 들어 있어요",
|
||||
"메모리 얼마예요", "컴퓨터 성능이 어때요", "무슨 하드웨어로 돌아가요", "너 computer 뭐 써", "무슨 gpu야", "hardware 뭐 써요",
|
||||
], {"en": ["My computer is an NVIDIA Jetson AGX Thor, with a Blackwell graphics processor, 14 cores and 122 GB of memory.",
|
||||
"An NVIDIA Jetson AGX Thor with 122 GB of memory. It runs my speech recognition, my language model and my cameras, all on the robot."],
|
||||
"ko": ["제 컴퓨터는 엔비디아 젯슨 AGX 토르예요. 블랙웰 그래픽 프로세서, 코어 14개, 메모리 122GB가 있어요.",
|
||||
"엔비디아 젯슨 AGX 토르예요. 메모리는 122GB이고, 음성 인식, 언어 모델, 카메라를 모두 로봇 안에서 돌려요."]}),
|
||||
"dof": ([
|
||||
"how many joints do you have", "how many degrees of freedom do you have", "how many dof do you have",
|
||||
"how many axes do you have", "how many motors do you have", "how many joints does your arm have",
|
||||
"how many axes does your arm have", "how many parts can you move",
|
||||
"관절이 몇 개야", "관절이 몇 개예요", "자유도가 몇이에요", "몇 자유도예요", "몇 축이에요", "팔이 몇 축이야", "팔 관절 몇 개예요",
|
||||
"모터가 몇 개예요", "몸에서 움직이는 데가 어디예요", "너 dof 몇이야", "joint 몇 개야", "몇 축 로봇이에요",
|
||||
], {"en": ["I have 12 degrees of freedom: the lift, the waist, two head joints, six arm joints and two drive wheels.",
|
||||
"Twelve in all: my arm has six joints, my head two, then my waist, my lift and my two wheels."],
|
||||
"ko": ["자유도는 모두 12개예요. 리프트, 허리, 머리 관절 두 개, 팔 관절 여섯 개, 바퀴 두 개예요.",
|
||||
"모두 12축이에요. 팔이 6축, 머리가 2축이고, 허리, 리프트, 바퀴 두 개가 있어요."]}),
|
||||
"estop": ([
|
||||
"where is your emergency stop", "where's your emergency stop button", "where is the stop button", "how do i stop you",
|
||||
"how can i stop you in an emergency", "do you have an emergency stop", "is there an emergency button",
|
||||
"what if something goes wrong how do i stop you", "where is the red button", "how do we stop the robot",
|
||||
"비상 정지 버튼 어디 있어요", "비상 정지 버튼이 어디야", "비상 버튼 어디 있어", "정지 버튼이 어디예요", "빨간 버튼 어디 있어요",
|
||||
"어떻게 멈춰요", "위험할 때 어떻게 멈춰", "비상시에 어떻게 세워요", "비상 정지 있어요", "emergency stop 어디 있어요",
|
||||
"e-stop 버튼 어디야", "비상 스톱 어디예요",
|
||||
], {"en": ["There are red emergency stop buttons on my body and in my base. Pressing one stops my arm and my lift at once.",
|
||||
"Press one of my red emergency stop buttons, on my body or in my base: my arm and lift stop at once. You can also just say \"stop\"."],
|
||||
"ko": ["제 몸과 베이스에 빨간 비상 정지 버튼이 있어요. 누르면 팔과 리프트가 바로 멈춰요.",
|
||||
"몸이나 베이스에 있는 빨간 비상 정지 버튼을 누르시면 팔과 리프트가 바로 멈춰요. \"멈춰\"라고 말씀하셔도 돼요."]}),
|
||||
}
|
||||
|
||||
# slips, dialect and short forms heard in the blind rounds (the same meanings, other words)
|
||||
_MORE = {
|
||||
"name": [
|
||||
"wat is ur naem", "whats yer name", "what's yer name", "you name what", "your name what", "what name do they give you",
|
||||
"what name did they give you", "got a name", "got a name buddy", "what are they calling you", "name pls",
|
||||
"이름이 뭐라 카노", "이름이 뭐라카노", "이름 머라 카노", "니 이름 뭐라꼬", "이름이 뭐임 너", "이름이 뭐지", "얘 이름이 뭐지",
|
||||
"이름 뭐니 너", "이림이 뭐야", "일므이 뭐야", "이름이 머예요", "너 name 뭐야", "your name 알려 줘",
|
||||
],
|
||||
"who": [
|
||||
"you are what thing", "what thing are you", "what's your deal what are you", "so what are you", "what are you anyway",
|
||||
"넌 머야", "너 머야", "넌 머니", "너는 머임", "이건 뭐 하는 로봇이여", "뭐 하는 애니", "넌 무슨 로봇이고",
|
||||
],
|
||||
"age": [
|
||||
"how old r u robot", "how many years old r u", "are you a baby robot", "are you a young robot",
|
||||
"몇쌀이야", "몇 쌀이야", "멷 살이야", "몇 살 잡수셨어요", "연세가 어떻게 되십니까", "춘추가 어떻게 되세요", "나이가 몇 살이고",
|
||||
"몇 살인데", "나이 좀 알려 줘", "너 나이 몇", "how old 너는",
|
||||
],
|
||||
"maker": [
|
||||
"who made you robot", "who built you robot", "who's the maker of this robot", "which company makes you",
|
||||
"어디서 만든 로봇입니까", "어디서 만든 로봇이에요", "어디서 만든 로봇이야", "이거 어디 회사 기고", "어데 회사 로봇이고",
|
||||
"이거 누가 만들었노", "이 로봇 누가 만든 거예요", "어느 회사가 만들었어", "어디 거야 이 로봇", "who made 이 로봇",
|
||||
],
|
||||
"height": [
|
||||
"키가 몃이야", "키가 몇이예요", "키 몇 쎈치야", "키 몇 센치야", "키 몇 센치예요", "높이가 얼마예요", "높이가 몇이에요",
|
||||
"로봇 높이가 어떻게 돼요", "키 몇 미터야", "몇 미터예요 키가", "how high r you", "what's your height robot",
|
||||
],
|
||||
"weight": [
|
||||
"몇 키로나 나가노", "몇 키로 나가", "몇 킬로나 나가요", "무게 머야", "무게가 머예요", "무게 얼마야 너", "중량이 얼마예요",
|
||||
"몇 kg 나가요", "how heavy r u", "how many kilos do you weigh", "what's your weight robot",
|
||||
],
|
||||
"speed": [
|
||||
"how fast are you robot", "how fast do you go", "how quick are you", "얼마나 빨리 다녀", "빠르기가 어때요", "속도 머야",
|
||||
"몇 키로로 가요", "시속 몇이야",
|
||||
],
|
||||
"battery_life": [
|
||||
"does your battery run out quickly", "how long do you keep going", "how long can you keep going on one charge",
|
||||
"충전하면 얼마나 씁니까", "충전하면 얼마나 써", "사용 시간이 어떻게 돼요", "사용 시간이 얼마예요", "연속으로 얼마나 움직일 수 있어요",
|
||||
"연속 사용 시간이 얼마예요", "한 번 충전에 몇 시간이나 버팁니까", "한 번 충전에 몇 시간 버텨요", "너 battery 얼마나 가",
|
||||
"배터리 얼마나 가요 하루 종일 가요", "배터리 다 닳으려면 얼마나 걸려", "배터리 얼마나 오래 써요",
|
||||
],
|
||||
"languages": [
|
||||
"can i talk to you in german", "can i speak to you in japanese", "do you understand every language",
|
||||
"한국어 알아들어요", "한국말 알아들어", "한국어 알아듣니", "영어 돼요 너", "영어 되나", "사투리도 알아듣나", "사투리 알아들어요",
|
||||
"외국말도 알아들어", "중국말 할 줄 아나",
|
||||
],
|
||||
"model": [
|
||||
"do you use gemini", "are you gemini", "do you use llama", "are you claude", "is your ai from google",
|
||||
"AI 뭐 들어 있어", "어떤 AI가 들어 있어요", "대화는 어떤 AI가 해", "대화는 무슨 AI로 해요", "무슨 AI로 대답해요",
|
||||
"AI 뭐 써", "어떤 AI 들어가 있어",
|
||||
],
|
||||
"robot": [
|
||||
"do you get sad", "do you get angry", "do you get lonely", "you have feeling", "you have feelings", "do you dream",
|
||||
"can you dream", "꿈 꿔", "꿈 꿔요", "꿈을 꿔", "로봇도 감정이 있어요", "로봇도 감정 있어", "슬퍼할 줄 알아", "화낼 줄 알아",
|
||||
"외로움 느껴", "너 살아 있어", "살아 있는 거 맞아", "생각할 줄 알아",
|
||||
],
|
||||
"no": [
|
||||
"몇 년도에 세웠어", "언제 세웠어요", "언제 설립했어", "설립 연도가 언제예요", "회사 언제 세워졌어요",
|
||||
"요즘 무슨 일 있어", "요즘 경제가 어때요", "요즘 경제 어때", "경기가 어때요", "요즘 뉴스 뭐 있어",
|
||||
"how heavy can you lift", "can i lift you", "내가 너 들 수 있어", "are you taller than me", "are you taller than my dad",
|
||||
"could you beat me in a race", "나랑 달리기 하면 누가 이겨", "who is faster you or me",
|
||||
"로봇은 어디서 만들어요", "로봇은 어디서 만들어", "where are the robots made", "where is the factory", "공장이 어디예요",
|
||||
"쿳션 공장 어디 있어요", "where does cutshion build its robots",
|
||||
],
|
||||
}
|
||||
for _k, _v in _MORE.items():
|
||||
QUICK.setdefault(_k, []).extend(_v)
|
||||
|
||||
QUICK_KINDS["used_where"] = ([
|
||||
"where are you used", "where can you be used", "where do you work", "what places are you made for",
|
||||
"what were you made for", "what were you built for", "who are you made for", "where would you be useful",
|
||||
"어디에 쓰여요", "어디서 쓰는 로봇이에요", "어떤 데서 쓰라고 만들었어", "어디에 쓰려고 만들었어요", "어디서 일해요",
|
||||
"어떤 곳에서 써요", "무슨 용도로 만들었어요", "용도가 뭐예요", "어디에 쓸 수 있어", "너 용도가 뭐야", "어디서 쓰는 거야",
|
||||
], {"en": ["I'm made for shops, hotels, schools, labs and exhibitions.",
|
||||
"Places like shops, hotels, schools, research labs and exhibitions, where I greet, guide and help people."],
|
||||
"ko": ["저는 상점, 호텔, 학교, 연구실, 전시회에서 쓸 수 있게 만들어졌어요.",
|
||||
"상점, 호텔, 학교, 연구실, 전시회 같은 곳에서 사람들을 맞이하고 안내하고 도와요."]})
|
||||
|
||||
QUICK_KINDS["stt"] = ([
|
||||
"how do you understand speech", "how do you understand what i say", "what speech recognition do you use",
|
||||
"what do you use for speech recognition", "how do you hear words", "what turns my voice into text",
|
||||
"do you use whisper", "what's your speech to text", "how do you recognise speech",
|
||||
"말 알아듣는 건 뭘로 해요", "말은 어떻게 알아들어요", "음성 인식 뭐 써요", "음성 인식은 뭘로 해", "음성 인식 엔진이 뭐예요",
|
||||
"말을 어떻게 알아듣니", "목소리를 어떻게 글로 바꿔요", "위스퍼 써요", "speech recognition 뭐 써요", "STT 뭐 써",
|
||||
], {"en": ["I turn speech into text with Whisper, the large-v3-turbo model, running on my own computer.",
|
||||
"With Whisper: it runs right here on my NVIDIA computer and writes down what you say."],
|
||||
"ko": ["말소리는 위스퍼(Whisper) large-v3-turbo 모델로 글자로 바꿔요. 제 컴퓨터에서 직접 돌아가요.",
|
||||
"위스퍼라는 음성 인식 모델로 알아들어요. 제 엔비디아 컴퓨터에서 돌아가요."]})
|
||||
QUICK_KINDS["reply_time"] = ([
|
||||
"how fast do you answer", "how quickly can you respond", "how quickly do you reply", "how long do you take to answer",
|
||||
"how fast do you respond to a question", "how long until you answer", "what's your response time",
|
||||
"얼마나 빨리 대답해요", "대답하는 데 얼마나 걸려요", "대답 속도가 어때요", "답하는 데 몇 초 걸려", "반응 속도가 얼마예요",
|
||||
"말하면 얼마 만에 대답해요", "response time 얼마야",
|
||||
], {"en": ["My first words come about two seconds after a question.",
|
||||
"About two seconds: that's when my first words come after you ask."],
|
||||
"ko": ["질문하시고 약 2초 뒤에 첫마디가 나와요.", "대답은 질문 후 약 2초 안에 시작해요."]})
|
||||
QUICK["no"] += [
|
||||
"몇 센티 오차예요", "오차가 몇 센티야", "위치 오차가 얼마예요", "how accurate is your position", "how precise is your map position",
|
||||
"how accurate is your arm", "팔 정확도가 얼마예요", "반복 정밀도가 얼마예요", "what's your repeatability",
|
||||
]
|
||||
QUICK_KINDS["tts"] = ([
|
||||
"what text to speech do you use", "what text-to-speech do you use", "what's your tts", "how do you speak",
|
||||
"how do you make your voice", "what voice engine do you use", "where does your voice come from", "what makes your voice",
|
||||
"목소리는 뭘로 내요", "음성 합성 뭐 써요", "TTS 뭐 써", "목소리 어떻게 만들어요", "말소리는 어떻게 내요", "너 목소리 뭐야",
|
||||
], {"en": ["I speak with a text-to-speech engine called Supertonic, through my speaker.",
|
||||
"My voice comes from Supertonic, a text-to-speech engine running on my own computer."],
|
||||
"ko": ["슈퍼토닉(Supertonic)이라는 TTS로 목소리를 내요.", "제 목소리는 슈퍼토닉이라는 음성 합성 엔진으로 만들어요."]})
|
||||
QUICK_KINDS["mics"] = ([
|
||||
"how do you hear me", "what do you hear with", "how many microphones do you have", "do you have microphones",
|
||||
"where are your microphones", "how far can you hear", "can you tell where a voice comes from",
|
||||
"소리는 무엇으로 들으십니까", "소리는 뭘로 들어요", "마이크 몇 개예요", "마이크 있어요", "마이크가 어디 있어", "얼마나 멀리서 들려요",
|
||||
"귀가 어디야", "어떻게 들어요", "소리 어떻게 들어",
|
||||
], {"en": ["I hear with a ring of six microphones in my head, from about 3 to 5 metres away, and I can tell where a voice comes from.",
|
||||
"Six microphones in my head: they hear people 3 to 5 metres away and tell me which direction a voice comes from."],
|
||||
"ko": ["머리에 있는 마이크 6개로 들어요. 3에서 5미터 거리까지 듣고, 목소리가 어느 쪽에서 오는지도 알 수 있어요.",
|
||||
"머리에 마이크가 6개 있어요. 3~5미터 떨어진 목소리를 듣고 방향도 알아요."]})
|
||||
QUICK["no"] += ["can you hear me", "do you hear me", "들려", "내 말 들려요", "제 말 들리세요", "hello can you hear me",
|
||||
"are you listening", "듣고 있어"]
|
||||
QUICK["no"] += [
|
||||
# orders that sound like these questions: the rules or the LLM, never a fact
|
||||
"키 줄여 줘", "키 다운 해 줘", "키 업 해 줘", "키를 올려 보시오", "키 좀 높여 줘", "키 올려", "키 내려", "키 낮춰 줘", "키 키워 줘",
|
||||
"robot stretch up tall", "robot more tall please", "grow taller", "get taller", "be shorter", "stretch up",
|
||||
"몸 올려요 로봇", "몸 내려요 로봇", "몸 올려", "몸 내려", "손 좀 내밀어 주세요", "손 내밀어", "손 줘",
|
||||
"hey robot wave like a person", "wave like a human", "hello robot follow follow", "hi lumi follow me", "hello lumi come here",
|
||||
"안녕 루미 이리 와", "루미야 루미야 그만해요", "그만해요", "그만해", "기분이 다운됐어", "나 기분 안 좋아",
|
||||
"how much longer will you wait", "how long are you waiting", "how long will you wait", "what's the job", "what's your task now",
|
||||
"introduce yourself then turn to your left", "자기소개하고 왼쪽 봐", "고개 숙이고 이름 알려 줘", "오른쪽 보고 나이 말해 줘",
|
||||
]
|
||||
Reference in New Issue
Block a user