"""Cup-task wordings for the intent bank (F1, night 4): fetch from a place said in every way ("the cup on p2", "p2에 있는 컵", "피원 컵을", "move the cup from A to B", "옮겨"), at every Korean level; and "no": the same words reported, asked about, put off or taken back (nothing moves). The words decide the fields (brain.parse_fetch).""" _KO_FETCH = ["에 있는 가져와", "에 있는 좀 갖다 줘", "에 놓인 가져와", " 가져와", "의 가져다 줘", " 위에 있는 가져와", "에서 집어서 가져와", "에서 들고 와", "에 있는 을 여기로 가져와", "에서 좀 챙겨 와", "에 있는 옮겨 와"] _KO_END = [("가져와", ["가져와", "가져와요", "가져오세요", "가져오십시오", "가져와 주세요", "가져와 주시겠어요?", "가져와 주시겠습니까?", "가져와 줄래?", "가져오게", "가져와 주게나", "가져온나", "가져와유", "가져와 주이소", "가져와 주실 수 있으신가요?", "가져와 주시면 감사하겠습니다"]), ("갖다 줘", ["갖다 줘", "갖다 주세요", "갖다 주십시오", "갖다 주실래요?", "갖다 주게", "갖다 줘유", "갖다 주이소", "갖다 주시겠어요?", "갖다 드려 주세요"]), ("가져다 줘", ["가져다 줘", "가져다 주세요", "가져다 주십시오", "가져다 주시겠습니까?", "가져다 주게나"]), ("들고 와", ["들고 와", "들고 와요", "들고 오세요", "들고 오십시오"]), ("챙겨 와", ["챙겨 와", "챙겨 와요", "챙겨 오세요"]), ("옮겨 와", ["옮겨 와", "옮겨 와 주세요", "옮겨 오십시오"])] _EN_FETCH = ["bring me the on ", "get me the that's on ", "fetch the sitting at ", "grab the at and bring it here", "bring the over from ", " , bring it to me", "go to , get the and bring it back to me", "pick up the at and bring it to me", "the on , could you fetch it", "move the from over here", "carry the from to me"] _EN_FRAME = ["{}", "please {}", "could you {}", "would you mind, {}", "can you {} for me", "{} please", "lumi, {}", "hey robot, {}", "excuse me, {}", "i need you to {}", "{} real quick", "do me a favour and {}"] _NO = ["did you bring the from ?", "you brought the from yesterday", "can you bring cups at all?", "don't bring the from ", "i'll bring the from myself", "tomorrow bring the ", "maybe later you can bring the from ", "my friend brought the from ", "she asked whether you can fetch things", "bring me the from , no wait, never mind", "에서 가져왔어?", "어제 가져왔지?", "에서 가져오지 마", "내가 가져올게", "나중에 가져와 줘", " 가져올 수 있어?", "친구가 에서 가져왔대", " 가져오는 거 봤어", "에서 가져와, 아 아니다 됐어", " 가져오시면 안 됩니다", " 가져다 주실 필요 없어요", "할머니가 가져오라고 하셨는데 괜찮아", " 가져오는 건 내일 해", "에서 가져다 줄 수 있나 궁금하네"] def _ko(): """Each wording with the endings of every level for its verb.""" out = [] for base in _KO_FETCH: for verb, ends in _KO_END: if base.endswith(verb): out += [f"{base[:-len(verb)].rstrip()} {e}" for e in ends] return out INTENT = {"fetch": sorted(set(_ko() + [f.format(c) for c in _EN_FETCH for f in _EN_FRAME])), "no": _NO}