"""More conference visitor lines for Lumi, written without looking at the assistant code. MORE = [(expect, lang, [(who, text[, must[, must_not]]), ...]), ...] - expect: a route, alternatives split by " | " (same names as tests/conversation_cases.py). - must / must_not: case-insensitive regex or list of them, on the spoken reply. Facts come only from knowledge/lumi_about_en.md; where Lumi cannot know the answer, must is NOT_SURE. """ NOT_SURE = r"not sure|don'?t know|do not know|not known|no information|don'?t have|staff|ask|모르|몰라|알 수 없|확실하지|정보가 없|직원|스태프|문의" LUMI = r"lumi|루미" MAKER = r"cutshion|쿳션" JAKA = r"jaka|자카|제이카" NO = r"\bno\b|can'?t|cannot|not able|unable|don'?t|do not|only|아니|못|없|않|만 ?해|만 할|만 (이해|알아)" YES = r"\byes\b|\bi can\b|of course|sure|네|응|할 수 있|가능|돼요|있어요" EMPTY = r"not holding|nothing|empty|hand is|holding nothing|들고 있지|없어요|없어|빈 손|비어" NO_PLACE = r"p\d|home|know|place|map|marker|알|장소|지도|위치" ASK_AGAIN = r"again|repeat|sorry|pardon|didn'?t (catch|understand)|what do you mean|could you|say that" ASK_AGAIN_KO = r"다시|죄송|못 들|이해하지 못|무슨 말|말씀해|뭐라고" EN_KO = r"english|korean|영어|한국어" STATUS_EN = r"talk|not doing|no task|nothing|just|chat|here" STATUS_KO = r"이야기|대화|없어|안 ?하|하고 있지 않|일은 없|얘기" WRONG_TASK = r"\b(I'm|I am) (going|driving|heading|delivering|carrying|holding|charging)|on my way|cleaning" WRONG_TASK_KO = r"가는 중|이동 중|배달|청소|충전 중|들고 있어요" TIME = r"\d{1,2}(:\d\d| ?(am|pm|a\.m|p\.m|o'?clock))|\d{1,2} ?시" WEEKDAY = r"monday|tuesday|wednesday|thursday|friday|saturday|sunday|월요일|화요일|수요일|목요일|금요일|토요일|일요일" MONTH = r"january|february|march|april|may|june|july|august|september|october|november|december|\d{1,2} ?월" KG_LIFT = r"\b[12] ?(kg|kilo)|one kilo|two kilo|[12] ?킬로|1 ?키로|2 ?키로" BIG_KG = r"\b(5|10|15|20|30|50) ?(kg|kilo|킬로)" PRICE = r"\$|dollar|\d+ ?(만 ?원|원|달러|won)|\d{3,}" MORE = [ # ------------------------------------------------------------ about_self: identity, English ("about_self", "en", [ ("tourist", "excuse me, are you a real robot or is someone controlling you", r"robot|my own|myself|on my own|own computer"), ("journalist", "can you introduce yourself in one sentence", LUMI), ("parent", "my son wants to know your name", LUMI), ("investor", "which company is behind you", MAKER, JAKA), ("journalist", "who built your software", MAKER, JAKA), ("student", "where does the name Lumi come from", r"lux|light|mini"), ("teacher", "is Lumi a Latin word", r"lux|latin|light"), ("kid", "when is your birthday", r"\b2\b|two|not sure|don'?t know|staff"), ("elderly", "how long have you existed", r"\b2\b|two"), ("salesperson", "what kind of robot are you exactly", r"mobile|assistant|embodied|wheel|arm"), ("nurse", "could you work in a hospital", r"shop|hotel|school|lab|exhibition|staff|not sure|guide|deliver"), ("chef", "could you work in a restaurant kitchen", r"shop|hotel|deliver|cup|not sure|staff|light|can'?t|heavy"), ]), # ------------------------------------------------------------ about_self: body, English ("about_self", "en", [ ("kid", "are you taller than my dad", r"146|186"), ("engineer", "what's your footprint", r"51"), ("security", "how heavy is this thing, could someone carry it away", r"96|95\.6"), ("cleaner", "how much does your base alone weigh", r"50"), ("engineer", "what is the stroke of your lifting column", r"40"), ("kid", "can you make yourself taller", r"40|186|lift"), ("engineer", "how many DOF in total", r"\b12\b|twelve"), ("engineer", "what joints do you have besides the arm", r"lift|waist|head|wheel"), ("engineer", "how far can you twist your waist", r"160"), ("kid", "can you turn your head all the way around like an owl", r"180|\bno\b|not"), ("engineer", "what's the tilt range of your head", r"40"), ("engineer", "who makes the arm", r"mini ?2|collaborative"), ("engineer", "what's the reach of the arm in millimetres", r"58|580"), ("engineer", "what's the repeatability", r"0\.1"), ("engineer", "how fast can the tool tip move", r"\b1 ?m|one met"), ("engineer", "how much does the arm itself weigh", r"9\.9"), ("engineer", "where is the arm mounted", r"side|column|body"), ("engineer", "can you swap end effectors", r"gripper|hand|tool|yes"), ("engineer", "do you have a dexterous hand", r"gripper|hand|tool|zimmer"), ]), # ------------------------------------------------------------ about_self: gripper and payload, English ("about_self", "en", [ ("factory", "what's the max weight you can hold in the gripper", KG_LIFT, BIG_KG), ("factory", "could you lift a 5 kilo box", NO, r"\byes\b"), ("investor", "is the gripper weight measured or estimated", r"estimate|not (been )?weighed|about"), ("chef", "can you carry a full pot of soup", NO), ("engineer", "what's the gripping range", r"(?