diff --git a/DST_DP_lab_9-10/DST.py b/DST_DP_lab_9-10/DST.py deleted file mode 100644 index 15a8904..0000000 --- a/DST_DP_lab_9-10/DST.py +++ /dev/null @@ -1,51 +0,0 @@ -from dialogue_state import default_state - - -# Monitor stanu dialogu -class DST: - def __init__(self): - self.state = default_state() - - def update(self, user_act=None): - for intent, domain, slot, value in user_act: - domain = domain.lower() - intent = intent.lower() - slot = slot.lower() - - k = slot - - if 'inform' in intent: - - if k is None: - continue - - domain_dic = self.state['belief_state'][domain] - - if k in domain_dic['semi']: - self.state['belief_state'][domain]['semi'][k] = value - elif k in domain_dic['book']: - self.state['belief_state'][domain]['book'][k] = value - - if 'request' in intent: - - if domain not in self.state['request_state']: - self.state['request_state'][domain] = {} - if k not in self.state['request_state'][domain]: - self.state['request_state'][domain][k] = 0 - - self.state['user_action'].append([intent, domain, slot, value]) - - return self.state - - def init_session(self): - self.state = default_state() - - -# Przykładowe uruchomienie dla kodu w izolacji -""" -dst = DST() -print(dst.state) - -dst.update([['hello_inform', 'Cinema', 'Price', '15 zł'], ['Inform', 'Cinema', 'Movie', 'Batman']]) -print(dst.state) -""" diff --git a/DST_DP_lab_9-10/__pycache__/dialogue_state.cpython-37.pyc b/DST_DP_lab_9-10/__pycache__/dialogue_state.cpython-37.pyc deleted file mode 100644 index 2d2fdfe..0000000 Binary files a/DST_DP_lab_9-10/__pycache__/dialogue_state.cpython-37.pyc and /dev/null differ diff --git a/NLU_lab_7-8/NLU.py b/NLU_lab_7-8/NLU.py deleted file mode 100644 index bbb5ef1..0000000 --- a/NLU_lab_7-8/NLU.py +++ /dev/null @@ -1,115 +0,0 @@ -from conllu import parse_incr -from flair.data import Corpus, Sentence, Token -from flair.datasets import SentenceDataset -from flair.embeddings import StackedEmbeddings -from flair.embeddings import WordEmbeddings -from flair.embeddings import CharacterEmbeddings -from flair.embeddings import FlairEmbeddings -from flair.models import SequenceTagger -from flair.trainers import ModelTrainer -import random -import torch -import os - - -class NLU: - def __init__(self): - self.model = None - - def nolabel2o(self, line, i): - return 'O' if line[i] == 'NoLabel' else line[i] - - def conllu2flair(self, sentences, label=None): - fsentences = [] - for sentence in sentences: - fsentence = Sentence() - for token in sentence: - ftoken = Token(token['form']) - if label: - ftoken.add_tag(label, token[label]) - fsentence.add_token(ftoken) - fsentences.append(fsentence) - return SentenceDataset(fsentences) - - def load_model(self, model_path): - self.model = SequenceTagger.load(model_path) - - def train_model(self, train_path, test_path): - fields = ['id', 'form', 'frame', 'slot'] - - with open(train_path, encoding='utf-8') as trainfile: - trainset = list(parse_incr(trainfile, fields=fields, field_parsers={'slot': self.nolabel2o})) - with open(test_path, encoding='utf-8') as testfile: - testset = list(parse_incr(testfile, fields=fields, field_parsers={'slot': self.nolabel2o})) - - random.seed(42) - torch.manual_seed(42) - - if torch.cuda.is_available(): - torch.cuda.manual_seed(0) - torch.cuda.manual_seed_all(0) - torch.backends.cudnn.enabled = False - torch.backends.cudnn.benchmark = False - torch.backends.cudnn.deterministic = True - - corpus = Corpus(train=self.conllu2flair(trainset, 'slot'), test=self.conllu2flair(testset, 'slot')) - - tag_dictionary = corpus.make_tag_dictionary(tag_type='slot') - - embedding_types = [ - WordEmbeddings('pl'), - FlairEmbeddings('pl-forward'), - FlairEmbeddings('pl-backward'), - CharacterEmbeddings(), - ] - - embeddings = StackedEmbeddings(embeddings=embedding_types) - tagger = SequenceTagger(hidden_size=256, embeddings=embeddings, - tag_dictionary=tag_dictionary, - tag_type='slot', use_crf=True) - - if not os.path.isdir('slot-model-pl'): - trainer = ModelTrainer(tagger, corpus) - trainer.train('slot-model-pl', - learning_rate=0.1, - mini_batch_size=32, - max_epochs=10, - train_with_dev=True) - - try: - self.load_model('slot-model-pl/best-model.pt') - except: - self.load_model('slot-model-pl/final-model.pt') - - # Tworzenie osobnego pliku z metrykami dla modelu - log_file = open('slot-model-pl/training.log', encoding='utf-8') - log_lines = log_file.readlines() - log_file.close() - with open('slot-model-pl/training.log', encoding='utf-8') as log_file, open('evaluation.txt', 'w', - encoding='utf-8') \ - as eval_file: - for num, line in enumerate(log_file): - if line == 'Results:\n': - lines_to_write_start = num - eval_file.write('*** This evaluation file was generated automatically by the training script ***\n\n') - for line in log_lines[lines_to_write_start:]: - eval_file.write(line) - - def predict(self, sentence): - sentence = sentence.split() - csentence = [{'form': word} for word in sentence] - fsentence = self.conllu2flair([csentence])[0] - self.model.predict(fsentence) - return [(token, ftoken.get_tag('slot').value) for token, ftoken in zip(sentence, fsentence)] - - -# Można przetestować... -# nlu = NLU() -# nlu.train_model('train-pl.conllu', 'test-pl.conllu') -# lub -# nlu.load_model('slot-model-pl/final-model.pt') -# print(nlu.predict("Poproszę jeden bilet na film Batman na imię Jan Kowalski")) - -# Zwrócone: -# [('Poproszę', 'O'), ('jeden', 'O'), ('bilet', 'O'), ('na', 'O'), ('film', 'O'), ('Batman', 'B-movie'), -# ('na', 'O'), ('imię', 'O'), ('Jan', 'B-name'), ('Kowalski', 'I-name')] diff --git a/NLU_lab_7-8/evaluation.txt b/NLU_lab_7-8/evaluation.txt deleted file mode 100644 index 01ce4a8..0000000 --- a/NLU_lab_7-8/evaluation.txt +++ /dev/null @@ -1,32 +0,0 @@ -*** This evaluation file was generated automatically by the training script *** - -Results: -- F-score (micro) 0.2609 -- F-score (macro) 0.1489 -- Accuracy 0.1538 - -By class: - precision recall f1-score support - - name 0.1429 0.2000 0.1667 5 - ticketnumber 0.5000 1.0000 0.6667 3 - movie 0.3333 0.5000 0.4000 2 - seat 0.0000 0.0000 0.0000 3 - e-mail 0.0000 0.0000 0.0000 3 - phone 1.0000 1.0000 1.0000 1 - title 0.0000 0.0000 0.0000 2 - row 0.0000 0.0000 0.0000 2 - reducedQuantity 0.0000 0.0000 0.0000 2 - purchaseType 0.0000 0.0000 0.0000 1 -bankAccountNumber 0.0000 0.0000 0.0000 1 - email 0.0000 0.0000 0.0000 1 - hour 0.0000 0.0000 0.0000 1 - time 0.0000 0.0000 0.0000 1 - seatPlacement 0.0000 0.0000 0.0000 1 - - micro avg 0.3529 0.2069 0.2609 29 - macro avg 0.1317 0.1800 0.1489 29 - weighted avg 0.1338 0.2069 0.1598 29 - samples avg 0.1538 0.1538 0.1538 29 - -2022-05-06 21:01:49,500 ---------------------------------------------------------------------------------------------------- diff --git a/NLU_lab_7-8/test-pl.conllu b/NLU_lab_7-8/test-pl.conllu deleted file mode 100644 index 41691c8..0000000 --- a/NLU_lab_7-8/test-pl.conllu +++ /dev/null @@ -1,545 +0,0 @@ -# text: Dzień dobry -# intent: hello -# slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel - -# text: wybieram 18:00 -# intent: inform -# slots: 18:00:hour -1 wybieram inform NoLabel -2 18:00 inform B-hour - -# text: Tak -# intent: act -# slots: -1 Tak act NoLabel - -# text: 1 -# intent: inform -# slots: 1:rowplacement -1 1 inform B-rowplacement - -# text: 16.03 -# intent: inform -# slots: 16.03:date -1 16.03 inform B-date - -# text: przez internet -# intent: inform -# slots: przezinternet:purchaseType -1 przez inform B-purchaseType -2 internet inform I-purchaseType - -# text: 485554893 -# intent: inform -# slots: 485554893:phone -1 485554893 inform B-phone - -# text: Ile kosztują bielty na Sing 2? -# intent: request -# slots: -1 Ile request NoLabel -2 kosztują request NoLabel -3 bielty request NoLabel -4 na request NoLabel -5 Sing request NoLabel -6 2 request NoLabel -7 ? request NoLabel - -# text: Rozumiem. Dziękuję -# intent: ack thankyou -# slots: -1 Rozumiem ack_thankyou NoLabel -2 . ack_thankyou NoLabel -3 Dziękuję ack_thankyou NoLabel - -# text: emkarcinos42069@buziaczek.pl 123123123 -# intent: inform inform -# slots: 123123123:phone -1 emkarcinos42069@buziaczek.pl inform_inform NoLabel -2 123123123 inform_inform B-phone - -# text: Dzień dobry -# intent: hello -# slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel - -# text: Chcialbym bilet na Batman -# intent: request request -# slots: Batman:movie -1 Chcialbym request_request NoLabel -2 bilet request_request NoLabel -3 na request_request NoLabel -4 Batman request_request B-movie - -# text: lalalalili@gmai.com, 111222111 -# intent: inform inform -# slots: 111222111:phone -1 lalalalili@gmai.com, inform_inform NoLabel -2 111222111 inform_inform B-phone - -# text: Co w przypadku gdy się spóźnie? -# intent: reqmore -# slots: -1 Co reqmore NoLabel -2 w reqmore NoLabel -3 przypadku reqmore NoLabel -4 gdy reqmore NoLabel -5 się reqmore NoLabel -6 spóźnie reqmore NoLabel -7 ? reqmore NoLabel - -# text: Cześć -# intent: hello -# slots: -1 Cześć hello NoLabel - -# text: Poproszę bilet na ostatni seans Batmana -# intent: inform inform -# slots: ostatni:time -1 Poproszę inform_inform NoLabel -2 bilet inform_inform NoLabel -3 na inform_inform NoLabel -4 ostatni inform_inform B-time -5 seans inform_inform NoLabel -6 Batmana inform_inform NoLabel - -# text: Chciałbym kupić seans -# intent: request -# slots: -1 Chciałbym request NoLabel -2 kupić request NoLabel -3 seans request NoLabel - -# text: chciałbym się dowiedzieć co będzie 25 marca -# intent: request -# slots: -1 chciałbym request NoLabel -2 się request NoLabel -3 dowiedzieć request NoLabel -4 co request NoLabel -5 będzie request NoLabel -6 25 request NoLabel -7 marca request NoLabel - -# text: Jan Kowalski -# intent: inform -# slots: JanKowalski:name -1 Jan inform B-name -2 Kowalski inform I-name - -# text: Jakie są godziny tych seansów? -# intent: request -# slots: -1 Jakie request NoLabel -2 są request NoLabel -3 godziny request NoLabel -4 tych request NoLabel -5 seansów request NoLabel -6 ? request NoLabel - -# text: Tak -# intent: affirm -# slots: -1 Tak affirm NoLabel - -# text: Jeden ulgowy jeden senior -# intent: inform -# slots: senior:tickettype -1 Jeden inform_ NoLabel -2 ulgowy inform_ NoLabel -3 jeden inform_ NoLabel -4 senior inform_ B-tickettype - -# text: Tak -# intent: affirm -# slots: -1 Tak affirm NoLabel - -# text: poproszę o miejsce 5 w rzędzie 10 -# intent: inform -# slots: 5:seat,10:row -1 poproszę inform NoLabel -2 o inform NoLabel -3 miejsce inform NoLabel -4 5 inform B-seat -5 w inform NoLabel -6 rzędzie inform NoLabel -7 10 inform B-row - -# text: Nie wiem czy masz jakieś propozycję na dziś ? -# intent: request -# slots: -1 Nie request NoLabel -2 wiem request NoLabel -3 czy request NoLabel -4 masz request NoLabel -5 jakieś request NoLabel -6 propozycję request NoLabel -7 na request NoLabel -8 dziś request NoLabel -9 ? request NoLabel - -# text: chciałbym kupić bilet ale nie wiem na co -# intent: help -# slots: -1 chciałbym help NoLabel -2 kupić help NoLabel -3 bilet help NoLabel -4 ale help NoLabel -5 nie help NoLabel -6 wiem help NoLabel -7 na help NoLabel -8 co help NoLabel - -# text: 30 marca o godzinie 12:10 -# intent: inform inform -# slots: 12:10:hour -1 30 inform_inform NoLabel -2 marca inform_inform NoLabel -3 o inform_inform NoLabel -4 godzinie inform_inform NoLabel -5 12:10 inform_inform B-hour - -# text: Chciałbym kupić bilet na NajlepszaNAzwaFilmu -# intent: request inform -# slots: NajlepszaNAzwaFilmu:movie -1 Chciałbym request_inform NoLabel -2 kupić request_inform NoLabel -3 bilet request_inform NoLabel -4 na request_inform NoLabel -5 NajlepszaNAzwaFilmu request_inform B-movie - -# text: Chciałbym zarezerwować film -# intent: null -# slots: -1 Chciałbym null NoLabel -2 zarezerwować null NoLabel -3 film null NoLabel - -# text: A później nie ma? -# intent: reqmore -# slots: -1 A reqmore NoLabel -2 później reqmore NoLabel -3 nie reqmore NoLabel -4 ma reqmore NoLabel -5 ? reqmore NoLabel - -# text: Jedno dla mnie, drugie dla kota -# intent: infrom -# slots: 2:quantity -1 Jedno infrom NoLabel -2 dla infrom NoLabel -3 mnie infrom NoLabel -4 , infrom NoLabel -5 drugie infrom NoLabel -6 dla infrom NoLabel -7 kota infrom NoLabel - -# text: To jeden tylko dla mnie proszę -# intent: inform -# slots: jeden:quantity -1 To inform NoLabel -2 jeden inform B-quantity -3 tylko inform NoLabel -4 dla inform NoLabel -5 mnie inform NoLabel -6 proszę inform NoLabel - -# text: A gdzie się znajduje? -# intent: reqmore -# slots: -1 A reqmore NoLabel -2 gdzie reqmore NoLabel -3 się reqmore NoLabel -4 znajduje reqmore NoLabel -5 ? reqmore NoLabel - -# text: na moje -# intent: null -# slots: -1 na null NoLabel -2 moje null NoLabel - -# text: Chciałbym kupić bilet -# intent: inform -# slots: book:task -1 Chciałbym inform NoLabel -2 kupić inform NoLabel -3 bilet inform NoLabel - -# text: nie jestem pewien, za ile jest bilet? -# intent: reqmore -# slots: -1 nie reqmore NoLabel -2 jestem reqmore NoLabel -3 pewien reqmore NoLabel -4 , reqmore NoLabel -5 za reqmore NoLabel -6 ile reqmore NoLabel -7 jest reqmore NoLabel -8 bilet reqmore NoLabel -9 ? reqmore NoLabel - -# text: A Uncharted -# intent: inform request -# slots: Uncharted:title -1 A inform_request NoLabel -2 Uncharted inform_request B-title - -# text: Jakie płatności przyjmujecie? -# intent: request -# slots: -1 Jakie request NoLabel -2 płatności request NoLabel -3 przyjmujecie request NoLabel -4 ? request NoLabel - -# text: Dzień dobry. -# intent: hello -# slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel -3 . hello NoLabel - -# text: pierwszy rząd -# intent: inform -# slots: pierwszy:row -1 pierwszy inform B-row -2 rząd inform NoLabel - -# text: Chcę dokonać zakupu -# intent: inform -# slots: buy:task -1 Chcę inform NoLabel -2 dokonać inform NoLabel -3 zakupu inform NoLabel - -# text: dowidzenia -# intent: bye -# slots: -1 dowidzenia bye NoLabel - -# text: Jakub Kaczmarek -# intent: inform -# slots: JanKaczmarek:name -1 Jakub inform NoLabel -2 Kaczmarek inform NoLabel - -# text: Dzień dobry -# intent: hello -# slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel - -# text: Nie dostałam potwierdzenia -# intent: help -# slots: Niedostałampotwierdzenia:issue -1 Nie help B-issue -2 dostałam help I-issue -3 potwierdzenia help I-issue - -# text: Dzień dobry -# intent: hello -# slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel - -# text: z tyłu, na środku (aby ekran był centralnie widoczny) -# intent: inform -# slots: -1 z inform NoLabel -2 tyłu inform NoLabel -3 , inform NoLabel -4 na inform NoLabel -5 środku inform NoLabel -6 ( inform NoLabel -7 aby inform NoLabel -8 ekran inform NoLabel -9 był inform NoLabel -10 centralnie inform NoLabel -11 widoczny inform NoLabel -12 ) inform NoLabel - -# text: Poproszę miejsce 11 w przedostatnim rzędzie. I 7 w ostatnim rzędzie -# intent: inform inform -# slots: 7wostatnimrzędzie:seat -1 Poproszę inform_inform NoLabel -2 miejsce inform_inform NoLabel -3 11 inform_inform NoLabel -4 w inform_inform NoLabel -5 przedostatnim inform_inform NoLabel -6 rzędzie inform_inform NoLabel -7 . inform_inform NoLabel -8 I inform_inform NoLabel -9 7 inform_inform B-seat -10 w inform_inform I-seat -11 ostatnim inform_inform I-seat -12 rzędzie inform_inform I-seat - -# text: Chciałbym anulować rezerwację -# intent: deny inform -# slots: reservation:task -1 Chciałbym deny_inform NoLabel -2 anulować deny_inform NoLabel -3 rezerwację deny_inform NoLabel - -# text: Chciałbym zarezerwować bilety na Batman i zemsta Muminków jutro o 21:00 -# intent: request request request request -# slots: 21:00:hour -1 Chciałbym request_request_request_request NoLabel -2 zarezerwować request_request_request_request NoLabel -3 bilety request_request_request_request NoLabel -4 na request_request_request_request NoLabel -5 Batman request_request_request_request NoLabel -6 i request_request_request_request NoLabel -7 zemsta request_request_request_request NoLabel -8 Muminków request_request_request_request NoLabel -9 jutro request_request_request_request NoLabel -10 o request_request_request_request NoLabel -11 21:00 request_request_request_request B-hour - -# text: Nie, rozmyśliłam się. -# intent: deny -# slots: cancelbook:task -1 Nie deny NoLabel -2 , deny NoLabel -3 rozmyśliłam deny NoLabel -4 się deny NoLabel -5 . deny NoLabel - -# text: To 12 i 13 w J proszę -# intent: inform inform inform -# slots: 13:seat -1 To inform_inform_inform NoLabel -2 12 inform_inform_inform NoLabel -3 i inform_inform_inform NoLabel -4 13 inform_inform_inform B-seat -5 w inform_inform_inform NoLabel -6 J inform_inform_inform NoLabel -7 proszę inform_inform_inform NoLabel - -# text: Jeden dla mnie, drugi dla kota -# intent: inform -# slots: 2:ticketnumber -1 Jeden inform NoLabel -2 dla inform NoLabel -3 mnie inform NoLabel -4 , inform NoLabel -5 drugi inform NoLabel -6 dla inform NoLabel -7 kota inform NoLabel - -# text: O, super. O której? -# intent: request -# slots: Uncharted:movie -1 O request NoLabel -2 , request NoLabel -3 super request NoLabel -4 . request NoLabel -5 O request NoLabel -6 której request NoLabel -7 ? request NoLabel - -# text: Wybieram wszystkie -# intent: inform -# slots: all:seat -1 Wybieram inform NoLabel -2 wszystkie inform NoLabel - -# text: 7 normalnych i 4 ulgowe -# intent: inform inform -# slots: 4:ticketnumber,ulgowe:tickettype -1 7 inform_inform NoLabel -2 normalnych inform_inform NoLabel -3 i inform_inform NoLabel -4 4 inform_inform B-ticketnumber -5 ulgowe inform_inform B-tickettype - -# text: rząd 10 -# intent: inform -# slots: 10:row -1 rząd inform NoLabel -2 10 inform B-row - -# text: Chcę kupić bilety na film -# intent: inform -# slots: buy:task -1 Chcę inform NoLabel -2 kupić inform NoLabel -3 bilety inform NoLabel -4 na inform NoLabel -5 film inform NoLabel - -# text: Kupić -# intent: inform -# slots: buy:task -1 Kupić inform NoLabel - -# text: Najlepiej rzędy na górze -# intent: null -# slots: -1 Najlepiej null NoLabel -2 rzędy null NoLabel -3 na null NoLabel -4 górze null NoLabel - -# text: Wybieram 6-7 -# intent: inform inform -# slots: 7:seat -1 Wybieram inform_inform NoLabel -2 6-7 inform_inform NoLabel - -# text: 123@132.pl -# intent: inform -# slots: 123@132.pl:e-mail -1 123@132.pl inform B-e-mail - -# text: Chciał bym zamówić bilet na film Minionki dzisiaj o 18.30 -# intent: inform inform inform -# slots: 18.30:time -1 Chciał inform_inform_inform NoLabel -2 bym inform_inform_inform NoLabel -3 zamówić inform_inform_inform NoLabel -4 bilet inform_inform_inform NoLabel -5 na inform_inform_inform NoLabel -6 film inform_inform_inform NoLabel -7 Minionki inform_inform_inform NoLabel -8 dzisiaj inform_inform_inform NoLabel -9 o inform_inform_inform NoLabel -10 18.30 inform_inform_inform B-time - -# text: Czy na 'batman i zemsta muminków' w ten dzień dostępne są miejsca w ostatnim rzędzie? -# intent: request -# slots: sit:task,Batmanizemstamuminków:movie -1 Czy request NoLabel -2 na request NoLabel -3 batman request B-movie -4 i request I-movie -5 zemsta request I-movie -6 muminków request I-movie -7 w request NoLabel -8 ten request NoLabel -9 dzień request NoLabel -10 dostępne request NoLabel -11 są request NoLabel -12 miejsca request NoLabel -13 w request NoLabel -14 ostatnim request NoLabel -15 rzędzie request NoLabel -16 ? request NoLabel - -# text: Chciałbym dowiedzieć się czegoś o aktualnym repertuarze -# intent: request -# slots: closestscreenings:task -1 Chciałbym request NoLabel -2 dowiedzieć request NoLabel -3 się request NoLabel -4 czegoś request NoLabel -5 o request NoLabel -6 aktualnym request NoLabel -7 repertuarze request NoLabel - diff --git a/__pycache__/dialogue_state.cpython-38.pyc b/__pycache__/dialogue_state.cpython-38.pyc new file mode 100644 index 0000000..95e4b8f Binary files /dev/null and b/__pycache__/dialogue_state.cpython-38.pyc differ diff --git a/data/NLU_data_intent/train.tsv b/data/NLU_data_intent/train.tsv new file mode 100644 index 0000000..f8f1739 --- /dev/null +++ b/data/NLU_data_intent/train.tsv @@ -0,0 +1,285 @@ +Dzień dobry hello +Chciałbym kupić bilet na Batman w środę. request +A jakie są dostępne request +wybieram 18:00 inform +jakie dane muszę podać? reqmore +ok, Adam Nowak aaanowak@mail.com inform +miejsca w tylnych rzędach inform +poproszę miejsca od 10 do 12 w ostatnim rzędzie inform +Tak act +teraz inform +dziękuję, do widzenia bye +Cześć hello +chciałbym zarezerwować bilet na batmana help +16.03 inform +17:00 inform +1 inform +studencki inform +ok affirm +1 inform +2 inform +Jan Kowalski inform +Dzień dobry hello +Dzień dobry, chciałabym złożyć reklamację biletów inform +Film miał zacząć się o 19, natomiast pracownicy kina odmówili mi wpuszczenia na seans do godziny 19:30, przez co nie mogłam zobaczyć wszystkich reklam 🙁 inform +12093098490832030210334434 inform +przez internet inform +485554893 inform +Dziękuję ack +Witam hello +Jakie są najbliższe seanse? request +W jakim kinie? request +Gdzie jest to kino? request +Ile kosztują bielty na Sing 2? request +W jaki inny dzień bilety kosztują mniej? reqmore +Rozumiem. Chcę w takim razie zarezerwować dwa bilety na Sing 2 request +Jeden normalny i ulgowy inform +emkarcinos42069@buziaczek.pl 123123123 inform +A jakie miejsca zostały zarezerwowane? request +Chciałbym miejsca najbliżej ekranu request +A jakie są miejsca najbliżej ekranu? request +A jakie są DOSTĘPNE miejsca najbliżej ekranu? request +Rozumiem. Dziękuję ack +Dzień dobry hello +Chcialbym bilet na Batman request +jutro popołudniu inform +z przodu inform +rząd 2 miejsca 6,7 inform +Adrian Charkiewicz, gfasfaf@gmail.com inform +tak zgadza się act +Cześć hello +Chciałbym obejrzeć film help +Chce iść na jakoś to będzie inform +Wybieram godzinę 20:45 inform +20 inform +Bilety ulgowe inform +Tak affirm +Może być ack +nie chce podawać numeru telefonu deny +lalalalili@gmai.com, 111222111 inform +Ile minut przed senansem muszę być na miejscu, aby odebrać bilet? reqmore +Co w przypadku gdy się spóźnie? reqmore +Rozumiem ack +Nie deny +Dziękuje za obsługe thankyou +Dzień dobry! hello +Chciałbym kupić seans request +Bilet na seans request +Poproszę bilet na ostatni seans Batmana inform +test@test.pl inform +123456789 inform +Dzień dobry hello +chciałbym się dowiedzieć jaki jest aktualny repertuar request +chciałbym się dowiedzieć co będzie 25 marca request +o czym jest straszny film 10? request +poproszę 3 bilety request +Jan Kowalski inform +jan.kowalski@pies.pl inform +na tyłach inform +poproszę inform +Witam hello +Jaki jest repertuar na ten tydzień w kinie Rialto? request +Jakie są godziny tych seansów? request +Cały tydzień inform +Witam hello +Możesz mi podać jakie są najbliższe seanse? request +A w jakim to kinie? null +Chcę wiedzieć w jakim kinie podajesz seanse null +kino lokalizacja request +Ile kosztują bielty na Niewypanda? null +Tak affirm +A kiedy bilety są najtańsze? request +W jaki dzień bilety są najtańsze? reqmore +W takim razie chciałbym zarezerować dwa miejsca na film to nie wipanda w niedzielę null +Tak affirm +Jeden ulgowy jeden senior inform +Z tyłu sali null +9 i 10 inform +Ostatni inform +Witam hello +chciałbym kupić bilet ale nie wiem na co help +Nie wiem czy masz jakieś propozycję na dziś ? request +poprosze inni ludzie na 14:1313 null +tak dokładnie tak affirm +1 inform +daleko od ludzi null +chciałbym aby nie było ludzi w okół mnie null +Czy mogę poznać zatłoczenie aktualne sali ?\ request +poproszę o miejsce 5 w rzędzie 10 inform +ju tu inform + Halo hello + Chciałbym kupić bilet na NajlepszaNAzwaFilmu inform + 30 marca o godzinie 12:10 inform + W okolicach środka, środkowego rzędu inform + 7 rząd miejce 11 inform + Emil Kowalski inform + xyz@gmail.com inform + Tak act + Teraz inform + Dziękuję bye +Dzień dobry! hello +Chciałbym zarezerwować film null +Bilet na film inform +To nie wypanda i Batman inform +Poproszę bilet na Batmana jutro o 15:00 i pande w sobotę na 17:00 inform +Elo hello +Chcę iść do kina request +CHCĘ IŚĆ DO KINA repeat +A co macie request +No pewnie jakoś będzie. Na fanstaczne zernęta proszę zatem. inform +A co gracie? request +A jutro? reqmore +to na dzisiaj na śmirc na nilu inform +woeczprkem moze inform +A później nie ma? reqmore +No dobła affirm +Jedno dla mnie, drugie dla kota inform +A jest ulga dla zwierząt? reqmore +To jeden tylko dla mnie proszę inform +iwona.christop@gmail.com, 7368507466 inform +A gdzie się znajduje? reqmore +No dobła, niech będzie ack +Dzień dobry hello +Chciałbym kupić bilet inform +batman inform +dzisiaj, teraz inform +nie jestem pewien, za ile jest bilet? reqmore +podaj mi informacje o bilecie reqmore +wszystkie request +czy jest to film 2D czy 3D? Z napisami czy z dubbingiem? help +zarezerwuj ten bilet inform +na moje null +karida@st.amu.edu.pl inform +wygodne null +na końcu sali request +miejsce 11 inform +przed ostatnim inform +Dzień dobry. hello +Jakie płatności przyjmujecie? request +Cześć bocie hello +Co można u was zjeść? request +Dobra, czy jutro gracie batman? inform +A Uncharted inform +19:30 inform +6 inform +3 normalne i 3 ulgowe inform +Ok ack +Dziękuję systemie thankyou +Cześć systemie hello +Czy gracie Batman? request +Chciałym 15.04 inform +22 null +Tak affirm +Jakie macie zniżki? request +1 weteran i 1 ulgowy inform +dól lewo inform +pierwszy rząd inform +5-6 inform +Tak, poproszę null +Chcę dokonać zakupu inform +jan kowalski inform +Cześć hello +dowidzenia bye +Dzień dobry hello +chciał bym zarezerwować bilet na minionki o 18.30 inform +poprosze w takim razie To nie wypanda o 18:45 request +dzisiaj inform +2 inform +ulgowe inform +12 rząd inform +poproszę 1 inform +Jakub Kaczmarek inform +dzień dobry hello +Nie dostałam potwierdzenia help +iwona.christop@gmail.com inform +Dzięki thankyou +Dzień dobry hello +Chciałabym zarezerwować bilet do kina request +Na wyjdz za mnie inform +dzis wieczorem inform +Martyna Druminska mdruminska074@gmail.com inform +z tyłu, na środku (aby ekran był centralnie widoczny) inform +Dzień dobry hello +Chciałbym wypożyczyć film null +Co obsługujecie? request +Chciałbym poznać akltualny repertuar request +Chciałbym zarezerwować bilety na Batman i zemsta Muminków jutro o 21:00 request +Taki O okita@mail.com inform +Wygodne null +Na końcu sali inform +Poproszę miejsce 11 w przedostatnim rzędzie. I 7 w ostatnim rzędzie inform +Zgadza się act +Chcę tylko zarezerwować inform +Super act +Chciałbym anulować rezerwację inform +Tak act +To wszystko, dziękuję bye +Elo hello +Chcę do kina się przejść null +Anulujmy rezerwację w takim razie inform +Nie, rozmyśliłam się. deny +Coś bym zjadła null +Z j a d ł a b y m c o ś null +O, bilet kupię zatem inform +Zaskocz mnie request +O, super. O której? request +Na 21 proszę inform +Jeden dla mnie, drugi dla kota inform +normalny i ulgowy inform +Na środku jakoś null +IJ null +I J inform +To 12 i 13 w J proszę inform +Jan Kowalski inform +Dzięki ❤️ thankyou +Dzień dobry hello +Chcę kupić bilety na film inform +A jakie filmy gracie? request +O czym jest Bunkier Strachu? request +Czy gracie jakieś komedie? request +W takim razie chcę zarezerwować bilety na film to Niewypanda inform +10.04 inform +11 inform +7 normalnych i 5 ulgowych\ inform +7 normalnych i 4 ulgowe inform +Które rzędzy są dostępne? null +tak affirm +rząd 10 inform +Dobrze null +Wybieram wszystkie inform +Tomcio Paluch inform +Dziękuję thankyou +Cześć hello +Jaka jest nazwa kina null +Chciałbym sprawdzić repertuar na 23 maja request +Jakie są dostępne miejsca na film 'Batman'? request +Najlepiej rzędy na górze null +Jaki jest zakres rzędów? request +To w 12 inform +Wybieram 6-7 inform +Kupić inform +2 bilety inform +Jakie są rodzaje biletów? request +Dla kogo jest bilet ulgowy? request +To poproszę bilet ulgowy inform +Już wybrałem miejsca null +Dzień dobry hello +Chciał bym zamówić bilet na film Minionki dzisiaj o 18.30 inform +jakie są dostępne ulgi? reqmore +poprosze bilet ulgowy inform +tak, daleko od ekranu inform +dobrze affirm +123@132.pl inform +123456789 inform +czy na miejscu mozna kupić popcorn? request +dziękuje thankyou +Cześć hello +Chciałbym dowiedzieć się czegoś o aktualnym repertuarze request +Tak ack +W sumie tak. Interesuje mnie najbliższa sobota request +Czy na 'batman i zemsta muminków' w ten dzień dostępne są miejsca w ostatnim rzędzie? request +A przedostatni? Interesują mnie dwa miejsca koło siebie request +W takim razie je poproszę inform +Jan Kowalski, kowalski69@gmail.com inform +Tak ack +Przed filmem inform diff --git a/dane_NLU_input/dialog-05-02-01.tsv b/data/NLU_data_slots/dialog-05-02-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-02-01.tsv rename to data/NLU_data_slots/dialog-05-02-01.tsv diff --git a/dane_NLU_input/dialog-05-04-01.tsv b/data/NLU_data_slots/dialog-05-04-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-04-01.tsv rename to data/NLU_data_slots/dialog-05-04-01.tsv diff --git a/dane_NLU_input/dialog-05-06-01.tsv b/data/NLU_data_slots/dialog-05-06-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-06-01.tsv rename to data/NLU_data_slots/dialog-05-06-01.tsv diff --git a/dane_NLU_input/dialog-05-08-01.tsv b/data/NLU_data_slots/dialog-05-08-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-08-01.tsv rename to data/NLU_data_slots/dialog-05-08-01.tsv diff --git a/dane_NLU_input/dialog-05-10-01.tsv b/data/NLU_data_slots/dialog-05-10-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-10-01.tsv rename to data/NLU_data_slots/dialog-05-10-01.tsv diff --git a/dane_NLU_input/dialog-05-12-01.tsv b/data/NLU_data_slots/dialog-05-12-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-12-01.tsv rename to data/NLU_data_slots/dialog-05-12-01.tsv diff --git a/dane_NLU_input/dialog-05-14-01.tsv b/data/NLU_data_slots/dialog-05-14-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-14-01.tsv rename to data/NLU_data_slots/dialog-05-14-01.tsv diff --git a/dane_NLU_input/dialog-05-16-01.tsv b/data/NLU_data_slots/dialog-05-16-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-16-01.tsv rename to data/NLU_data_slots/dialog-05-16-01.tsv diff --git a/dane_NLU_input/dialog-05-18-01.tsv b/data/NLU_data_slots/dialog-05-18-01.tsv similarity index 100% rename from dane_NLU_input/dialog-05-18-01.tsv rename to data/NLU_data_slots/dialog-05-18-01.tsv diff --git a/dane_NLU_input/dialog-06-03-01.tsv b/data/NLU_data_slots/dialog-06-03-01.tsv similarity index 100% rename from dane_NLU_input/dialog-06-03-01.tsv rename to data/NLU_data_slots/dialog-06-03-01.tsv diff --git a/dane_NLU_input/dialog-06-05-01.tsv b/data/NLU_data_slots/dialog-06-05-01.tsv similarity index 100% rename from dane_NLU_input/dialog-06-05-01.tsv rename to data/NLU_data_slots/dialog-06-05-01.tsv diff --git a/dane_NLU_input/dialog-06-07-01.tsv b/data/NLU_data_slots/dialog-06-07-01.tsv similarity index 100% rename from dane_NLU_input/dialog-06-07-01.tsv rename to data/NLU_data_slots/dialog-06-07-01.tsv diff --git a/dane_NLU_input/dialog-06-09-01.tsv b/data/NLU_data_slots/dialog-06-09-01.tsv similarity index 100% rename from dane_NLU_input/dialog-06-09-01.tsv rename to data/NLU_data_slots/dialog-06-09-01.tsv diff --git a/dane_NLU_input/dialog-06-11-01.tsv b/data/NLU_data_slots/dialog-06-11-01.tsv similarity index 100% rename from dane_NLU_input/dialog-06-11-01.tsv rename to data/NLU_data_slots/dialog-06-11-01.tsv diff --git a/dane_NLU_input/dialog-06-15-01.tsv b/data/NLU_data_slots/dialog-06-15-01.tsv similarity index 100% rename from dane_NLU_input/dialog-06-15-01.tsv rename to data/NLU_data_slots/dialog-06-15-01.tsv diff --git a/dane_NLU_input/dialog-06-17-01.tsv b/data/NLU_data_slots/dialog-06-17-01.tsv similarity index 100% rename from dane_NLU_input/dialog-06-17-01.tsv rename to data/NLU_data_slots/dialog-06-17-01.tsv diff --git a/dane_NLU_input/dialog-06-19-01.tsv b/data/NLU_data_slots/dialog-06-19-01.tsv similarity index 100% rename from dane_NLU_input/dialog-06-19-01.tsv rename to data/NLU_data_slots/dialog-06-19-01.tsv diff --git a/dane_NLU_input/dialog-07-04-01.tsv b/data/NLU_data_slots/dialog-07-04-01.tsv similarity index 100% rename from dane_NLU_input/dialog-07-04-01.tsv rename to data/NLU_data_slots/dialog-07-04-01.tsv diff --git a/dane_NLU_input/dialog-07-04-02.tsv b/data/NLU_data_slots/dialog-07-04-02.tsv similarity index 100% rename from dane_NLU_input/dialog-07-04-02.tsv rename to data/NLU_data_slots/dialog-07-04-02.tsv diff --git a/dane_NLU_input/dialog-07-08-01.tsv b/data/NLU_data_slots/dialog-07-08-01.tsv similarity index 100% rename from dane_NLU_input/dialog-07-08-01.tsv rename to data/NLU_data_slots/dialog-07-08-01.tsv diff --git a/dane_NLU_input/dialog-07-10-01.tsv b/data/NLU_data_slots/dialog-07-10-01.tsv similarity index 100% rename from dane_NLU_input/dialog-07-10-01.tsv rename to data/NLU_data_slots/dialog-07-10-01.tsv diff --git a/dane_NLU_input/dialog-07-12-01.tsv b/data/NLU_data_slots/dialog-07-12-01.tsv similarity index 100% rename from dane_NLU_input/dialog-07-12-01.tsv rename to data/NLU_data_slots/dialog-07-12-01.tsv diff --git a/dane_NLU_input/dialog-07-14-01.tsv b/data/NLU_data_slots/dialog-07-14-01.tsv similarity index 100% rename from dane_NLU_input/dialog-07-14-01.tsv rename to data/NLU_data_slots/dialog-07-14-01.tsv diff --git a/dane_NLU_input/dialog-07-16-01.tsv b/data/NLU_data_slots/dialog-07-16-01.tsv similarity index 100% rename from dane_NLU_input/dialog-07-16-01.tsv rename to data/NLU_data_slots/dialog-07-16-01.tsv diff --git a/dane_NLU_input/dialog-07-18-01.tsv b/data/NLU_data_slots/dialog-07-18-01.tsv similarity index 100% rename from dane_NLU_input/dialog-07-18-01.tsv rename to data/NLU_data_slots/dialog-07-18-01.tsv diff --git a/dane_NLU_input/dialog-07-18-02.tsv b/data/NLU_data_slots/dialog-07-18-02.tsv similarity index 100% rename from dane_NLU_input/dialog-07-18-02.tsv rename to data/NLU_data_slots/dialog-07-18-02.tsv diff --git a/data/create_intent_dataset.py b/data/create_intent_dataset.py new file mode 100644 index 0000000..3ba2c81 --- /dev/null +++ b/data/create_intent_dataset.py @@ -0,0 +1,21 @@ +from pathlib import Path +import sys + + +def main(): + with open('intent_data/train.tsv', 'w', encoding='utf-8') as outf: + path = sys.argv[1] + dir = Path(rf'{path}') + for file in dir.glob('*'): + with open(file, encoding='utf-8') as inf: + for line in inf: + line = line.split('\t') + if line[0] == 'user': + text = line[1] + intent = line[2].split('(')[0] + outf.write(text + '\t' + intent + '\n') + print('Processed: ', file.name) + + +if __name__ == '__main__': + main() diff --git a/NLU_lab_7-8/create_datasets.py b/data/create_slot_datasets.py similarity index 86% rename from NLU_lab_7-8/create_datasets.py rename to data/create_slot_datasets.py index 868a348..2207793 100644 --- a/NLU_lab_7-8/create_datasets.py +++ b/data/create_slot_datasets.py @@ -21,7 +21,7 @@ def process_file(file): intents = [intent.strip() for intent in intents] intents = ' '.join(intents) return intents - + """ def get_slots(intent_row): intent_row = intent_row.split('&') intent_row = [intent.strip() for intent in intent_row] @@ -51,10 +51,26 @@ def process_file(file): slots = [slot.split('=') for slot in slots if len(slot.split('=')) == 2] slots = [[slot[0].split()[-1], slot[1]] if ',' in slot[0] else slot for slot in slots] # ? return slots + """ + + def get_slots(intent_row): + intent_content = re.search('\(+.*?\)+', intent_row).group() + intent_content = intent_content.strip() + intent_content = intent_content.replace('(', '') + intent_content = intent_content.replace(')', '') + intent_content = intent_content.replace("'", '') + intent_content = intent_content.replace("\"", '') + intent_content_split = intent_content.split('&') + slots = [] + for intent in intent_content_split: + if '=' in intent and intent[-1] != '=': + intent_value_pair = intent.split('=') + slots.append(intent_value_pair) + return slots def get_tokens(text, intents, slots): def tokenize(text): - email = re.search("[^ ]+@[^ ]+", text) + email = re.search("[^ ]+@[^ ,]+", text) if email: email_address = email.group() text = text.replace(email_address, '@') diff --git a/dane_cleaner/dialog-05-02-01.tsv b/data/data_cleaner/dialog-05-02-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-02-01.tsv rename to data/data_cleaner/dialog-05-02-01.tsv diff --git a/dane_cleaner/dialog-05-04-01.tsv b/data/data_cleaner/dialog-05-04-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-04-01.tsv rename to data/data_cleaner/dialog-05-04-01.tsv diff --git a/dane/dialog-05-06-01.tsv b/data/data_cleaner/dialog-05-06-01.tsv similarity index 100% rename from dane/dialog-05-06-01.tsv rename to data/data_cleaner/dialog-05-06-01.tsv diff --git a/dane_cleaner/dialog-05-08-01.tsv b/data/data_cleaner/dialog-05-08-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-08-01.tsv rename to data/data_cleaner/dialog-05-08-01.tsv diff --git a/dane_cleaner/dialog-05-10-01.tsv b/data/data_cleaner/dialog-05-10-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-10-01.tsv rename to data/data_cleaner/dialog-05-10-01.tsv diff --git a/dane_cleaner/dialog-05-12-01.tsv b/data/data_cleaner/dialog-05-12-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-12-01.tsv rename to data/data_cleaner/dialog-05-12-01.tsv diff --git a/dane_cleaner/dialog-05-14-01.tsv b/data/data_cleaner/dialog-05-14-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-14-01.tsv rename to data/data_cleaner/dialog-05-14-01.tsv diff --git a/dane_cleaner/dialog-05-16-01.tsv b/data/data_cleaner/dialog-05-16-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-16-01.tsv rename to data/data_cleaner/dialog-05-16-01.tsv diff --git a/dane_cleaner/dialog-05-18-01.tsv b/data/data_cleaner/dialog-05-18-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-18-01.tsv rename to data/data_cleaner/dialog-05-18-01.tsv diff --git a/dane_cleaner/dialog-06-03-01.tsv b/data/data_cleaner/dialog-06-03-01.tsv similarity index 100% rename from dane_cleaner/dialog-06-03-01.tsv rename to data/data_cleaner/dialog-06-03-01.tsv diff --git a/dane_cleaner/dialog-06-05-01.tsv b/data/data_cleaner/dialog-06-05-01.tsv similarity index 100% rename from dane_cleaner/dialog-06-05-01.tsv rename to data/data_cleaner/dialog-06-05-01.tsv diff --git a/dane_cleaner/dialog-06-07-01.tsv b/data/data_cleaner/dialog-06-07-01.tsv similarity index 100% rename from dane_cleaner/dialog-06-07-01.tsv rename to data/data_cleaner/dialog-06-07-01.tsv diff --git a/dane_cleaner/dialog-06-09-01.tsv b/data/data_cleaner/dialog-06-09-01.tsv similarity index 100% rename from dane_cleaner/dialog-06-09-01.tsv rename to data/data_cleaner/dialog-06-09-01.tsv diff --git a/dane_cleaner/dialog-06-11-01.tsv b/data/data_cleaner/dialog-06-11-01.tsv similarity index 100% rename from dane_cleaner/dialog-06-11-01.tsv rename to data/data_cleaner/dialog-06-11-01.tsv diff --git a/dane_cleaner/dialog-06-15-01.tsv b/data/data_cleaner/dialog-06-15-01.tsv similarity index 100% rename from dane_cleaner/dialog-06-15-01.tsv rename to data/data_cleaner/dialog-06-15-01.tsv diff --git a/dane_cleaner/dialog-06-17-01.tsv b/data/data_cleaner/dialog-06-17-01.tsv similarity index 100% rename from dane_cleaner/dialog-06-17-01.tsv rename to data/data_cleaner/dialog-06-17-01.tsv diff --git a/dane_cleaner/dialog-06-19-01.tsv b/data/data_cleaner/dialog-06-19-01.tsv similarity index 100% rename from dane_cleaner/dialog-06-19-01.tsv rename to data/data_cleaner/dialog-06-19-01.tsv diff --git a/dane_cleaner/dialog-07-04-01.tsv b/data/data_cleaner/dialog-07-04-01.tsv similarity index 100% rename from dane_cleaner/dialog-07-04-01.tsv rename to data/data_cleaner/dialog-07-04-01.tsv diff --git a/dane_cleaner/dialog-07-04-02.tsv b/data/data_cleaner/dialog-07-04-02.tsv similarity index 100% rename from dane_cleaner/dialog-07-04-02.tsv rename to data/data_cleaner/dialog-07-04-02.tsv diff --git a/dane_cleaner/dialog-07-08-01.tsv b/data/data_cleaner/dialog-07-08-01.tsv similarity index 100% rename from dane_cleaner/dialog-07-08-01.tsv rename to data/data_cleaner/dialog-07-08-01.tsv diff --git a/dane_cleaner/dialog-07-10-01.tsv b/data/data_cleaner/dialog-07-10-01.tsv similarity index 100% rename from dane_cleaner/dialog-07-10-01.tsv rename to data/data_cleaner/dialog-07-10-01.tsv diff --git a/dane_cleaner/dialog-07-12-01.tsv b/data/data_cleaner/dialog-07-12-01.tsv similarity index 100% rename from dane_cleaner/dialog-07-12-01.tsv rename to data/data_cleaner/dialog-07-12-01.tsv diff --git a/dane_cleaner/dialog-07-14-01.tsv b/data/data_cleaner/dialog-07-14-01.tsv similarity index 100% rename from dane_cleaner/dialog-07-14-01.tsv rename to data/data_cleaner/dialog-07-14-01.tsv diff --git a/dane_cleaner/dialog-07-16-01.tsv b/data/data_cleaner/dialog-07-16-01.tsv similarity index 100% rename from dane_cleaner/dialog-07-16-01.tsv rename to data/data_cleaner/dialog-07-16-01.tsv diff --git a/dane_cleaner/dialog-07-18-01.tsv b/data/data_cleaner/dialog-07-18-01.tsv similarity index 100% rename from dane_cleaner/dialog-07-18-01.tsv rename to data/data_cleaner/dialog-07-18-01.tsv diff --git a/dane_cleaner/dialog-07-18-02.tsv b/data/data_cleaner/dialog-07-18-02.tsv similarity index 100% rename from dane_cleaner/dialog-07-18-02.tsv rename to data/data_cleaner/dialog-07-18-02.tsv diff --git a/dane/dialog-05-02-01.tsv b/data/data_dirty/dialog-05-02-01.tsv similarity index 100% rename from dane/dialog-05-02-01.tsv rename to data/data_dirty/dialog-05-02-01.tsv diff --git a/dane/dialog-05-04-01.tsv b/data/data_dirty/dialog-05-04-01.tsv similarity index 100% rename from dane/dialog-05-04-01.tsv rename to data/data_dirty/dialog-05-04-01.tsv diff --git a/dane_cleaner/dialog-05-06-01.tsv b/data/data_dirty/dialog-05-06-01.tsv similarity index 100% rename from dane_cleaner/dialog-05-06-01.tsv rename to data/data_dirty/dialog-05-06-01.tsv diff --git a/dane/dialog-05-08-01.tsv b/data/data_dirty/dialog-05-08-01.tsv similarity index 100% rename from dane/dialog-05-08-01.tsv rename to data/data_dirty/dialog-05-08-01.tsv diff --git a/dane/dialog-05-10-01.tsv b/data/data_dirty/dialog-05-10-01.tsv similarity index 100% rename from dane/dialog-05-10-01.tsv rename to data/data_dirty/dialog-05-10-01.tsv diff --git a/dane/dialog-05-12-01.tsv b/data/data_dirty/dialog-05-12-01.tsv similarity index 100% rename from dane/dialog-05-12-01.tsv rename to data/data_dirty/dialog-05-12-01.tsv diff --git a/dane/dialog-05-14-01.tsv b/data/data_dirty/dialog-05-14-01.tsv similarity index 100% rename from dane/dialog-05-14-01.tsv rename to data/data_dirty/dialog-05-14-01.tsv diff --git a/dane/dialog-05-16-01.tsv b/data/data_dirty/dialog-05-16-01.tsv similarity index 100% rename from dane/dialog-05-16-01.tsv rename to data/data_dirty/dialog-05-16-01.tsv diff --git a/dane/dialog-05-18-01.tsv b/data/data_dirty/dialog-05-18-01.tsv similarity index 100% rename from dane/dialog-05-18-01.tsv rename to data/data_dirty/dialog-05-18-01.tsv diff --git a/dane/dialog-06-03-01.tsv b/data/data_dirty/dialog-06-03-01.tsv similarity index 100% rename from dane/dialog-06-03-01.tsv rename to data/data_dirty/dialog-06-03-01.tsv diff --git a/dane/dialog-06-05-01.tsv b/data/data_dirty/dialog-06-05-01.tsv similarity index 100% rename from dane/dialog-06-05-01.tsv rename to data/data_dirty/dialog-06-05-01.tsv diff --git a/dane/dialog-06-07-01.tsv b/data/data_dirty/dialog-06-07-01.tsv similarity index 100% rename from dane/dialog-06-07-01.tsv rename to data/data_dirty/dialog-06-07-01.tsv diff --git a/dane/dialog-06-09-01.tsv b/data/data_dirty/dialog-06-09-01.tsv similarity index 100% rename from dane/dialog-06-09-01.tsv rename to data/data_dirty/dialog-06-09-01.tsv diff --git a/dane/dialog-06-11-01.tsv b/data/data_dirty/dialog-06-11-01.tsv similarity index 100% rename from dane/dialog-06-11-01.tsv rename to data/data_dirty/dialog-06-11-01.tsv diff --git a/dane/dialog-06-15-01.tsv b/data/data_dirty/dialog-06-15-01.tsv similarity index 100% rename from dane/dialog-06-15-01.tsv rename to data/data_dirty/dialog-06-15-01.tsv diff --git a/dane/dialog-06-17-01.tsv b/data/data_dirty/dialog-06-17-01.tsv similarity index 100% rename from dane/dialog-06-17-01.tsv rename to data/data_dirty/dialog-06-17-01.tsv diff --git a/dane/dialog-06-19-01.tsv b/data/data_dirty/dialog-06-19-01.tsv similarity index 100% rename from dane/dialog-06-19-01.tsv rename to data/data_dirty/dialog-06-19-01.tsv diff --git a/dane/dialog-07-04-01.tsv b/data/data_dirty/dialog-07-04-01.tsv similarity index 100% rename from dane/dialog-07-04-01.tsv rename to data/data_dirty/dialog-07-04-01.tsv diff --git a/dane/dialog-07-04-02.tsv b/data/data_dirty/dialog-07-04-02.tsv similarity index 100% rename from dane/dialog-07-04-02.tsv rename to data/data_dirty/dialog-07-04-02.tsv diff --git a/dane/dialog-07-08-01.tsv b/data/data_dirty/dialog-07-08-01.tsv similarity index 100% rename from dane/dialog-07-08-01.tsv rename to data/data_dirty/dialog-07-08-01.tsv diff --git a/dane/dialog-07-10-01.tsv b/data/data_dirty/dialog-07-10-01.tsv similarity index 100% rename from dane/dialog-07-10-01.tsv rename to data/data_dirty/dialog-07-10-01.tsv diff --git a/dane/dialog-07-12-01.tsv b/data/data_dirty/dialog-07-12-01.tsv similarity index 100% rename from dane/dialog-07-12-01.tsv rename to data/data_dirty/dialog-07-12-01.tsv diff --git a/dane/dialog-07-14-01.tsv b/data/data_dirty/dialog-07-14-01.tsv similarity index 100% rename from dane/dialog-07-14-01.tsv rename to data/data_dirty/dialog-07-14-01.tsv diff --git a/dane/dialog-07-16-01.tsv b/data/data_dirty/dialog-07-16-01.tsv similarity index 100% rename from dane/dialog-07-16-01.tsv rename to data/data_dirty/dialog-07-16-01.tsv diff --git a/dane/dialog-07-18-01.tsv b/data/data_dirty/dialog-07-18-01.tsv similarity index 100% rename from dane/dialog-07-18-01.tsv rename to data/data_dirty/dialog-07-18-01.tsv diff --git a/dane/dialog-07-18-02.tsv b/data/data_dirty/dialog-07-18-02.tsv similarity index 100% rename from dane/dialog-07-18-02.tsv rename to data/data_dirty/dialog-07-18-02.tsv diff --git a/data/intent_test_and_train_version/test.tsv b/data/intent_test_and_train_version/test.tsv new file mode 100644 index 0000000..b626568 --- /dev/null +++ b/data/intent_test_and_train_version/test.tsv @@ -0,0 +1,51 @@ +Dzień dobry hello +Chcę kupić bilety na film inform +A jakie filmy gracie? request +O czym jest Bunkier Strachu? request +Czy gracie jakieś komedie? request +W takim razie chcę zarezerwować bilety na film to Niewypanda inform +10.04 inform +11 inform +7 normalnych i 5 ulgowych\ inform +7 normalnych i 4 ulgowe inform +Które rzędzy są dostępne? null +tak affirm +rząd 10 inform +Dobrze null +Wybieram wszystkie inform +Tomcio Paluch inform +Dziękuję thankyou +Cześć hello +Jaka jest nazwa kina null +Chciałbym sprawdzić repertuar na 23 maja request +Jakie są dostępne miejsca na film 'Batman'? request +Najlepiej rzędy na górze null +Jaki jest zakres rzędów? request +To w 12 inform +Wybieram 6-7 inform +Kupić inform +2 bilety inform +Jakie są rodzaje biletów? request +Dla kogo jest bilet ulgowy? request +To poproszę bilet ulgowy inform +Już wybrałem miejsca null +Dzień dobry hello +Chciał bym zamówić bilet na film Minionki dzisiaj o 18.30 inform +jakie są dostępne ulgi? reqmore +poprosze bilet ulgowy inform +tak, daleko od ekranu inform +dobrze affirm +123@132.pl inform +123456789 inform +czy na miejscu mozna kupić popcorn? request +dziękuje thankyou +Cześć hello +Chciałbym dowiedzieć się czegoś o aktualnym repertuarze request +Tak ack +W sumie tak. Interesuje mnie najbliższa sobota request +Czy na 'batman i zemsta muminków' w ten dzień dostępne są miejsca w ostatnim rzędzie? request +A przedostatni? Interesują mnie dwa miejsca koło siebie request +W takim razie je poproszę inform +Jan Kowalski, kowalski69@gmail.com inform +Tak ack +Przed filmem inform \ No newline at end of file diff --git a/data/intent_test_and_train_version/train.tsv b/data/intent_test_and_train_version/train.tsv new file mode 100644 index 0000000..67795c7 --- /dev/null +++ b/data/intent_test_and_train_version/train.tsv @@ -0,0 +1,234 @@ +Dzień dobry hello +Chciałbym kupić bilet na Batman w środę. request +A jakie są dostępne request +wybieram 18:00 inform +jakie dane muszę podać? reqmore +ok, Adam Nowak aaanowak@mail.com inform +miejsca w tylnych rzędach inform +poproszę miejsca od 10 do 12 w ostatnim rzędzie inform +Tak act +teraz inform +dziękuję, do widzenia bye +Cześć hello +chciałbym zarezerwować bilet na batmana help +16.03 inform +17:00 inform +1 inform +studencki inform +ok affirm +1 inform +2 inform +Jan Kowalski inform +Dzień dobry hello +Dzień dobry, chciałabym złożyć reklamację biletów inform +Film miał zacząć się o 19, natomiast pracownicy kina odmówili mi wpuszczenia na seans do godziny 19:30, przez co nie mogłam zobaczyć wszystkich reklam 🙁 inform +12093098490832030210334434 inform +przez internet inform +485554893 inform +Dziękuję ack +Witam hello +Jakie są najbliższe seanse? request +W jakim kinie? request +Gdzie jest to kino? request +Ile kosztują bielty na Sing 2? request +W jaki inny dzień bilety kosztują mniej? reqmore +Rozumiem. Chcę w takim razie zarezerwować dwa bilety na Sing 2 request +Jeden normalny i ulgowy inform +emkarcinos42069@buziaczek.pl 123123123 inform +A jakie miejsca zostały zarezerwowane? request +Chciałbym miejsca najbliżej ekranu request +A jakie są miejsca najbliżej ekranu? request +A jakie są DOSTĘPNE miejsca najbliżej ekranu? request +Rozumiem. Dziękuję ack +Dzień dobry hello +Chcialbym bilet na Batman request +jutro popołudniu inform +z przodu inform +rząd 2 miejsca 6,7 inform +Adrian Charkiewicz, gfasfaf@gmail.com inform +tak zgadza się act +Cześć hello +Chciałbym obejrzeć film help +Chce iść na jakoś to będzie inform +Wybieram godzinę 20:45 inform +20 inform +Bilety ulgowe inform +Tak affirm +Może być ack +nie chce podawać numeru telefonu deny +lalalalili@gmai.com, 111222111 inform +Ile minut przed senansem muszę być na miejscu, aby odebrać bilet? reqmore +Co w przypadku gdy się spóźnie? reqmore +Rozumiem ack +Nie deny +Dziękuje za obsługe thankyou +Dzień dobry! hello +Chciałbym kupić seans request +Bilet na seans request +Poproszę bilet na ostatni seans Batmana inform +test@test.pl inform +123456789 inform +Dzień dobry hello +chciałbym się dowiedzieć jaki jest aktualny repertuar request +chciałbym się dowiedzieć co będzie 25 marca request +o czym jest straszny film 10? request +poproszę 3 bilety request +Jan Kowalski inform +jan.kowalski@pies.pl inform +na tyłach inform +poproszę inform +Witam hello +Jaki jest repertuar na ten tydzień w kinie Rialto? request +Jakie są godziny tych seansów? request +Cały tydzień inform +Witam hello +Możesz mi podać jakie są najbliższe seanse? request +A w jakim to kinie? null +Chcę wiedzieć w jakim kinie podajesz seanse null +kino lokalizacja request +Ile kosztują bielty na Niewypanda? null +Tak affirm +A kiedy bilety są najtańsze? request +W jaki dzień bilety są najtańsze? reqmore +W takim razie chciałbym zarezerować dwa miejsca na film to nie wipanda w niedzielę null +Tak affirm +Jeden ulgowy jeden senior inform +Z tyłu sali null +9 i 10 inform +Ostatni inform +Witam hello +chciałbym kupić bilet ale nie wiem na co help +Nie wiem czy masz jakieś propozycję na dziś ? request +poprosze inni ludzie na 14:1313 null +tak dokładnie tak affirm +1 inform +daleko od ludzi null +chciałbym aby nie było ludzi w okół mnie null +Czy mogę poznać zatłoczenie aktualne sali ?\ request +poproszę o miejsce 5 w rzędzie 10 inform +ju tu inform + Halo hello + Chciałbym kupić bilet na NajlepszaNAzwaFilmu inform + 30 marca o godzinie 12:10 inform + W okolicach środka, środkowego rzędu inform + 7 rząd miejce 11 inform + Emil Kowalski inform + xyz@gmail.com inform + Tak act + Teraz inform + Dziękuję bye +Dzień dobry! hello +Chciałbym zarezerwować film null +Bilet na film inform +To nie wypanda i Batman inform +Poproszę bilet na Batmana jutro o 15:00 i pande w sobotę na 17:00 inform +Elo hello +Chcę iść do kina request +CHCĘ IŚĆ DO KINA repeat +A co macie request +No pewnie jakoś będzie. Na fanstaczne zernęta proszę zatem. inform +A co gracie? request +A jutro? reqmore +to na dzisiaj na śmirc na nilu inform +woeczprkem moze inform +A później nie ma? reqmore +No dobła affirm +Jedno dla mnie, drugie dla kota inform +A jest ulga dla zwierząt? reqmore +To jeden tylko dla mnie proszę inform +iwona.christop@gmail.com, 7368507466 inform +A gdzie się znajduje? reqmore +No dobła, niech będzie ack +Dzień dobry hello +Chciałbym kupić bilet inform +batman inform +dzisiaj, teraz inform +nie jestem pewien, za ile jest bilet? reqmore +podaj mi informacje o bilecie reqmore +wszystkie request +czy jest to film 2D czy 3D? Z napisami czy z dubbingiem? help +zarezerwuj ten bilet inform +na moje null +karida@st.amu.edu.pl inform +wygodne null +na końcu sali request +miejsce 11 inform +przed ostatnim inform +Dzień dobry. hello +Jakie płatności przyjmujecie? request +Cześć bocie hello +Co można u was zjeść? request +Dobra, czy jutro gracie batman? inform +A Uncharted inform +19:30 inform +6 inform +3 normalne i 3 ulgowe inform +Ok ack +Dziękuję systemie thankyou +Cześć systemie hello +Czy gracie Batman? request +Chciałym 15.04 inform +22 null +Tak affirm +Jakie macie zniżki? request +1 weteran i 1 ulgowy inform +dól lewo inform +pierwszy rząd inform +5-6 inform +Tak, poproszę null +Chcę dokonać zakupu inform +jan kowalski inform +Cześć hello +dowidzenia bye +Dzień dobry hello +chciał bym zarezerwować bilet na minionki o 18.30 inform +poprosze w takim razie To nie wypanda o 18:45 request +dzisiaj inform +2 inform +ulgowe inform +12 rząd inform +poproszę 1 inform +Jakub Kaczmarek inform +dzień dobry hello +Nie dostałam potwierdzenia help +iwona.christop@gmail.com inform +Dzięki thankyou +Dzień dobry hello +Chciałabym zarezerwować bilet do kina request +Na wyjdz za mnie inform +dzis wieczorem inform +Martyna Druminska mdruminska074@gmail.com inform +z tyłu, na środku (aby ekran był centralnie widoczny) inform +Dzień dobry hello +Chciałbym wypożyczyć film null +Co obsługujecie? request +Chciałbym poznać akltualny repertuar request +Chciałbym zarezerwować bilety na Batman i zemsta Muminków jutro o 21:00 request +Taki O okita@mail.com inform +Wygodne null +Na końcu sali inform +Poproszę miejsce 11 w przedostatnim rzędzie. I 7 w ostatnim rzędzie inform +Zgadza się act +Chcę tylko zarezerwować inform +Super act +Chciałbym anulować rezerwację inform +Tak act +To wszystko, dziękuję bye +Elo hello +Chcę do kina się przejść null +Anulujmy rezerwację w takim razie inform +Nie, rozmyśliłam się. deny +Coś bym zjadła null +Z j a d ł a b y m c o ś null +O, bilet kupię zatem inform +Zaskocz mnie request +O, super. O której? request +Na 21 proszę inform +Jeden dla mnie, drugi dla kota inform +normalny i ulgowy inform +Na środku jakoś null +IJ null +I J inform +To 12 i 13 w J proszę inform +Jan Kowalski inform +Dzięki ❤️ thankyou \ No newline at end of file diff --git a/data/test-pl.conllu b/data/test-pl.conllu new file mode 100644 index 0000000..6d99781 --- /dev/null +++ b/data/test-pl.conllu @@ -0,0 +1,472 @@ +# text: A jakie są dostępne +# intent: request +# slots: +1 A request NoLabel +2 jakie request NoLabel +3 są request NoLabel +4 dostępne request NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: dziękuję, do widzenia +# intent: bye +# slots: +1 dziękuję bye NoLabel +2 , bye NoLabel +3 do bye NoLabel +4 widzenia bye NoLabel + +# text: 16.03 +# intent: inform +# slots: 16.03:date +1 16.03 inform B-date + +# text: 2 +# intent: inform +# slots: 2:seat +1 2 inform B-seat + +# text: Dziękuję +# intent: ack +# slots: +1 Dziękuję ack NoLabel + +# text: przez internet +# intent: inform +# slots: przezinternet:purchaseType +1 przez inform B-purchaseType +2 internet inform I-purchaseType + +# text: A jakie są miejsca najbliżej ekranu? +# intent: request +# slots: najbliżejekranu:seat +1 A request NoLabel +2 jakie request NoLabel +3 są request NoLabel +4 miejsca request NoLabel +5 najbliżej request B-seat +6 ekranu request I-seat +7 ? request NoLabel + +# text: Gdzie jest to kino? +# intent: request +# slots: +1 Gdzie request NoLabel +2 jest request NoLabel +3 to request NoLabel +4 kino request NoLabel +5 ? request NoLabel + +# text: Chciałbym miejsca najbliżej ekranu +# intent: request +# slots: najbliżejekranu:seat +1 Chciałbym request NoLabel +2 miejsca request NoLabel +3 najbliżej request B-seat +4 ekranu request I-seat + +# text: tak zgadza się +# intent: act +# slots: +1 tak act NoLabel +2 zgadza act NoLabel +3 się act NoLabel + +# text: rząd 2 miejsca 6,7 +# intent: inform +# slots: 6,7:seat,2:row +1 rząd inform NoLabel +2 2 inform B-row +3 miejsca inform NoLabel +4 6,7 inform B-seat + +# text: Co w przypadku gdy się spóźnie? +# intent: reqmore +# slots: +1 Co reqmore NoLabel +2 w reqmore NoLabel +3 przypadku reqmore NoLabel +4 gdy reqmore NoLabel +5 się reqmore NoLabel +6 spóźnie reqmore NoLabel +7 ? reqmore NoLabel + +# text: Rozumiem +# intent: ack +# slots: +1 Rozumiem ack NoLabel + +# text: Dziękuje za obsługe +# intent: thankyou +# slots: +1 Dziękuje thankyou NoLabel +2 za thankyou NoLabel +3 obsługe thankyou NoLabel + +# text: test@test.pl +# intent: inform +# slots: test@test.pl:e-mail +1 test@test.pl inform B-e-mail + +# text: Bilet na seans +# intent: request +# slots: +1 Bilet request NoLabel +2 na request NoLabel +3 seans request NoLabel + +# text: Jan Kowalski +# intent: inform +# slots: JanKowalski:name +1 Jan inform B-name +2 Kowalski inform I-name + +# text: o czym jest straszny film 10? +# intent: request +# slots: movie_detail:task +1 o request NoLabel +2 czym request NoLabel +3 jest request NoLabel +4 straszny request NoLabel +5 film request NoLabel +6 10 request NoLabel +7 ? request NoLabel + +# text: Jakie są godziny tych seansów? +# intent: request +# slots: +1 Jakie request NoLabel +2 są request NoLabel +3 godziny request NoLabel +4 tych request NoLabel +5 seansów request NoLabel +6 ? request NoLabel + +# text: Możesz mi podać jakie są najbliższe seanse? +# intent: request +# slots: +1 Możesz request NoLabel +2 mi request NoLabel +3 podać request NoLabel +4 jakie request NoLabel +5 są request NoLabel +6 najbliższe request NoLabel +7 seanse request NoLabel +8 ? request NoLabel + +# text: Ostatni +# intent: inform +# slots: ostatni:row +1 Ostatni inform B-row + +# text: Tak +# intent: affirm +# slots: +1 Tak affirm NoLabel + +# text: 1 +# intent: inform +# slots: 1:quantity +1 1 inform B-quantity + +# text: daleko od ludzi +# intent: null +# slots: +1 daleko null NoLabel +2 od null NoLabel +3 ludzi null NoLabel + +# text: poprosze inni ludzie na 14:1313 +# intent: null +# slots: +1 poprosze null NoLabel +2 inni null NoLabel +3 ludzie null NoLabel +4 na null NoLabel +5 14:1313 null NoLabel + +# text: Dziękuję +# intent: bye +# slots: +1 Dziękuję bye NoLabel + +# text: Chciałbym kupić bilet na NajlepszaNAzwaFilmu +# intent: inform +# slots: book:task,NajlepszaNAzwaFilmu:movie +1 Chciałbym inform NoLabel +2 kupić inform NoLabel +3 bilet inform NoLabel +4 na inform NoLabel +5 NajlepszaNAzwaFilmu inform B-movie + +# text: Dzień dobry! +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel +3 ! hello NoLabel + +# text: A jest ulga dla zwierząt? +# intent: reqmore +# slots: +1 A reqmore NoLabel +2 jest reqmore NoLabel +3 ulga reqmore NoLabel +4 dla reqmore NoLabel +5 zwierząt reqmore NoLabel +6 ? reqmore NoLabel + +# text: No dobła, niech będzie +# intent: ack affirm +# slots: +1 No ack_affirm NoLabel +2 dobła ack_affirm NoLabel +3 , ack_affirm NoLabel +4 niech ack_affirm NoLabel +5 będzie ack_affirm NoLabel + +# text: A co macie +# intent: request +# slots: +1 A request NoLabel +2 co request NoLabel +3 macie request NoLabel + +# text: to na dzisiaj na śmirc na nilu +# intent: inform +# slots: śmircnanilu:movie,dzisiaj:date +1 to inform NoLabel +2 na inform NoLabel +3 dzisiaj inform B-date +4 na inform NoLabel +5 śmirc inform B-movie +6 na inform I-movie +7 nilu inform I-movie + +# text: przed ostatnim +# intent: inform +# slots: 10:seat_row +1 przed inform NoLabel +2 ostatnim inform NoLabel + +# text: Chciałbym kupić bilet +# intent: inform +# slots: book:task +1 Chciałbym inform NoLabel +2 kupić inform NoLabel +3 bilet inform NoLabel + +# text: wygodne +# intent: null +# slots: +1 wygodne null NoLabel + +# text: 19:30 +# intent: inform +# slots: 19:30:hour +1 19:30 inform B-hour + +# text: Jakie płatności przyjmujecie? +# intent: request +# slots: +1 Jakie request NoLabel +2 płatności request NoLabel +3 przyjmujecie request NoLabel +4 ? request NoLabel + +# text: Dziękuję systemie +# intent: thankyou +# slots: +1 Dziękuję thankyou NoLabel +2 systemie thankyou NoLabel + +# text: 22 +# intent: null +# slots: +1 22 null NoLabel + +# text: Tak +# intent: affirm +# slots: +1 Tak affirm NoLabel + +# text: pierwszy rząd +# intent: inform +# slots: pierwszy:row +1 pierwszy inform B-row +2 rząd inform NoLabel + +# text: 2 +# intent: inform +# slots: 2:quantity +1 2 inform B-quantity + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: dzień dobry +# intent: hello +# slots: +1 dzień hello NoLabel +2 dobry hello NoLabel + +# text: z tyłu, na środku (aby ekran był centralnie widoczny) +# intent: inform +# slots: +1 z inform NoLabel +2 tyłu inform NoLabel +3 , inform NoLabel +4 na inform NoLabel +5 środku inform NoLabel +6 ( inform NoLabel +7 aby inform NoLabel +8 ekran inform NoLabel +9 był inform NoLabel +10 centralnie inform NoLabel +11 widoczny inform NoLabel +12 ) inform NoLabel + +# text: Martyna Druminska mdruminska074@gmail.com +# intent: inform +# slots: mdruminska074@gmail.com:e-mail,MartynaDruminska:name +1 Martyna inform B-name +2 Druminska inform I-name +3 mdruminska074@gmail.com inform B-e-mail + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: Chciałbym wypożyczyć film +# intent: null +# slots: +1 Chciałbym null NoLabel +2 wypożyczyć null NoLabel +3 film null NoLabel + +# text: Zgadza się +# intent: act +# slots: +1 Zgadza act NoLabel +2 się act NoLabel + +# text: Nie, rozmyśliłam się. +# intent: deny +# slots: cancelbook:task +1 Nie deny NoLabel +2 , deny NoLabel +3 rozmyśliłam deny NoLabel +4 się deny NoLabel +5 . deny NoLabel + +# text: O, bilet kupię zatem +# intent: inform +# slots: buy:task +1 O inform NoLabel +2 , inform NoLabel +3 bilet inform NoLabel +4 kupię inform NoLabel +5 zatem inform NoLabel + +# text: I J +# intent: inform +# slots: IJ:row +1 I inform B-row +2 J inform I-row + +# text: normalny i ulgowy +# intent: inform +# slots: normalny:tickettype,ulgowy:tickettype +1 normalny inform B-tickettype +2 i inform NoLabel +3 ulgowy inform B-tickettype + +# text: 7 normalnych i 5 ulgowych\ +# intent: inform +# slots: 7:quantity,normalnych:tickettype,5:quantity,ulgowych:tickettype +1 7 inform B-quantity +2 normalnych inform B-tickettype +3 i inform NoLabel +4 5 inform B-quantity +5 ulgowych\ inform NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: rząd 10 +# intent: inform +# slots: 10:row +1 rząd inform NoLabel +2 10 inform B-row + +# text: Czy gracie jakieś komedie? +# intent: request +# slots: komedie:genre +1 Czy request NoLabel +2 gracie request NoLabel +3 jakieś request NoLabel +4 komedie request B-genre +5 ? request NoLabel + +# text: Jakie są rodzaje biletów? +# intent: request +# slots: +1 Jakie request NoLabel +2 są request NoLabel +3 rodzaje request NoLabel +4 biletów request NoLabel +5 ? request NoLabel + +# text: Cześć +# intent: hello +# slots: +1 Cześć hello NoLabel + +# text: 2 bilety +# intent: inform +# slots: 2:quantity +1 2 inform B-quantity +2 bilety inform NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: dobrze +# intent: affirm +# slots: +1 dobrze affirm NoLabel + +# text: Chciałbym dowiedzieć się czegoś o aktualnym repertuarze +# intent: request +# slots: closestscreenings:task +1 Chciałbym request NoLabel +2 dowiedzieć request NoLabel +3 się request NoLabel +4 czegoś request NoLabel +5 o request NoLabel +6 aktualnym request NoLabel +7 repertuarze request NoLabel + +# text: Jan Kowalski, kowalski69@gmail.com +# intent: inform +# slots: kowalski69@gmail.com:e-mail,JanKowalski:name +1 Jan inform B-name +2 Kowalski inform I-name +3 , inform NoLabel +4 kowalski69@gmail.com inform B-e-mail + diff --git a/data/train+test-pl.conllu b/data/train+test-pl.conllu new file mode 100644 index 0000000..ba8c727 --- /dev/null +++ b/data/train+test-pl.conllu @@ -0,0 +1,2231 @@ +# text: ok, Adam Nowak aaanowak@mail.com +# intent: inform +# slots: aaanowak@mail.com:e-mail,AdamNowak:name +1 ok inform NoLabel +2 , inform NoLabel +3 Adam inform B-name +4 Nowak inform I-name +5 aaanowak@mail.com inform B-e-mail + +# text: Tak +# intent: act +# slots: +1 Tak act NoLabel + +# text: teraz +# intent: inform +# slots: +1 teraz inform NoLabel + +# text: miejsca w tylnych rzędach +# intent: inform +# slots: +1 miejsca inform NoLabel +2 w inform NoLabel +3 tylnych inform NoLabel +4 rzędach inform NoLabel + +# text: jakie dane muszę podać? +# intent: reqmore +# slots: +1 jakie reqmore NoLabel +2 dane reqmore NoLabel +3 muszę reqmore NoLabel +4 podać reqmore NoLabel +5 ? reqmore NoLabel + +# text: poproszę miejsca od 10 do 12 w ostatnim rzędzie +# intent: inform +# slots: 10do12:seat,wostatnimrzędzie:row +1 poproszę inform NoLabel +2 miejsca inform NoLabel +3 od inform NoLabel +4 10 inform B-seat +5 do inform I-seat +6 12 inform I-seat +7 w inform B-row +8 ostatnim inform I-row +9 rzędzie inform I-row + +# text: Chciałbym kupić bilet na Batman w środę. +# intent: request +# slots: book:task,Batman:movie,wśrodę:date +1 Chciałbym request NoLabel +2 kupić request NoLabel +3 bilet request NoLabel +4 na request NoLabel +5 Batman request B-movie +6 w request B-date +7 środę request I-date +8 . request NoLabel + +# text: wybieram 18:00 +# intent: inform +# slots: 18:00:hour +1 wybieram inform NoLabel +2 18:00 inform B-hour + +# text: 1 +# intent: inform +# slots: 1:row +1 1 inform B-row + +# text: 17:00 +# intent: inform +# slots: 17:00:hour +1 17:00 inform B-hour + +# text: chciałbym zarezerwować bilet na batmana +# intent: help +# slots: +1 chciałbym help NoLabel +2 zarezerwować help NoLabel +3 bilet help NoLabel +4 na help NoLabel +5 batmana help NoLabel + +# text: studencki +# intent: inform +# slots: studencki:tickettype +1 studencki inform B-tickettype + +# text: Cześć +# intent: hello +# slots: +1 Cześć hello NoLabel + +# text: 1 +# intent: inform +# slots: 1:quantity +1 1 inform B-quantity + +# text: Jan Kowalski +# intent: inform +# slots: JanKowalski:name +1 Jan inform B-name +2 Kowalski inform I-name + +# text: ok +# intent: affirm +# slots: +1 ok affirm NoLabel + +# text: 12093098490832030210334434 +# intent: inform +# slots: 12093098490832030210334434:bankAccountNumber +1 12093098490832030210334434 inform B-bankAccountNumber + +# text: 485554893 +# intent: inform +# slots: 485554893:phone +1 485554893 inform B-phone + +# text: Film miał zacząć się o 19, natomiast pracownicy kina odmówili mi wpuszczenia na seans do godziny 19:30, przez co nie mogłam zobaczyć wszystkich reklam 🙁 +# intent: inform +# slots: +1 Film inform NoLabel +2 miał inform NoLabel +3 zacząć inform NoLabel +4 się inform NoLabel +5 o inform NoLabel +6 19 inform NoLabel +7 , inform NoLabel +8 natomiast inform NoLabel +9 pracownicy inform NoLabel +10 kina inform NoLabel +11 odmówili inform NoLabel +12 mi inform NoLabel +13 wpuszczenia inform NoLabel +14 na inform NoLabel +15 seans inform NoLabel +16 do inform NoLabel +17 godziny inform NoLabel +18 19:30 inform NoLabel +19 , inform NoLabel +20 przez inform NoLabel +21 co inform NoLabel +22 nie inform NoLabel +23 mogłam inform NoLabel +24 zobaczyć inform NoLabel +25 wszystkich inform NoLabel +26 reklam inform NoLabel +27 🙁 inform NoLabel + +# text: Dzień dobry, chciałabym złożyć reklamację biletów +# intent: inform +# slots: +1 Dzień inform NoLabel +2 dobry inform NoLabel +3 , inform NoLabel +4 chciałabym inform NoLabel +5 złożyć inform NoLabel +6 reklamację inform NoLabel +7 biletów inform NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: Jakie są najbliższe seanse? +# intent: request +# slots: +1 Jakie request NoLabel +2 są request NoLabel +3 najbliższe request NoLabel +4 seanse request NoLabel +5 ? request NoLabel + +# text: A jakie miejsca zostały zarezerwowane? +# intent: request +# slots: +1 A request NoLabel +2 jakie request NoLabel +3 miejsca request NoLabel +4 zostały request NoLabel +5 zarezerwowane request NoLabel +6 ? request NoLabel + +# text: Rozumiem. Dziękuję +# intent: ack thankyou +# slots: +1 Rozumiem ack_thankyou NoLabel +2 . ack_thankyou NoLabel +3 Dziękuję ack_thankyou NoLabel + +# text: emkarcinos42069@buziaczek.pl 123123123 +# intent: inform +# slots: emkarcinos42069@buziaczek.pl:e-mail,123123123:phone +1 emkarcinos42069@buziaczek.pl inform B-e-mail +2 123123123 inform B-phone + +# text: W jakim kinie? +# intent: request +# slots: +1 W request NoLabel +2 jakim request NoLabel +3 kinie request NoLabel +4 ? request NoLabel + +# text: Witam +# intent: hello +# slots: +1 Witam hello NoLabel + +# text: A jakie są DOSTĘPNE miejsca najbliżej ekranu? +# intent: request +# slots: +1 A request NoLabel +2 jakie request NoLabel +3 są request NoLabel +4 DOSTĘPNE request NoLabel +5 miejsca request NoLabel +6 najbliżej request NoLabel +7 ekranu request NoLabel +8 ? request NoLabel + +# text: W jaki inny dzień bilety kosztują mniej? +# intent: reqmore +# slots: +1 W reqmore NoLabel +2 jaki reqmore NoLabel +3 inny reqmore NoLabel +4 dzień reqmore NoLabel +5 bilety reqmore NoLabel +6 kosztują reqmore NoLabel +7 mniej reqmore NoLabel +8 ? reqmore NoLabel + +# text: Ile kosztują bielty na Sing 2? +# intent: request +# slots: +1 Ile request NoLabel +2 kosztują request NoLabel +3 bielty request NoLabel +4 na request NoLabel +5 Sing request NoLabel +6 2 request NoLabel +7 ? request NoLabel + +# text: Jeden normalny i ulgowy +# intent: inform +# slots: +1 Jeden inform NoLabel +2 normalny inform NoLabel +3 i inform NoLabel +4 ulgowy inform NoLabel + +# text: Rozumiem. Chcę w takim razie zarezerwować dwa bilety na Sing 2 +# intent: request +# slots: dwa:quantity,Sing2:movie +1 Rozumiem request NoLabel +2 . request NoLabel +3 Chcę request NoLabel +4 w request NoLabel +5 takim request NoLabel +6 razie request NoLabel +7 zarezerwować request NoLabel +8 dwa request B-quantity +9 bilety request NoLabel +10 na request NoLabel +11 Sing request B-movie +12 2 request I-movie + +# text: z przodu +# intent: inform +# slots: +1 z inform NoLabel +2 przodu inform NoLabel + +# text: Adrian Charkiewicz, gfasfaf@gmail.com +# intent: inform +# slots: gfasfaf@gmail.com:e-mail,AdrianCharkiewicz:name +1 Adrian inform B-name +2 Charkiewicz inform I-name +3 , inform NoLabel +4 gfasfaf@gmail.com inform B-e-mail + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: jutro popołudniu +# intent: inform +# slots: jutro:date,popołudniu:hour +1 jutro inform B-date +2 popołudniu inform B-hour + +# text: Chcialbym bilet na Batman +# intent: request +# slots: book:task,Batman:movie +1 Chcialbym request NoLabel +2 bilet request NoLabel +3 na request NoLabel +4 Batman request B-movie + +# text: Bilety ulgowe +# intent: inform +# slots: ulgowe:ticketType +1 Bilety inform NoLabel +2 ulgowe inform B-ticketType + +# text: Tak +# intent: affirm +# slots: +1 Tak affirm NoLabel + +# text: Chciałbym obejrzeć film +# intent: help +# slots: +1 Chciałbym help NoLabel +2 obejrzeć help NoLabel +3 film help NoLabel + +# text: nie chce podawać numeru telefonu +# intent: deny +# slots: +1 nie deny NoLabel +2 chce deny NoLabel +3 podawać deny NoLabel +4 numeru deny NoLabel +5 telefonu deny NoLabel + +# text: lalalalili@gmai.com, 111222111 +# intent: inform +# slots: lalalalili@gmail.com:email,111222111:phone +1 lalalalili@gmai.com inform NoLabel +2 , inform NoLabel +3 111222111 inform B-phone + +# text: Wybieram godzinę 20:45 +# intent: inform +# slots: 20:45:hour +1 Wybieram inform NoLabel +2 godzinę inform NoLabel +3 20:45 inform B-hour + +# text: Ile minut przed senansem muszę być na miejscu, aby odebrać bilet? +# intent: reqmore +# slots: +1 Ile reqmore NoLabel +2 minut reqmore NoLabel +3 przed reqmore NoLabel +4 senansem reqmore NoLabel +5 muszę reqmore NoLabel +6 być reqmore NoLabel +7 na reqmore NoLabel +8 miejscu reqmore NoLabel +9 , reqmore NoLabel +10 aby reqmore NoLabel +11 odebrać reqmore NoLabel +12 bilet reqmore NoLabel +13 ? reqmore NoLabel + +# text: Chce iść na jakoś to będzie +# intent: inform +# slots: jakośtobędzie:movie +1 Chce inform NoLabel +2 iść inform NoLabel +3 na inform NoLabel +4 jakoś inform B-movie +5 to inform I-movie +6 będzie inform I-movie + +# text: 20 +# intent: inform +# slots: 20:quantity +1 20 inform B-quantity + +# text: Cześć +# intent: hello +# slots: +1 Cześć hello NoLabel + +# text: Może być +# intent: ack +# slots: +1 Może ack NoLabel +2 być ack NoLabel + +# text: Nie +# intent: deny +# slots: +1 Nie deny NoLabel + +# text: Poproszę bilet na ostatni seans Batmana +# intent: inform +# slots: Batmana:movie,ostatni:hour +1 Poproszę inform NoLabel +2 bilet inform NoLabel +3 na inform NoLabel +4 ostatni inform B-hour +5 seans inform NoLabel +6 Batmana inform B-movie + +# text: 123456789 +# intent: inform +# slots: 123456789:phone +1 123456789 inform B-phone + +# text: Chciałbym kupić seans +# intent: request +# slots: +1 Chciałbym request NoLabel +2 kupić request NoLabel +3 seans request NoLabel + +# text: Dzień dobry! +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel +3 ! hello NoLabel + +# text: chciałbym się dowiedzieć co będzie 25 marca +# intent: request +# slots: +1 chciałbym request NoLabel +2 się request NoLabel +3 dowiedzieć request NoLabel +4 co request NoLabel +5 będzie request NoLabel +6 25 request NoLabel +7 marca request NoLabel + +# text: poproszę 3 bilety +# intent: request +# slots: book:task +1 poproszę request NoLabel +2 3 request NoLabel +3 bilety request NoLabel + +# text: poproszę +# intent: inform +# slots: 10-14,11:seat +1 poproszę inform NoLabel + +# text: chciałbym się dowiedzieć jaki jest aktualny repertuar +# intent: request +# slots: closestscreenings:task +1 chciałbym request NoLabel +2 się request NoLabel +3 dowiedzieć request NoLabel +4 jaki request NoLabel +5 jest request NoLabel +6 aktualny request NoLabel +7 repertuar request NoLabel + +# text: jan.kowalski@pies.pl +# intent: inform +# slots: jan.kowalski@pies.pl:e-mail +1 jan.kowalski@pies.pl inform B-e-mail + +# text: na tyłach +# intent: inform +# slots: +1 na inform NoLabel +2 tyłach inform NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: Jaki jest repertuar na ten tydzień w kinie Rialto? +# intent: request +# slots: +1 Jaki request NoLabel +2 jest request NoLabel +3 repertuar request NoLabel +4 na request NoLabel +5 ten request NoLabel +6 tydzień request NoLabel +7 w request NoLabel +8 kinie request NoLabel +9 Rialto request NoLabel +10 ? request NoLabel + +# text: Witam +# intent: hello +# slots: +1 Witam hello NoLabel + +# text: Cały tydzień +# intent: inform +# slots: +1 Cały inform NoLabel +2 tydzień inform NoLabel + +# text: kino lokalizacja +# intent: request +# slots: +1 kino request NoLabel +2 lokalizacja request NoLabel + +# text: W jaki dzień bilety są najtańsze? +# intent: reqmore +# slots: +1 W reqmore NoLabel +2 jaki reqmore NoLabel +3 dzień reqmore NoLabel +4 bilety reqmore NoLabel +5 są reqmore NoLabel +6 najtańsze reqmore NoLabel +7 ? reqmore NoLabel + +# text: Witam +# intent: hello +# slots: +1 Witam hello NoLabel + +# text: A w jakim to kinie? +# intent: null +# slots: +1 A null NoLabel +2 w null NoLabel +3 jakim null NoLabel +4 to null NoLabel +5 kinie null NoLabel +6 ? null NoLabel + +# text: Chcę wiedzieć w jakim kinie podajesz seanse +# intent: null +# slots: +1 Chcę null NoLabel +2 wiedzieć null NoLabel +3 w null NoLabel +4 jakim null NoLabel +5 kinie null NoLabel +6 podajesz null NoLabel +7 seanse null NoLabel + +# text: Tak +# intent: affirm +# slots: +1 Tak affirm NoLabel + +# text: W takim razie chciałbym zarezerować dwa miejsca na film to nie wipanda w niedzielę +# intent: null +# slots: +1 W null NoLabel +2 takim null NoLabel +3 razie null NoLabel +4 chciałbym null NoLabel +5 zarezerować null NoLabel +6 dwa null NoLabel +7 miejsca null NoLabel +8 na null NoLabel +9 film null NoLabel +10 to null NoLabel +11 nie null NoLabel +12 wipanda null NoLabel +13 w null NoLabel +14 niedzielę null NoLabel + +# text: Jeden ulgowy jeden senior +# intent: inform +# slots: jeden:quantity,ulgowy:tickettype,jeden:quantity,senior:tickettype +1 Jeden inform B-quantity +2 ulgowy inform B-tickettype +3 jeden inform B-quantity +4 senior inform B-tickettype + +# text: Z tyłu sali +# intent: null +# slots: +1 Z null NoLabel +2 tyłu null NoLabel +3 sali null NoLabel + +# text: Ile kosztują bielty na Niewypanda? +# intent: null +# slots: +1 Ile null NoLabel +2 kosztują null NoLabel +3 bielty null NoLabel +4 na null NoLabel +5 Niewypanda null NoLabel +6 ? null NoLabel + +# text: A kiedy bilety są najtańsze? +# intent: request +# slots: +1 A request NoLabel +2 kiedy request NoLabel +3 bilety request NoLabel +4 są request NoLabel +5 najtańsze request NoLabel +6 ? request NoLabel + +# text: 9 i 10 +# intent: inform +# slots: 9i10:seat +1 9 inform B-seat +2 i inform I-seat +3 10 inform I-seat + +# text: Nie wiem czy masz jakieś propozycję na dziś ? +# intent: request +# slots: +1 Nie request NoLabel +2 wiem request NoLabel +3 czy request NoLabel +4 masz request NoLabel +5 jakieś request NoLabel +6 propozycję request NoLabel +7 na request NoLabel +8 dziś request NoLabel +9 ? request NoLabel + +# text: chciałbym aby nie było ludzi w okół mnie +# intent: null +# slots: +1 chciałbym null NoLabel +2 aby null NoLabel +3 nie null NoLabel +4 było null NoLabel +5 ludzi null NoLabel +6 w null NoLabel +7 okół null NoLabel +8 mnie null NoLabel + +# text: poproszę o miejsce 5 w rzędzie 10 +# intent: inform +# slots: 5:seat,10:row +1 poproszę inform NoLabel +2 o inform NoLabel +3 miejsce inform NoLabel +4 5 inform B-seat +5 w inform NoLabel +6 rzędzie inform NoLabel +7 10 inform B-row + +# text: Witam +# intent: hello +# slots: +1 Witam hello NoLabel + +# text: Czy mogę poznać zatłoczenie aktualne sali ?\ +# intent: request +# slots: +1 Czy request NoLabel +2 mogę request NoLabel +3 poznać request NoLabel +4 zatłoczenie request NoLabel +5 aktualne request NoLabel +6 sali request NoLabel +7 ? request NoLabel +8 \ request NoLabel + +# text: ju tu +# intent: inform +# slots: jutu:name +1 ju inform B-name +2 tu inform I-name + +# text: tak dokładnie tak +# intent: affirm +# slots: +1 tak affirm NoLabel +2 dokładnie affirm NoLabel +3 tak affirm NoLabel + +# text: chciałbym kupić bilet ale nie wiem na co +# intent: help +# slots: +1 chciałbym help NoLabel +2 kupić help NoLabel +3 bilet help NoLabel +4 ale help NoLabel +5 nie help NoLabel +6 wiem help NoLabel +7 na help NoLabel +8 co help NoLabel + +# text: 30 marca o godzinie 12:10 +# intent: inform +# slots: 30marca:date,12:10:hour +1 30 inform B-date +2 marca inform I-date +3 o inform NoLabel +4 godzinie inform NoLabel +5 12:10 inform B-hour + +# text: xyz@gmail.com +# intent: inform +# slots: xyz@gmail.com:e-mail +1 xyz@gmail.com inform B-e-mail + +# text: Teraz +# intent: inform +# slots: +1 Teraz inform NoLabel + +# text: Emil Kowalski +# intent: inform +# slots: EmilKowalski:name +1 Emil inform B-name +2 Kowalski inform I-name + +# text: W okolicach środka, środkowego rzędu +# intent: inform +# slots: +1 W inform NoLabel +2 okolicach inform NoLabel +3 środka inform NoLabel +4 , inform NoLabel +5 środkowego inform NoLabel +6 rzędu inform NoLabel + +# text: 7 rząd miejce 11 +# intent: inform +# slots: 11:seat,7:row +1 7 inform B-row +2 rząd inform NoLabel +3 miejce inform NoLabel +4 11 inform B-seat + +# text: Tak +# intent: act +# slots: +1 Tak act NoLabel + +# text: Halo +# intent: hello +# slots: +1 Halo hello NoLabel + +# text: Chciałbym zarezerwować film +# intent: null +# slots: +1 Chciałbym null NoLabel +2 zarezerwować null NoLabel +3 film null NoLabel + +# text: Bilet na film +# intent: inform +# slots: book:task +1 Bilet inform NoLabel +2 na inform NoLabel +3 film inform NoLabel + +# text: To nie wypanda i Batman +# intent: inform +# slots: Toniewypanda:movie,Batman:movie +1 To inform B-movie +2 nie inform I-movie +3 wypanda inform I-movie +4 i inform NoLabel +5 Batman inform B-movie + +# text: Poproszę bilet na Batmana jutro o 15:00 i pande w sobotę na 17:00 +# intent: inform +# slots: Batmana:movie,jutro:date,15:00:hour,sobotę:date,17:00:hour +1 Poproszę inform NoLabel +2 bilet inform NoLabel +3 na inform NoLabel +4 Batmana inform B-movie +5 jutro inform B-date +6 o inform NoLabel +7 15:00 inform B-hour +8 i inform NoLabel +9 pande inform NoLabel +10 w inform NoLabel +11 sobotę inform B-date +12 na inform NoLabel +13 17:00 inform B-hour + +# text: iwona.christop@gmail.com, 7368507466 +# intent: inform +# slots: iwona.christop@gmail.com:email,7368507466:phone +1 iwona.christop@gmail.com inform B-email +2 , inform NoLabel +3 7368507466 inform B-phone + +# text: A później nie ma? +# intent: reqmore +# slots: +1 A reqmore NoLabel +2 później reqmore NoLabel +3 nie reqmore NoLabel +4 ma reqmore NoLabel +5 ? reqmore NoLabel + +# text: CHCĘ IŚĆ DO KINA +# intent: repeat +# slots: +1 CHCĘ repeat NoLabel +2 IŚĆ repeat NoLabel +3 DO repeat NoLabel +4 KINA repeat NoLabel + +# text: A gdzie się znajduje? +# intent: reqmore +# slots: +1 A reqmore NoLabel +2 gdzie reqmore NoLabel +3 się reqmore NoLabel +4 znajduje reqmore NoLabel +5 ? reqmore NoLabel + +# text: Elo +# intent: hello +# slots: +1 Elo hello NoLabel + +# text: A co gracie? +# intent: request +# slots: +1 A request NoLabel +2 co request NoLabel +3 gracie request NoLabel +4 ? request NoLabel + +# text: Chcę iść do kina +# intent: request +# slots: +1 Chcę request NoLabel +2 iść request NoLabel +3 do request NoLabel +4 kina request NoLabel + +# text: A jutro? +# intent: reqmore +# slots: +1 A reqmore NoLabel +2 jutro reqmore NoLabel +3 ? reqmore NoLabel + +# text: No pewnie jakoś będzie. Na fanstaczne zernęta proszę zatem. +# intent: inform +# slots: fanstacznezernęta:movie +1 No inform NoLabel +2 pewnie inform NoLabel +3 jakoś inform NoLabel +4 będzie inform NoLabel +5 . inform NoLabel +6 Na inform NoLabel +7 fanstaczne inform B-movie +8 zernęta inform I-movie +9 proszę inform NoLabel +10 zatem inform NoLabel +11 . inform NoLabel + +# text: Jedno dla mnie, drugie dla kota +# intent: inform +# slots: 2:quantity +1 Jedno inform NoLabel +2 dla inform NoLabel +3 mnie inform NoLabel +4 , inform NoLabel +5 drugie inform NoLabel +6 dla inform NoLabel +7 kota inform NoLabel + +# text: To jeden tylko dla mnie proszę +# intent: inform +# slots: jeden:quantity +1 To inform NoLabel +2 jeden inform B-quantity +3 tylko inform NoLabel +4 dla inform NoLabel +5 mnie inform NoLabel +6 proszę inform NoLabel + +# text: No dobła +# intent: affirm +# slots: +1 No affirm NoLabel +2 dobła affirm NoLabel + +# text: woeczprkem moze +# intent: inform +# slots: woeczprkem:hour +1 woeczprkem inform B-hour +2 moze inform NoLabel + +# text: na moje +# intent: null +# slots: +1 na null NoLabel +2 moje null NoLabel + +# text: zarezerwuj ten bilet +# intent: inform +# slots: book:task +1 zarezerwuj inform NoLabel +2 ten inform NoLabel +3 bilet inform NoLabel + +# text: na końcu sali +# intent: request +# slots: +1 na request NoLabel +2 końcu request NoLabel +3 sali request NoLabel + +# text: czy jest to film 2D czy 3D? Z napisami czy z dubbingiem? +# intent: help +# slots: +1 czy help NoLabel +2 jest help NoLabel +3 to help NoLabel +4 film help NoLabel +5 2D help NoLabel +6 czy help NoLabel +7 3D help NoLabel +8 ? help NoLabel +9 Z help NoLabel +10 napisami help NoLabel +11 czy help NoLabel +12 z help NoLabel +13 dubbingiem help NoLabel +14 ? help NoLabel + +# text: batman +# intent: inform +# slots: batman:movie +1 batman inform B-movie + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: karida@st.amu.edu.pl +# intent: inform +# slots: karida@st.amu.edu.pl:e-mail +1 karida@st.amu.edu.pl inform B-e-mail + +# text: podaj mi informacje o bilecie +# intent: reqmore +# slots: +1 podaj reqmore NoLabel +2 mi reqmore NoLabel +3 informacje reqmore NoLabel +4 o reqmore NoLabel +5 bilecie reqmore NoLabel + +# text: wszystkie +# intent: request +# slots: +1 wszystkie request NoLabel + +# text: miejsce 11 +# intent: inform +# slots: 11:seat +1 miejsce inform NoLabel +2 11 inform B-seat + +# text: nie jestem pewien, za ile jest bilet? +# intent: reqmore +# slots: +1 nie reqmore NoLabel +2 jestem reqmore NoLabel +3 pewien reqmore NoLabel +4 , reqmore NoLabel +5 za reqmore NoLabel +6 ile reqmore NoLabel +7 jest reqmore NoLabel +8 bilet reqmore NoLabel +9 ? reqmore NoLabel + +# text: dzisiaj, teraz +# intent: inform +# slots: dzisiaj:date,15:30:hour +1 dzisiaj inform B-date +2 , inform NoLabel +3 teraz inform NoLabel + +# text: 3 normalne i 3 ulgowe +# intent: inform +# slots: 3:quantity,normalne:tickettype,3:quantity,ulgowe:tickettype +1 3 inform B-quantity +2 normalne inform B-tickettype +3 i inform NoLabel +4 3 inform B-quantity +5 ulgowe inform B-tickettype + +# text: A Uncharted +# intent: inform +# slots: Uncharted:movie +1 A inform NoLabel +2 Uncharted inform B-movie + +# text: Cześć bocie +# intent: hello +# slots: +1 Cześć hello NoLabel +2 bocie hello NoLabel + +# text: Co można u was zjeść? +# intent: request +# slots: +1 Co request NoLabel +2 można request NoLabel +3 u request NoLabel +4 was request NoLabel +5 zjeść request NoLabel +6 ? request NoLabel + +# text: Dobra, czy jutro gracie batman? +# intent: inform +# slots: batman:movie +1 Dobra inform NoLabel +2 , inform NoLabel +3 czy inform NoLabel +4 jutro inform NoLabel +5 gracie inform NoLabel +6 batman inform B-movie +7 ? inform NoLabel + +# text: 6 +# intent: inform +# slots: 6:quantity +1 6 inform B-quantity + +# text: Dzień dobry. +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel +3 . hello NoLabel + +# text: Ok +# intent: ack +# slots: +1 Ok ack NoLabel + +# text: Cześć +# intent: hello +# slots: +1 Cześć hello NoLabel + +# text: Chcę dokonać zakupu +# intent: inform +# slots: buy:task +1 Chcę inform NoLabel +2 dokonać inform NoLabel +3 zakupu inform NoLabel + +# text: Chciałym 15.04 +# intent: inform +# slots: 15.04:date +1 Chciałym inform NoLabel +2 15.04 inform B-date + +# text: Jakie macie zniżki? +# intent: request +# slots: +1 Jakie request NoLabel +2 macie request NoLabel +3 zniżki request NoLabel +4 ? request NoLabel + +# text: Czy gracie Batman? +# intent: request +# slots: Batman:movie +1 Czy request NoLabel +2 gracie request NoLabel +3 Batman request B-movie +4 ? request NoLabel + +# text: 5-6 +# intent: inform +# slots: 5-6:seat +1 5-6 inform B-seat + +# text: Cześć systemie +# intent: hello +# slots: +1 Cześć hello NoLabel +2 systemie hello NoLabel + +# text: jan kowalski +# intent: inform +# slots: jankowalski:name +1 jan inform B-name +2 kowalski inform I-name + +# text: Tak, poproszę +# intent: null +# slots: +1 Tak null NoLabel +2 , null NoLabel +3 poproszę null NoLabel + +# text: 1 weteran i 1 ulgowy +# intent: inform +# slots: weteran:tickettype,1:quantity,ulgowy:itickettype,1:quantity +1 1 inform B-quantity +2 weteran inform B-tickettype +3 i inform NoLabel +4 1 inform B-quantity +5 ulgowy inform B-itickettype + +# text: dól lewo +# intent: inform +# slots: +1 dól inform NoLabel +2 lewo inform NoLabel + +# text: dowidzenia +# intent: bye +# slots: +1 dowidzenia bye NoLabel + +# text: ulgowe +# intent: inform +# slots: ulgowe:tickettype +1 ulgowe inform B-tickettype + +# text: Jakub Kaczmarek +# intent: inform +# slots: JakubKaczmarek:name +1 Jakub inform B-name +2 Kaczmarek inform I-name + +# text: chciał bym zarezerwować bilet na minionki o 18.30 +# intent: inform +# slots: book:task,minionki:movie,18.30:hour +1 chciał inform NoLabel +2 bym inform NoLabel +3 zarezerwować inform NoLabel +4 bilet inform NoLabel +5 na inform NoLabel +6 minionki inform B-movie +7 o inform NoLabel +8 18.30 inform B-hour + +# text: poproszę 1 +# intent: inform +# slots: 1:seat +1 poproszę inform NoLabel +2 1 inform B-seat + +# text: 12 rząd +# intent: inform +# slots: 12:row +1 12 inform B-row +2 rząd inform NoLabel + +# text: dzisiaj +# intent: inform +# slots: +1 dzisiaj inform NoLabel + +# text: poprosze w takim razie To nie wypanda o 18:45 +# intent: request +# slots: Toniewypanda:movie,18:45:hour +1 poprosze request NoLabel +2 w request NoLabel +3 takim request NoLabel +4 razie request NoLabel +5 To request B-movie +6 nie request I-movie +7 wypanda request I-movie +8 o request NoLabel +9 18:45 request B-hour + +# text: Dzięki +# intent: thankyou +# slots: +1 Dzięki thankyou NoLabel + +# text: iwona.christop@gmail.com +# intent: inform +# slots: iwona.christop@gmail.com:e-mail +1 iwona.christop@gmail.com inform B-e-mail + +# text: Nie dostałam potwierdzenia +# intent: help +# slots: Niedostałampotwierdzenia:issue +1 Nie help B-issue +2 dostałam help I-issue +3 potwierdzenia help I-issue + +# text: Chciałabym zarezerwować bilet do kina +# intent: request +# slots: book:task +1 Chciałabym request NoLabel +2 zarezerwować request NoLabel +3 bilet request NoLabel +4 do request NoLabel +5 kina request NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: Na wyjdz za mnie +# intent: inform +# slots: wyjdzzamnie:movie +1 Na inform NoLabel +2 wyjdz inform B-movie +3 za inform I-movie +4 mnie inform I-movie + +# text: dzis wieczorem +# intent: inform +# slots: dzis:date,wieczorem:hour +1 dzis inform B-date +2 wieczorem inform B-hour + +# text: Tak +# intent: act +# slots: +1 Tak act NoLabel + +# text: Taki O okita@mail.com +# intent: inform +# slots: okita@mail.com:e-mail,TakiO:name +1 Taki inform B-name +2 O inform I-name +3 okita@mail.com inform B-e-mail + +# text: Wygodne +# intent: null +# slots: +1 Wygodne null NoLabel + +# text: Chciałbym zarezerwować bilety na Batman i zemsta Muminków jutro o 21:00 +# intent: request +# slots: book:task,BatmanizemstaMuminków:movie,jutro:date,21:00:hour +1 Chciałbym request NoLabel +2 zarezerwować request NoLabel +3 bilety request NoLabel +4 na request NoLabel +5 Batman request B-movie +6 i request I-movie +7 zemsta request I-movie +8 Muminków request I-movie +9 jutro request B-date +10 o request NoLabel +11 21:00 request B-hour + +# text: To wszystko, dziękuję +# intent: bye +# slots: +1 To bye NoLabel +2 wszystko bye NoLabel +3 , bye NoLabel +4 dziękuję bye NoLabel + +# text: Co obsługujecie? +# intent: request +# slots: +1 Co request NoLabel +2 obsługujecie request NoLabel +3 ? request NoLabel + +# text: Chcę tylko zarezerwować +# intent: inform +# slots: reservation:task +1 Chcę inform NoLabel +2 tylko inform NoLabel +3 zarezerwować inform NoLabel + +# text: Super +# intent: act +# slots: +1 Super act NoLabel + +# text: Poproszę miejsce 11 w przedostatnim rzędzie. I 7 w ostatnim rzędzie +# intent: inform +# slots: 11:seat,wprzedostatnimrzędzie:row,7:seat,wostatnimrzędzie:row +1 Poproszę inform NoLabel +2 miejsce inform NoLabel +3 11 inform B-seat +4 w inform B-row +5 przedostatnim inform I-row +6 rzędzie inform I-row +7 . inform NoLabel +8 I inform NoLabel +9 7 inform B-seat +10 w inform B-row +11 ostatnim inform I-row +12 rzędzie inform I-row + +# text: Chciałbym anulować rezerwację +# intent: inform +# slots: reservation:task +1 Chciałbym inform NoLabel +2 anulować inform NoLabel +3 rezerwację inform NoLabel + +# text: Na końcu sali +# intent: inform +# slots: +1 Na inform NoLabel +2 końcu inform NoLabel +3 sali inform NoLabel + +# text: Chciałbym poznać akltualny repertuar +# intent: request +# slots: closestscreenings:task +1 Chciałbym request NoLabel +2 poznać request NoLabel +3 akltualny request NoLabel +4 repertuar request NoLabel + +# text: Chcę do kina się przejść +# intent: null +# slots: +1 Chcę null NoLabel +2 do null NoLabel +3 kina null NoLabel +4 się null NoLabel +5 przejść null NoLabel + +# text: Elo +# intent: hello +# slots: +1 Elo hello NoLabel + +# text: O, super. O której? +# intent: request +# slots: Uncharted:hour +1 O request NoLabel +2 , request NoLabel +3 super request NoLabel +4 . request NoLabel +5 O request NoLabel +6 której request NoLabel +7 ? request NoLabel + +# text: Na 21 proszę +# intent: inform +# slots: 21:hour +1 Na inform NoLabel +2 21 inform B-hour +3 proszę inform NoLabel + +# text: Zaskocz mnie +# intent: request +# slots: +1 Zaskocz request NoLabel +2 mnie request NoLabel + +# text: Jan Kowalski +# intent: inform +# slots: JanKowalski:name +1 Jan inform B-name +2 Kowalski inform I-name + +# text: Anulujmy rezerwację w takim razie +# intent: inform +# slots: cancelbook:task +1 Anulujmy inform NoLabel +2 rezerwację inform NoLabel +3 w inform NoLabel +4 takim inform NoLabel +5 razie inform NoLabel + +# text: Coś bym zjadła +# intent: null +# slots: +1 Coś null NoLabel +2 bym null NoLabel +3 zjadła null NoLabel + +# text: Dzięki ❤️ +# intent: thankyou +# slots: +1 Dzięki thankyou NoLabel +2 ❤️ thankyou NoLabel + +# text: Z j a d ł a b y m c o ś +# intent: null +# slots: +1 Z null NoLabel +2 j null NoLabel +3 a null NoLabel +4 d null NoLabel +5 ł null NoLabel +6 a null NoLabel +7 b null NoLabel +8 y null NoLabel +9 m null NoLabel +10 c null NoLabel +11 o null NoLabel +12 ś null NoLabel + +# text: Na środku jakoś +# intent: null +# slots: +1 Na null NoLabel +2 środku null NoLabel +3 jakoś null NoLabel + +# text: To 12 i 13 w J proszę +# intent: inform +# slots: J:row,12i13:seat +1 To inform NoLabel +2 12 inform B-seat +3 i inform I-seat +4 13 inform I-seat +5 w inform NoLabel +6 J inform B-row +7 proszę inform NoLabel + +# text: IJ +# intent: null +# slots: +1 IJ null NoLabel + +# text: Jeden dla mnie, drugi dla kota +# intent: inform +# slots: 2:quantity +1 Jeden inform NoLabel +2 dla inform NoLabel +3 mnie inform NoLabel +4 , inform NoLabel +5 drugi inform NoLabel +6 dla inform NoLabel +7 kota inform NoLabel + +# text: tak +# intent: affirm +# slots: +1 tak affirm NoLabel + +# text: Tomcio Paluch +# intent: inform +# slots: TomcioPaluch:name +1 Tomcio inform B-name +2 Paluch inform I-name + +# text: 7 normalnych i 4 ulgowe +# intent: inform +# slots: 7:quantity,normalnych:tickettype,4:quantity,ulgowe:tickettype +1 7 inform B-quantity +2 normalnych inform B-tickettype +3 i inform NoLabel +4 4 inform B-quantity +5 ulgowe inform B-tickettype + +# text: Chcę kupić bilety na film +# intent: inform +# slots: buy:task +1 Chcę inform NoLabel +2 kupić inform NoLabel +3 bilety inform NoLabel +4 na inform NoLabel +5 film inform NoLabel + +# text: 10.04 +# intent: inform +# slots: 10.04:date +1 10.04 inform B-date + +# text: A jakie filmy gracie? +# intent: request +# slots: +1 A request NoLabel +2 jakie request NoLabel +3 filmy request NoLabel +4 gracie request NoLabel +5 ? request NoLabel + +# text: W takim razie chcę zarezerwować bilety na film to Niewypanda +# intent: inform +# slots: book:task,toNiewypanda:movie +1 W inform NoLabel +2 takim inform NoLabel +3 razie inform NoLabel +4 chcę inform NoLabel +5 zarezerwować inform NoLabel +6 bilety inform NoLabel +7 na inform NoLabel +8 film inform NoLabel +9 to inform B-movie +10 Niewypanda inform I-movie + +# text: Które rzędzy są dostępne? +# intent: null +# slots: +1 Które null NoLabel +2 rzędzy null NoLabel +3 są null NoLabel +4 dostępne null NoLabel +5 ? null NoLabel + +# text: 11 +# intent: inform +# slots: 11:quantity +1 11 inform B-quantity + +# text: Dziękuję +# intent: thankyou +# slots: +1 Dziękuję thankyou NoLabel + +# text: O czym jest Bunkier Strachu? +# intent: request +# slots: BunkierStrachu:details +1 O request NoLabel +2 czym request NoLabel +3 jest request NoLabel +4 Bunkier request B-details +5 Strachu request I-details +6 ? request NoLabel + +# text: Wybieram wszystkie +# intent: inform +# slots: wszystkie:seat +1 Wybieram inform NoLabel +2 wszystkie inform B-seat + +# text: Dobrze +# intent: null +# slots: +1 Dobrze null NoLabel + +# text: Najlepiej rzędy na górze +# intent: null +# slots: +1 Najlepiej null NoLabel +2 rzędy null NoLabel +3 na null NoLabel +4 górze null NoLabel + +# text: Jaka jest nazwa kina +# intent: null +# slots: +1 Jaka null NoLabel +2 jest null NoLabel +3 nazwa null NoLabel +4 kina null NoLabel + +# text: Jakie są dostępne miejsca na film 'Batman'? +# intent: request +# slots: batman:movie +1 Jakie request NoLabel +2 są request NoLabel +3 dostępne request NoLabel +4 miejsca request NoLabel +5 na request NoLabel +6 film request NoLabel +7 Batman request B-movie +8 ? request NoLabel + +# text: Jaki jest zakres rzędów? +# intent: request +# slots: +1 Jaki request NoLabel +2 jest request NoLabel +3 zakres request NoLabel +4 rzędów request NoLabel +5 ? request NoLabel + +# text: Wybieram 6-7 +# intent: inform +# slots: 6-7:seat +1 Wybieram inform NoLabel +2 6-7 inform B-seat + +# text: Już wybrałem miejsca +# intent: null +# slots: +1 Już null NoLabel +2 wybrałem null NoLabel +3 miejsca null NoLabel + +# text: To poproszę bilet ulgowy +# intent: inform +# slots: ulgowy:tickettype +1 To inform NoLabel +2 poproszę inform NoLabel +3 bilet inform NoLabel +4 ulgowy inform B-tickettype + +# text: Kupić +# intent: inform +# slots: buy:task +1 Kupić inform NoLabel + +# text: Dla kogo jest bilet ulgowy? +# intent: request +# slots: ulgowy:tickettype +1 Dla request NoLabel +2 kogo request NoLabel +3 jest request NoLabel +4 bilet request NoLabel +5 ulgowy request B-tickettype +6 ? request NoLabel + +# text: To w 12 +# intent: inform +# slots: 12:row +1 To inform NoLabel +2 w inform NoLabel +3 12 inform B-row + +# text: Chciałbym sprawdzić repertuar na 23 maja +# intent: request +# slots: 23maja:date +1 Chciałbym request NoLabel +2 sprawdzić request NoLabel +3 repertuar request NoLabel +4 na request NoLabel +5 23 request B-date +6 maja request I-date + +# text: 123456789 +# intent: inform +# slots: 123456789:phone +1 123456789 inform B-phone + +# text: Chciał bym zamówić bilet na film Minionki dzisiaj o 18.30 +# intent: inform +# slots: Minionki:movie,dzisiaj:date,18.30:hour +1 Chciał inform NoLabel +2 bym inform NoLabel +3 zamówić inform NoLabel +4 bilet inform NoLabel +5 na inform NoLabel +6 film inform NoLabel +7 Minionki inform B-movie +8 dzisiaj inform B-date +9 o inform NoLabel +10 18.30 inform B-hour + +# text: poprosze bilet ulgowy +# intent: inform +# slots: 1:quantity,ulgowy:ticketType +1 poprosze inform NoLabel +2 bilet inform NoLabel +3 ulgowy inform B-ticketType + +# text: jakie są dostępne ulgi? +# intent: reqmore +# slots: +1 jakie reqmore NoLabel +2 są reqmore NoLabel +3 dostępne reqmore NoLabel +4 ulgi reqmore NoLabel +5 ? reqmore NoLabel + +# text: czy na miejscu mozna kupić popcorn? +# intent: request +# slots: +1 czy request NoLabel +2 na request NoLabel +3 miejscu request NoLabel +4 mozna request NoLabel +5 kupić request NoLabel +6 popcorn request NoLabel +7 ? request NoLabel + +# text: tak, daleko od ekranu +# intent: inform +# slots: dalekoodekranu:seat +1 tak inform NoLabel +2 , inform NoLabel +3 daleko inform B-seat +4 od inform I-seat +5 ekranu inform I-seat + +# text: 123@132.pl +# intent: inform +# slots: 123@132.pl:e-mail +1 123@132.pl inform B-e-mail + +# text: dziękuje +# intent: thankyou +# slots: +1 dziękuje thankyou NoLabel + +# text: Przed filmem +# intent: inform +# slots: +1 Przed inform NoLabel +2 filmem inform NoLabel + +# text: W sumie tak. Interesuje mnie najbliższa sobota +# intent: request +# slots: closestscreenings:task +1 W request NoLabel +2 sumie request NoLabel +3 tak request NoLabel +4 . request NoLabel +5 Interesuje request NoLabel +6 mnie request NoLabel +7 najbliższa request NoLabel +8 sobota request NoLabel + +# text: Cześć +# intent: hello +# slots: +1 Cześć hello NoLabel + +# text: Czy na 'batman i zemsta muminków' w ten dzień dostępne są miejsca w ostatnim rzędzie? +# intent: request +# slots: batmanizemstamuminków:movie +1 Czy request NoLabel +2 na request NoLabel +3 batman request B-movie +4 i request I-movie +5 zemsta request I-movie +6 muminków request I-movie +7 w request NoLabel +8 ten request NoLabel +9 dzień request NoLabel +10 dostępne request NoLabel +11 są request NoLabel +12 miejsca request NoLabel +13 w request NoLabel +14 ostatnim request NoLabel +15 rzędzie request NoLabel +16 ? request NoLabel + +# text: W takim razie je poproszę +# intent: inform +# slots: 7-8:10:seat +1 W inform NoLabel +2 takim inform NoLabel +3 razie inform NoLabel +4 je inform NoLabel +5 poproszę inform NoLabel + +# text: Tak +# intent: ack +# slots: +1 Tak ack NoLabel + +# text: Tak +# intent: ack +# slots: +1 Tak ack NoLabel + +# text: A przedostatni? Interesują mnie dwa miejsca koło siebie +# intent: request +# slots: +1 A request NoLabel +2 przedostatni request NoLabel +3 ? request NoLabel +4 Interesują request NoLabel +5 mnie request NoLabel +6 dwa request NoLabel +7 miejsca request NoLabel +8 koło request NoLabel +9 siebie request NoLabel + +# text: A jakie są dostępne +# intent: request +# slots: +1 A request NoLabel +2 jakie request NoLabel +3 są request NoLabel +4 dostępne request NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: dziękuję, do widzenia +# intent: bye +# slots: +1 dziękuję bye NoLabel +2 , bye NoLabel +3 do bye NoLabel +4 widzenia bye NoLabel + +# text: 16.03 +# intent: inform +# slots: 16.03:date +1 16.03 inform B-date + +# text: 2 +# intent: inform +# slots: 2:seat +1 2 inform B-seat + +# text: Dziękuję +# intent: ack +# slots: +1 Dziękuję ack NoLabel + +# text: przez internet +# intent: inform +# slots: przezinternet:purchaseType +1 przez inform B-purchaseType +2 internet inform I-purchaseType + +# text: A jakie są miejsca najbliżej ekranu? +# intent: request +# slots: najbliżejekranu:seat +1 A request NoLabel +2 jakie request NoLabel +3 są request NoLabel +4 miejsca request NoLabel +5 najbliżej request B-seat +6 ekranu request I-seat +7 ? request NoLabel + +# text: Gdzie jest to kino? +# intent: request +# slots: +1 Gdzie request NoLabel +2 jest request NoLabel +3 to request NoLabel +4 kino request NoLabel +5 ? request NoLabel + +# text: Chciałbym miejsca najbliżej ekranu +# intent: request +# slots: najbliżejekranu:seat +1 Chciałbym request NoLabel +2 miejsca request NoLabel +3 najbliżej request B-seat +4 ekranu request I-seat + +# text: tak zgadza się +# intent: act +# slots: +1 tak act NoLabel +2 zgadza act NoLabel +3 się act NoLabel + +# text: rząd 2 miejsca 6,7 +# intent: inform +# slots: 6,7:seat,2:row +1 rząd inform NoLabel +2 2 inform B-row +3 miejsca inform NoLabel +4 6,7 inform B-seat + +# text: Co w przypadku gdy się spóźnie? +# intent: reqmore +# slots: +1 Co reqmore NoLabel +2 w reqmore NoLabel +3 przypadku reqmore NoLabel +4 gdy reqmore NoLabel +5 się reqmore NoLabel +6 spóźnie reqmore NoLabel +7 ? reqmore NoLabel + +# text: Rozumiem +# intent: ack +# slots: +1 Rozumiem ack NoLabel + +# text: Dziękuje za obsługe +# intent: thankyou +# slots: +1 Dziękuje thankyou NoLabel +2 za thankyou NoLabel +3 obsługe thankyou NoLabel + +# text: test@test.pl +# intent: inform +# slots: test@test.pl:e-mail +1 test@test.pl inform B-e-mail + +# text: Bilet na seans +# intent: request +# slots: +1 Bilet request NoLabel +2 na request NoLabel +3 seans request NoLabel + +# text: Jan Kowalski +# intent: inform +# slots: JanKowalski:name +1 Jan inform B-name +2 Kowalski inform I-name + +# text: o czym jest straszny film 10? +# intent: request +# slots: movie_detail:task +1 o request NoLabel +2 czym request NoLabel +3 jest request NoLabel +4 straszny request NoLabel +5 film request NoLabel +6 10 request NoLabel +7 ? request NoLabel + +# text: Jakie są godziny tych seansów? +# intent: request +# slots: +1 Jakie request NoLabel +2 są request NoLabel +3 godziny request NoLabel +4 tych request NoLabel +5 seansów request NoLabel +6 ? request NoLabel + +# text: Możesz mi podać jakie są najbliższe seanse? +# intent: request +# slots: +1 Możesz request NoLabel +2 mi request NoLabel +3 podać request NoLabel +4 jakie request NoLabel +5 są request NoLabel +6 najbliższe request NoLabel +7 seanse request NoLabel +8 ? request NoLabel + +# text: Ostatni +# intent: inform +# slots: ostatni:row +1 Ostatni inform B-row + +# text: Tak +# intent: affirm +# slots: +1 Tak affirm NoLabel + +# text: 1 +# intent: inform +# slots: 1:quantity +1 1 inform B-quantity + +# text: daleko od ludzi +# intent: null +# slots: +1 daleko null NoLabel +2 od null NoLabel +3 ludzi null NoLabel + +# text: poprosze inni ludzie na 14:1313 +# intent: null +# slots: +1 poprosze null NoLabel +2 inni null NoLabel +3 ludzie null NoLabel +4 na null NoLabel +5 14:1313 null NoLabel + +# text: Dziękuję +# intent: bye +# slots: +1 Dziękuję bye NoLabel + +# text: Chciałbym kupić bilet na NajlepszaNAzwaFilmu +# intent: inform +# slots: book:task,NajlepszaNAzwaFilmu:movie +1 Chciałbym inform NoLabel +2 kupić inform NoLabel +3 bilet inform NoLabel +4 na inform NoLabel +5 NajlepszaNAzwaFilmu inform B-movie + +# text: Dzień dobry! +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel +3 ! hello NoLabel + +# text: A jest ulga dla zwierząt? +# intent: reqmore +# slots: +1 A reqmore NoLabel +2 jest reqmore NoLabel +3 ulga reqmore NoLabel +4 dla reqmore NoLabel +5 zwierząt reqmore NoLabel +6 ? reqmore NoLabel + +# text: No dobła, niech będzie +# intent: ack affirm +# slots: +1 No ack_affirm NoLabel +2 dobła ack_affirm NoLabel +3 , ack_affirm NoLabel +4 niech ack_affirm NoLabel +5 będzie ack_affirm NoLabel + +# text: A co macie +# intent: request +# slots: +1 A request NoLabel +2 co request NoLabel +3 macie request NoLabel + +# text: to na dzisiaj na śmirc na nilu +# intent: inform +# slots: śmircnanilu:movie,dzisiaj:date +1 to inform NoLabel +2 na inform NoLabel +3 dzisiaj inform B-date +4 na inform NoLabel +5 śmirc inform B-movie +6 na inform I-movie +7 nilu inform I-movie + +# text: przed ostatnim +# intent: inform +# slots: 10:seat_row +1 przed inform NoLabel +2 ostatnim inform NoLabel + +# text: Chciałbym kupić bilet +# intent: inform +# slots: book:task +1 Chciałbym inform NoLabel +2 kupić inform NoLabel +3 bilet inform NoLabel + +# text: wygodne +# intent: null +# slots: +1 wygodne null NoLabel + +# text: 19:30 +# intent: inform +# slots: 19:30:hour +1 19:30 inform B-hour + +# text: Jakie płatności przyjmujecie? +# intent: request +# slots: +1 Jakie request NoLabel +2 płatności request NoLabel +3 przyjmujecie request NoLabel +4 ? request NoLabel + +# text: Dziękuję systemie +# intent: thankyou +# slots: +1 Dziękuję thankyou NoLabel +2 systemie thankyou NoLabel + +# text: 22 +# intent: null +# slots: +1 22 null NoLabel + +# text: Tak +# intent: affirm +# slots: +1 Tak affirm NoLabel + +# text: pierwszy rząd +# intent: inform +# slots: pierwszy:row +1 pierwszy inform B-row +2 rząd inform NoLabel + +# text: 2 +# intent: inform +# slots: 2:quantity +1 2 inform B-quantity + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: dzień dobry +# intent: hello +# slots: +1 dzień hello NoLabel +2 dobry hello NoLabel + +# text: z tyłu, na środku (aby ekran był centralnie widoczny) +# intent: inform +# slots: +1 z inform NoLabel +2 tyłu inform NoLabel +3 , inform NoLabel +4 na inform NoLabel +5 środku inform NoLabel +6 ( inform NoLabel +7 aby inform NoLabel +8 ekran inform NoLabel +9 był inform NoLabel +10 centralnie inform NoLabel +11 widoczny inform NoLabel +12 ) inform NoLabel + +# text: Martyna Druminska mdruminska074@gmail.com +# intent: inform +# slots: mdruminska074@gmail.com:e-mail,MartynaDruminska:name +1 Martyna inform B-name +2 Druminska inform I-name +3 mdruminska074@gmail.com inform B-e-mail + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: Chciałbym wypożyczyć film +# intent: null +# slots: +1 Chciałbym null NoLabel +2 wypożyczyć null NoLabel +3 film null NoLabel + +# text: Zgadza się +# intent: act +# slots: +1 Zgadza act NoLabel +2 się act NoLabel + +# text: Nie, rozmyśliłam się. +# intent: deny +# slots: cancelbook:task +1 Nie deny NoLabel +2 , deny NoLabel +3 rozmyśliłam deny NoLabel +4 się deny NoLabel +5 . deny NoLabel + +# text: O, bilet kupię zatem +# intent: inform +# slots: buy:task +1 O inform NoLabel +2 , inform NoLabel +3 bilet inform NoLabel +4 kupię inform NoLabel +5 zatem inform NoLabel + +# text: I J +# intent: inform +# slots: IJ:row +1 I inform B-row +2 J inform I-row + +# text: normalny i ulgowy +# intent: inform +# slots: normalny:tickettype,ulgowy:tickettype +1 normalny inform B-tickettype +2 i inform NoLabel +3 ulgowy inform B-tickettype + +# text: 7 normalnych i 5 ulgowych\ +# intent: inform +# slots: 7:quantity,normalnych:tickettype,5:quantity,ulgowych:tickettype +1 7 inform B-quantity +2 normalnych inform B-tickettype +3 i inform NoLabel +4 5 inform B-quantity +5 ulgowych\ inform NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: rząd 10 +# intent: inform +# slots: 10:row +1 rząd inform NoLabel +2 10 inform B-row + +# text: Czy gracie jakieś komedie? +# intent: request +# slots: komedie:genre +1 Czy request NoLabel +2 gracie request NoLabel +3 jakieś request NoLabel +4 komedie request B-genre +5 ? request NoLabel + +# text: Jakie są rodzaje biletów? +# intent: request +# slots: +1 Jakie request NoLabel +2 są request NoLabel +3 rodzaje request NoLabel +4 biletów request NoLabel +5 ? request NoLabel + +# text: Cześć +# intent: hello +# slots: +1 Cześć hello NoLabel + +# text: 2 bilety +# intent: inform +# slots: 2:quantity +1 2 inform B-quantity +2 bilety inform NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: dobrze +# intent: affirm +# slots: +1 dobrze affirm NoLabel + +# text: Chciałbym dowiedzieć się czegoś o aktualnym repertuarze +# intent: request +# slots: closestscreenings:task +1 Chciałbym request NoLabel +2 dowiedzieć request NoLabel +3 się request NoLabel +4 czegoś request NoLabel +5 o request NoLabel +6 aktualnym request NoLabel +7 repertuarze request NoLabel + +# text: Jan Kowalski, kowalski69@gmail.com +# intent: inform +# slots: kowalski69@gmail.com:e-mail,JanKowalski:name +1 Jan inform B-name +2 Kowalski inform I-name +3 , inform NoLabel +4 kowalski69@gmail.com inform B-e-mail diff --git a/NLU_lab_7-8/train-pl.conllu b/data/train-pl.conllu similarity index 65% rename from NLU_lab_7-8/train-pl.conllu rename to data/train-pl.conllu index dfa1e84..32dd72f 100644 --- a/NLU_lab_7-8/train-pl.conllu +++ b/data/train-pl.conllu @@ -1,19 +1,29 @@ +# text: ok, Adam Nowak aaanowak@mail.com +# intent: inform +# slots: aaanowak@mail.com:e-mail,AdamNowak:name +1 ok inform NoLabel +2 , inform NoLabel +3 Adam inform B-name +4 Nowak inform I-name +5 aaanowak@mail.com inform B-e-mail + +# text: Tak +# intent: act +# slots: +1 Tak act NoLabel + # text: teraz # intent: inform # slots: 1 teraz inform NoLabel -# text: Chciałbym kupić bilet na Batman w środę. -# intent: request inform inform -# slots: wśrodę:date -1 Chciałbym request_inform_inform NoLabel -2 kupić request_inform_inform NoLabel -3 bilet request_inform_inform NoLabel -4 na request_inform_inform NoLabel -5 Batman request_inform_inform NoLabel -6 w request_inform_inform B-date -7 środę request_inform_inform I-date -8 . request_inform_inform NoLabel +# text: miejsca w tylnych rzędach +# intent: inform +# slots: +1 miejsca inform NoLabel +2 w inform NoLabel +3 tylnych inform NoLabel +4 rzędach inform NoLabel # text: jakie dane muszę podać? # intent: reqmore @@ -26,54 +36,44 @@ # text: poproszę miejsca od 10 do 12 w ostatnim rzędzie # intent: inform -# slots: 10do12wostatnimrzędzie:seat +# slots: 10do12:seat,wostatnimrzędzie:row 1 poproszę inform NoLabel 2 miejsca inform NoLabel 3 od inform NoLabel 4 10 inform B-seat 5 do inform I-seat 6 12 inform I-seat -7 w inform I-seat -8 ostatnim inform I-seat -9 rzędzie inform I-seat +7 w inform B-row +8 ostatnim inform I-row +9 rzędzie inform I-row -# text: miejsca w tylnych rzędach -# intent: inform -# slots: -1 miejsca inform NoLabel -2 w inform NoLabel -3 tylnych inform NoLabel -4 rzędach inform NoLabel - -# text: ok, Adam Nowak aaanowak@mail.com -# intent: inform inform -# slots: AdamNowak:name -1 ok inform_inform NoLabel -2 , inform_inform NoLabel -3 Adam inform_inform B-name -4 Nowak inform_inform I-name -5 aaanowak@mail.com inform_inform NoLabel - -# text: dziękuję, do widzenia -# intent: bye -# slots: -1 dziękuję bye NoLabel -2 , bye NoLabel -3 do bye NoLabel -4 widzenia bye NoLabel - -# text: A jakie są dostępne +# text: Chciałbym kupić bilet na Batman w środę. # intent: request -# slots: -1 A request NoLabel -2 jakie request NoLabel -3 są request NoLabel -4 dostępne request NoLabel +# slots: book:task,Batman:movie,wśrodę:date +1 Chciałbym request NoLabel +2 kupić request NoLabel +3 bilet request NoLabel +4 na request NoLabel +5 Batman request B-movie +6 w request B-date +7 środę request I-date +8 . request NoLabel -# text: ok -# intent: affirm -# slots: -1 ok affirm NoLabel +# text: wybieram 18:00 +# intent: inform +# slots: 18:00:hour +1 wybieram inform NoLabel +2 18:00 inform B-hour + +# text: 1 +# intent: inform +# slots: 1:row +1 1 inform B-row + +# text: 17:00 +# intent: inform +# slots: 17:00:hour +1 17:00 inform B-hour # text: chciałbym zarezerwować bilet na batmana # intent: help @@ -89,31 +89,36 @@ # slots: studencki:tickettype 1 studencki inform B-tickettype -# text: Jan Kowalski -# intent: affirm inform -# slots: JanKowalski:name -1 Jan affirm_inform B-name -2 Kowalski affirm_inform I-name - # text: Cześć # intent: hello # slots: 1 Cześć hello NoLabel -# text: 2 -# intent: inform -# slots: 2:seat -1 2 inform B-seat - -# text: 17:00 -# intent: inform -# slots: 17:00:hour -1 17:00 inform B-hour - # text: 1 -# intent: affirm inform -# slots: 1:ticketnumber -1 1 affirm_inform B-ticketnumber +# intent: inform +# slots: 1:quantity +1 1 inform B-quantity + +# text: Jan Kowalski +# intent: inform +# slots: JanKowalski:name +1 Jan inform B-name +2 Kowalski inform I-name + +# text: ok +# intent: affirm +# slots: +1 ok affirm NoLabel + +# text: 12093098490832030210334434 +# intent: inform +# slots: 12093098490832030210334434:bankAccountNumber +1 12093098490832030210334434 inform B-bankAccountNumber + +# text: 485554893 +# intent: inform +# slots: 485554893:phone +1 485554893 inform B-phone # text: Film miał zacząć się o 19, natomiast pracownicy kina odmówili mi wpuszczenia na seans do godziny 19:30, przez co nie mogłam zobaczyć wszystkich reklam 🙁 # intent: inform @@ -146,11 +151,6 @@ 26 reklam inform NoLabel 27 🙁 inform NoLabel -# text: 12093098490832030210334434 -# intent: inform -# slots: 12093098490832030210334434:bankAccountNumber -1 12093098490832030210334434 inform B-bankAccountNumber - # text: Dzień dobry, chciałabym złożyć reklamację biletów # intent: inform # slots: @@ -162,17 +162,21 @@ 6 reklamację inform NoLabel 7 biletów inform NoLabel -# text: Dziękuję -# intent: ack -# slots: -1 Dziękuję ack NoLabel - # text: Dzień dobry # intent: hello # slots: 1 Dzień hello NoLabel 2 dobry hello NoLabel +# text: Jakie są najbliższe seanse? +# intent: request +# slots: +1 Jakie request NoLabel +2 są request NoLabel +3 najbliższe request NoLabel +4 seanse request NoLabel +5 ? request NoLabel + # text: A jakie miejsca zostały zarezerwowane? # intent: request # slots: @@ -183,33 +187,18 @@ 5 zarezerwowane request NoLabel 6 ? request NoLabel -# text: W jaki inny dzień bilety kosztują mniej? -# intent: reqmore +# text: Rozumiem. Dziękuję +# intent: ack thankyou # slots: -1 W reqmore NoLabel -2 jaki reqmore NoLabel -3 inny reqmore NoLabel -4 dzień reqmore NoLabel -5 bilety reqmore NoLabel -6 kosztują reqmore NoLabel -7 mniej reqmore NoLabel -8 ? reqmore NoLabel +1 Rozumiem ack_thankyou NoLabel +2 . ack_thankyou NoLabel +3 Dziękuję ack_thankyou NoLabel -# text: Witam -# intent: hello -# slots: -1 Witam hello NoLabel - -# text: A jakie są miejsca najbliżej ekranu? -# intent: request -# slots: najbliżejekranu:seats -1 A request NoLabel -2 jakie request NoLabel -3 są request NoLabel -4 miejsca request NoLabel -5 najbliżej request B-seats -6 ekranu request I-seats -7 ? request NoLabel +# text: emkarcinos42069@buziaczek.pl 123123123 +# intent: inform +# slots: emkarcinos42069@buziaczek.pl:e-mail,123123123:phone +1 emkarcinos42069@buziaczek.pl inform B-e-mail +2 123123123 inform B-phone # text: W jakim kinie? # intent: request @@ -219,55 +208,10 @@ 3 kinie request NoLabel 4 ? request NoLabel -# text: Rozumiem. Chcę w takim razie zarezerwować dwa bilety na Sing 2 -# intent: ack request request -# slots: Sing2:title -1 Rozumiem ack_request_request NoLabel -2 . ack_request_request NoLabel -3 Chcę ack_request_request NoLabel -4 w ack_request_request NoLabel -5 takim ack_request_request NoLabel -6 razie ack_request_request NoLabel -7 zarezerwować ack_request_request NoLabel -8 dwa ack_request_request NoLabel -9 bilety ack_request_request NoLabel -10 na ack_request_request NoLabel -11 Sing ack_request_request B-title -12 2 ack_request_request I-title - -# text: Gdzie jest to kino? -# intent: request +# text: Witam +# intent: hello # slots: -1 Gdzie request NoLabel -2 jest request NoLabel -3 to request NoLabel -4 kino request NoLabel -5 ? request NoLabel - -# text: Chciałbym miejsca najbliżej ekranu -# intent: request -# slots: najbliżejekranu:seats -1 Chciałbym request NoLabel -2 miejsca request NoLabel -3 najbliżej request B-seats -4 ekranu request I-seats - -# text: Jeden normalny i ulgowy -# intent: inform -# slots: -1 Jeden inform NoLabel -2 normalny inform NoLabel -3 i inform NoLabel -4 ulgowy inform NoLabel - -# text: Jakie są najbliższe seanse? -# intent: request requestrequest -# slots: -1 Jakie request_requestrequest NoLabel -2 są request_requestrequest NoLabel -3 najbliższe request_requestrequest NoLabel -4 seanse request_requestrequest NoLabel -5 ? request_requestrequest NoLabel +1 Witam hello NoLabel # text: A jakie są DOSTĘPNE miejsca najbliżej ekranu? # intent: request @@ -281,21 +225,52 @@ 7 ekranu request NoLabel 8 ? request NoLabel -# text: Adrian Charkiewicz, gfasfaf@gmail.com -# intent: inform inform -# slots: AdrianCharkiewicz:name -1 Adrian inform_inform B-name -2 Charkiewicz inform_inform I-name -3 , inform_inform NoLabel -4 gfasfaf@gmail.com inform_inform NoLabel +# text: W jaki inny dzień bilety kosztują mniej? +# intent: reqmore +# slots: +1 W reqmore NoLabel +2 jaki reqmore NoLabel +3 inny reqmore NoLabel +4 dzień reqmore NoLabel +5 bilety reqmore NoLabel +6 kosztują reqmore NoLabel +7 mniej reqmore NoLabel +8 ? reqmore NoLabel -# text: rząd 2 miejsca 6,7 +# text: Ile kosztują bielty na Sing 2? +# intent: request +# slots: +1 Ile request NoLabel +2 kosztują request NoLabel +3 bielty request NoLabel +4 na request NoLabel +5 Sing request NoLabel +6 2 request NoLabel +7 ? request NoLabel + +# text: Jeden normalny i ulgowy # intent: inform -# slots: rząd2miejsca6,7:seat -1 rząd inform B-seat -2 2 inform I-seat -3 miejsca inform I-seat -4 6,7 inform I-seat +# slots: +1 Jeden inform NoLabel +2 normalny inform NoLabel +3 i inform NoLabel +4 ulgowy inform NoLabel + +# text: Rozumiem. Chcę w takim razie zarezerwować dwa bilety na Sing 2 +# intent: request +# slots: dwa:quantity,Sing2:movie +1 Rozumiem request NoLabel +2 . request NoLabel +3 Chcę request NoLabel +4 w request NoLabel +5 takim request NoLabel +6 razie request NoLabel +7 zarezerwować request NoLabel +8 dwa request B-quantity +9 bilety request NoLabel +10 na request NoLabel +11 Sing request B-movie +12 2 request I-movie # text: z przodu # intent: inform @@ -303,30 +278,33 @@ 1 z inform NoLabel 2 przodu inform NoLabel -# text: tak zgadza się -# intent: act +# text: Adrian Charkiewicz, gfasfaf@gmail.com +# intent: inform +# slots: gfasfaf@gmail.com:e-mail,AdrianCharkiewicz:name +1 Adrian inform B-name +2 Charkiewicz inform I-name +3 , inform NoLabel +4 gfasfaf@gmail.com inform B-e-mail + +# text: Dzień dobry +# intent: hello # slots: -1 tak act NoLabel -2 zgadza act NoLabel -3 się act NoLabel +1 Dzień hello NoLabel +2 dobry hello NoLabel # text: jutro popołudniu -# intent: inform inform -# slots: popołudniu:hour -1 jutro inform_inform NoLabel -2 popołudniu inform_inform B-hour +# intent: inform +# slots: jutro:date,popołudniu:hour +1 jutro inform B-date +2 popołudniu inform B-hour -# text: Chciałbym obejrzeć film -# intent: inform help -# slots: -1 Chciałbym inform_help NoLabel -2 obejrzeć inform_help NoLabel -3 film inform_help NoLabel - -# text: Rozumiem -# intent: ack -# slots: -1 Rozumiem ack NoLabel +# text: Chcialbym bilet na Batman +# intent: request +# slots: book:task,Batman:movie +1 Chcialbym request NoLabel +2 bilet request NoLabel +3 na request NoLabel +4 Batman request B-movie # text: Bilety ulgowe # intent: inform @@ -334,21 +312,17 @@ 1 Bilety inform NoLabel 2 ulgowe inform B-ticketType -# text: 20 -# intent: infrom -# slots: 20:quantity -1 20 infrom B-quantity - -# text: Nie -# intent: deny +# text: Tak +# intent: affirm # slots: -1 Nie deny NoLabel +1 Tak affirm NoLabel -# text: Może być -# intent: ack +# text: Chciałbym obejrzeć film +# intent: help # slots: -1 Może ack NoLabel -2 być ack NoLabel +1 Chciałbym help NoLabel +2 obejrzeć help NoLabel +3 film help NoLabel # text: nie chce podawać numeru telefonu # intent: deny @@ -359,17 +333,19 @@ 4 numeru deny NoLabel 5 telefonu deny NoLabel -# text: Dziękuje za obsługe -# intent: thankyou bye -# slots: -1 Dziękuje thankyou_bye NoLabel -2 za thankyou_bye NoLabel -3 obsługe thankyou_bye NoLabel +# text: lalalalili@gmai.com, 111222111 +# intent: inform +# slots: lalalalili@gmail.com:email,111222111:phone +1 lalalalili@gmai.com inform NoLabel +2 , inform NoLabel +3 111222111 inform B-phone -# text: Tak -# intent: affirm -# slots: -1 Tak affirm NoLabel +# text: Wybieram godzinę 20:45 +# intent: inform +# slots: 20:45:hour +1 Wybieram inform NoLabel +2 godzinę inform NoLabel +3 20:45 inform B-hour # text: Ile minut przed senansem muszę być na miejscu, aby odebrać bilet? # intent: reqmore @@ -390,20 +366,56 @@ # text: Chce iść na jakoś to będzie # intent: inform -# slots: jakośtobędzie:title +# slots: jakośtobędzie:movie 1 Chce inform NoLabel 2 iść inform NoLabel 3 na inform NoLabel -4 jakoś inform B-title -5 to inform I-title -6 będzie inform I-title +4 jakoś inform B-movie +5 to inform I-movie +6 będzie inform I-movie -# text: Wybieram godzinę 20:45 +# text: 20 # intent: inform -# slots: 20:45:time -1 Wybieram inform NoLabel -2 godzinę inform NoLabel -3 20:45 inform B-time +# slots: 20:quantity +1 20 inform B-quantity + +# text: Cześć +# intent: hello +# slots: +1 Cześć hello NoLabel + +# text: Może być +# intent: ack +# slots: +1 Może ack NoLabel +2 być ack NoLabel + +# text: Nie +# intent: deny +# slots: +1 Nie deny NoLabel + +# text: Poproszę bilet na ostatni seans Batmana +# intent: inform +# slots: Batmana:movie,ostatni:hour +1 Poproszę inform NoLabel +2 bilet inform NoLabel +3 na inform NoLabel +4 ostatni inform B-hour +5 seans inform NoLabel +6 Batmana inform B-movie + +# text: 123456789 +# intent: inform +# slots: 123456789:phone +1 123456789 inform B-phone + +# text: Chciałbym kupić seans +# intent: request +# slots: +1 Chciałbym request NoLabel +2 kupić request NoLabel +3 seans request NoLabel # text: Dzień dobry! # intent: hello @@ -412,38 +424,16 @@ 2 dobry hello NoLabel 3 ! hello NoLabel -# text: Bilet na seans +# text: chciałbym się dowiedzieć co będzie 25 marca # intent: request # slots: -1 Bilet request NoLabel -2 na request NoLabel -3 seans request NoLabel - -# text: 123456789 -# intent: inform -# slots: 123456789:phone -1 123456789 inform B-phone - -# text: test@test.pl -# intent: inform -# slots: test@test.pl:e-mail -1 test@test.pl inform B-e-mail - -# text: poproszę -# intent: inform -# slots: 10-14,11:seat -1 poproszę inform NoLabel - -# text: jan.kowalski@pies.pl -# intent: inform -# slots: jan.kowalski@pies.pl:e-mail -1 jan.kowalski@pies.pl inform B-e-mail - -# text: Dzień dobry -# intent: hello -# slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel +1 chciałbym request NoLabel +2 się request NoLabel +3 dowiedzieć request NoLabel +4 co request NoLabel +5 będzie request NoLabel +6 25 request NoLabel +7 marca request NoLabel # text: poproszę 3 bilety # intent: request @@ -452,22 +442,10 @@ 2 3 request NoLabel 3 bilety request NoLabel -# text: o czym jest straszny film 10? -# intent: request -# slots: movie_detail:task -1 o request NoLabel -2 czym request NoLabel -3 jest request NoLabel -4 straszny request NoLabel -5 film request NoLabel -6 10 request NoLabel -7 ? request NoLabel - -# text: na tyłach +# text: poproszę # intent: inform -# slots: -1 na inform NoLabel -2 tyłach inform NoLabel +# slots: 10-14,11:seat +1 poproszę inform NoLabel # text: chciałbym się dowiedzieć jaki jest aktualny repertuar # intent: request @@ -480,19 +458,36 @@ 6 aktualny request NoLabel 7 repertuar request NoLabel -# text: Jaki jest repertuar na ten tydzień w kinie Rialto? -# intent: request request request +# text: jan.kowalski@pies.pl +# intent: inform +# slots: jan.kowalski@pies.pl:e-mail +1 jan.kowalski@pies.pl inform B-e-mail + +# text: na tyłach +# intent: inform # slots: -1 Jaki request_request_request NoLabel -2 jest request_request_request NoLabel -3 repertuar request_request_request NoLabel -4 na request_request_request NoLabel -5 ten request_request_request NoLabel -6 tydzień request_request_request NoLabel -7 w request_request_request NoLabel -8 kinie request_request_request NoLabel -9 Rialto request_request_request NoLabel -10 ? request_request_request NoLabel +1 na inform NoLabel +2 tyłach inform NoLabel + +# text: Dzień dobry +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel + +# text: Jaki jest repertuar na ten tydzień w kinie Rialto? +# intent: request +# slots: +1 Jaki request NoLabel +2 jest request NoLabel +3 repertuar request NoLabel +4 na request NoLabel +5 ten request NoLabel +6 tydzień request NoLabel +7 w request NoLabel +8 kinie request NoLabel +9 Rialto request NoLabel +10 ? request NoLabel # text: Witam # intent: hello @@ -501,9 +496,57 @@ # text: Cały tydzień # intent: inform -# slots: Całytydzień:date -1 Cały inform B-date -2 tydzień inform I-date +# slots: +1 Cały inform NoLabel +2 tydzień inform NoLabel + +# text: kino lokalizacja +# intent: request +# slots: +1 kino request NoLabel +2 lokalizacja request NoLabel + +# text: W jaki dzień bilety są najtańsze? +# intent: reqmore +# slots: +1 W reqmore NoLabel +2 jaki reqmore NoLabel +3 dzień reqmore NoLabel +4 bilety reqmore NoLabel +5 są reqmore NoLabel +6 najtańsze reqmore NoLabel +7 ? reqmore NoLabel + +# text: Witam +# intent: hello +# slots: +1 Witam hello NoLabel + +# text: A w jakim to kinie? +# intent: null +# slots: +1 A null NoLabel +2 w null NoLabel +3 jakim null NoLabel +4 to null NoLabel +5 kinie null NoLabel +6 ? null NoLabel + +# text: Chcę wiedzieć w jakim kinie podajesz seanse +# intent: null +# slots: +1 Chcę null NoLabel +2 wiedzieć null NoLabel +3 w null NoLabel +4 jakim null NoLabel +5 kinie null NoLabel +6 podajesz null NoLabel +7 seanse null NoLabel + +# text: Tak +# intent: affirm +# slots: +1 Tak affirm NoLabel # text: W takim razie chciałbym zarezerować dwa miejsca na film to nie wipanda w niedzielę # intent: null @@ -523,12 +566,20 @@ 13 w null NoLabel 14 niedzielę null NoLabel -# text: 9 i 10 -# intent: inform inform -# slots: 10:seat -1 9 inform_inform NoLabel -2 i inform_inform NoLabel -3 10 inform_inform B-seat +# text: Jeden ulgowy jeden senior +# intent: inform +# slots: jeden:quantity,ulgowy:tickettype,jeden:quantity,senior:tickettype +1 Jeden inform B-quantity +2 ulgowy inform B-tickettype +3 jeden inform B-quantity +4 senior inform B-tickettype + +# text: Z tyłu sali +# intent: null +# slots: +1 Z null NoLabel +2 tyłu null NoLabel +3 sali null NoLabel # text: Ile kosztują bielty na Niewypanda? # intent: null @@ -540,73 +591,6 @@ 5 Niewypanda null NoLabel 6 ? null NoLabel -# text: kino lokalizacja -# intent: request -# slots: -1 kino request NoLabel -2 lokalizacja request NoLabel - -# text: Ostatni -# intent: inform -# slots: ostatni:row -1 Ostatni inform B-row - -# text: Chcę wiedzieć w jakim kinie podajesz seanse -# intent: null -# slots: -1 Chcę null NoLabel -2 wiedzieć null NoLabel -3 w null NoLabel -4 jakim null NoLabel -5 kinie null NoLabel -6 podajesz null NoLabel -7 seanse null NoLabel - -# text: A w jakim to kinie? -# intent: null -# slots: -1 A null NoLabel -2 w null NoLabel -3 jakim null NoLabel -4 to null NoLabel -5 kinie null NoLabel -6 ? null NoLabel - -# text: Witam -# intent: hello -# slots: -1 Witam hello NoLabel - -# text: W jaki dzień bilety są najtańsze? -# intent: reqmore -# slots: -1 W reqmore NoLabel -2 jaki reqmore NoLabel -3 dzień reqmore NoLabel -4 bilety reqmore NoLabel -5 są reqmore NoLabel -6 najtańsze reqmore NoLabel -7 ? reqmore NoLabel - -# text: Z tyłu sali -# intent: null -# slots: -1 Z null NoLabel -2 tyłu null NoLabel -3 sali null NoLabel - -# text: Możesz mi podać jakie są najbliższe seanse? -# intent: request -# slots: -1 Możesz request NoLabel -2 mi request NoLabel -3 podać request NoLabel -4 jakie request NoLabel -5 są request NoLabel -6 najbliższe request NoLabel -7 seanse request NoLabel -8 ? request NoLabel - # text: A kiedy bilety są najtańsze? # intent: request # slots: @@ -617,16 +601,66 @@ 5 najtańsze request NoLabel 6 ? request NoLabel -# text: 1 +# text: 9 i 10 # intent: inform -# slots: 1:ticketnumber -1 1 inform B-ticketnumber +# slots: 9i10:seat +1 9 inform B-seat +2 i inform I-seat +3 10 inform I-seat + +# text: Nie wiem czy masz jakieś propozycję na dziś ? +# intent: request +# slots: +1 Nie request NoLabel +2 wiem request NoLabel +3 czy request NoLabel +4 masz request NoLabel +5 jakieś request NoLabel +6 propozycję request NoLabel +7 na request NoLabel +8 dziś request NoLabel +9 ? request NoLabel + +# text: chciałbym aby nie było ludzi w okół mnie +# intent: null +# slots: +1 chciałbym null NoLabel +2 aby null NoLabel +3 nie null NoLabel +4 było null NoLabel +5 ludzi null NoLabel +6 w null NoLabel +7 okół null NoLabel +8 mnie null NoLabel + +# text: poproszę o miejsce 5 w rzędzie 10 +# intent: inform +# slots: 5:seat,10:row +1 poproszę inform NoLabel +2 o inform NoLabel +3 miejsce inform NoLabel +4 5 inform B-seat +5 w inform NoLabel +6 rzędzie inform NoLabel +7 10 inform B-row # text: Witam # intent: hello # slots: 1 Witam hello NoLabel +# text: Czy mogę poznać zatłoczenie aktualne sali ?\ +# intent: request +# slots: +1 Czy request NoLabel +2 mogę request NoLabel +3 poznać request NoLabel +4 zatłoczenie request NoLabel +5 aktualne request NoLabel +6 sali request NoLabel +7 ? request NoLabel +8 \ request NoLabel + # text: ju tu # intent: inform # slots: jutu:name @@ -640,84 +674,42 @@ 2 dokładnie affirm NoLabel 3 tak affirm NoLabel -# text: daleko od ludzi -# intent: null +# text: chciałbym kupić bilet ale nie wiem na co +# intent: help # slots: -1 daleko null NoLabel -2 od null NoLabel -3 ludzi null NoLabel +1 chciałbym help NoLabel +2 kupić help NoLabel +3 bilet help NoLabel +4 ale help NoLabel +5 nie help NoLabel +6 wiem help NoLabel +7 na help NoLabel +8 co help NoLabel -# text: chciałbym aby nie było ludzi w okół mnie -# intent: null -# slots: -1 chciałbym null NoLabel -2 aby null NoLabel -3 nie null NoLabel -4 było null NoLabel -5 ludzi null NoLabel -6 w null NoLabel -7 okół null NoLabel -8 mnie null NoLabel - -# text: Czy mogę poznać zatłoczenie aktualne sali ?\ -# intent: request -# slots: -1 Czy request NoLabel -2 mogę request NoLabel -3 poznać request NoLabel -4 zatłoczenie request NoLabel -5 aktualne request NoLabel -6 sali request NoLabel -7 ? request NoLabel -8 \ request NoLabel - -# text: poprosze inni ludzie na 14:1313 -# intent: null -# slots: -1 poprosze null NoLabel -2 inni null NoLabel -3 ludzie null NoLabel -4 na null NoLabel -5 14:1313 null NoLabel - -# text: Halo -# intent: hello -# slots: -1 Halo hello NoLabel - -# text: Emil Kowalski +# text: 30 marca o godzinie 12:10 # intent: inform -# slots: EmilKowalski:name -1 Emil inform B-name -2 Kowalski inform I-name +# slots: 30marca:date,12:10:hour +1 30 inform B-date +2 marca inform I-date +3 o inform NoLabel +4 godzinie inform NoLabel +5 12:10 inform B-hour # text: xyz@gmail.com # intent: inform # slots: xyz@gmail.com:e-mail 1 xyz@gmail.com inform B-e-mail -# text: Dziękuję -# intent: bye -# slots: -1 Dziękuję bye NoLabel - # text: Teraz # intent: inform # slots: 1 Teraz inform NoLabel -# text: 7 rząd miejce 11 +# text: Emil Kowalski # intent: inform -# slots: 7rządmiejce11:seat -1 7 inform B-seat -2 rząd inform I-seat -3 miejce inform I-seat -4 11 inform I-seat - -# text: Tak -# intent: act -# slots: -1 Tak act NoLabel +# slots: EmilKowalski:name +1 Emil inform B-name +2 Kowalski inform I-name # text: W okolicach środka, środkowego rzędu # intent: inform @@ -729,38 +721,30 @@ 5 środkowego inform NoLabel 6 rzędu inform NoLabel -# text: Dzień dobry! +# text: 7 rząd miejce 11 +# intent: inform +# slots: 11:seat,7:row +1 7 inform B-row +2 rząd inform NoLabel +3 miejce inform NoLabel +4 11 inform B-seat + +# text: Tak +# intent: act +# slots: +1 Tak act NoLabel + +# text: Halo # intent: hello # slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel -3 ! hello NoLabel +1 Halo hello NoLabel -# text: Poproszę bilet na Batmana jutro o 15:00 i pande w sobotę na 17:00 -# intent: inform null inform -# slots: sobotę:date,17:00:hour -1 Poproszę inform_null_inform NoLabel -2 bilet inform_null_inform NoLabel -3 na inform_null_inform NoLabel -4 Batmana inform_null_inform NoLabel -5 jutro inform_null_inform NoLabel -6 o inform_null_inform NoLabel -7 15:00 inform_null_inform NoLabel -8 i inform_null_inform NoLabel -9 pande inform_null_inform NoLabel -10 w inform_null_inform NoLabel -11 sobotę inform_null_inform B-date -12 na inform_null_inform NoLabel -13 17:00 inform_null_inform B-hour - -# text: To nie wypanda i Batman -# intent: inform inform -# slots: Batman:movie -1 To inform_inform NoLabel -2 nie inform_inform NoLabel -3 wypanda inform_inform NoLabel -4 i inform_inform NoLabel -5 Batman inform_inform B-movie +# text: Chciałbym zarezerwować film +# intent: null +# slots: +1 Chciałbym null NoLabel +2 zarezerwować null NoLabel +3 film null NoLabel # text: Bilet na film # intent: inform @@ -769,21 +753,69 @@ 2 na inform NoLabel 3 film inform NoLabel -# text: A jest ulga dla zwierząt? +# text: To nie wypanda i Batman +# intent: inform +# slots: Toniewypanda:movie,Batman:movie +1 To inform B-movie +2 nie inform I-movie +3 wypanda inform I-movie +4 i inform NoLabel +5 Batman inform B-movie + +# text: Poproszę bilet na Batmana jutro o 15:00 i pande w sobotę na 17:00 +# intent: inform +# slots: Batmana:movie,jutro:date,15:00:hour,sobotę:date,17:00:hour +1 Poproszę inform NoLabel +2 bilet inform NoLabel +3 na inform NoLabel +4 Batmana inform B-movie +5 jutro inform B-date +6 o inform NoLabel +7 15:00 inform B-hour +8 i inform NoLabel +9 pande inform NoLabel +10 w inform NoLabel +11 sobotę inform B-date +12 na inform NoLabel +13 17:00 inform B-hour + +# text: iwona.christop@gmail.com, 7368507466 +# intent: inform +# slots: iwona.christop@gmail.com:email,7368507466:phone +1 iwona.christop@gmail.com inform B-email +2 , inform NoLabel +3 7368507466 inform B-phone + +# text: A później nie ma? # intent: reqmore # slots: 1 A reqmore NoLabel -2 jest reqmore NoLabel -3 ulga reqmore NoLabel -4 dla reqmore NoLabel -5 zwierząt reqmore NoLabel -6 ? reqmore NoLabel +2 później reqmore NoLabel +3 nie reqmore NoLabel +4 ma reqmore NoLabel +5 ? reqmore NoLabel -# text: iwona.christop@gmail.com, 7368507466 -# intent: inform inform -# slots: 7368507466:phone -1 iwona.christop@gmail.com, inform_inform NoLabel -2 7368507466 inform_inform B-phone +# text: CHCĘ IŚĆ DO KINA +# intent: repeat +# slots: +1 CHCĘ repeat NoLabel +2 IŚĆ repeat NoLabel +3 DO repeat NoLabel +4 KINA repeat NoLabel + +# text: A gdzie się znajduje? +# intent: reqmore +# slots: +1 A reqmore NoLabel +2 gdzie reqmore NoLabel +3 się reqmore NoLabel +4 znajduje reqmore NoLabel +5 ? reqmore NoLabel + +# text: Elo +# intent: hello +# slots: +1 Elo hello NoLabel # text: A co gracie? # intent: request @@ -793,36 +825,6 @@ 3 gracie request NoLabel 4 ? request NoLabel -# text: A co macie -# intent: request -# slots: -1 A request NoLabel -2 co request NoLabel -3 macie request NoLabel - -# text: No dobła -# intent: affirm -# slots: -1 No affirm NoLabel -2 dobła affirm NoLabel - -# text: woeczprkem moze -# intent: inform -# slots: woeczprkem:time -1 woeczprkem inform B-time -2 moze inform NoLabel - -# text: to na dzisiaj na śmirc na nilu -# intent: inform inform -# slots: dzisiaj:date -1 to inform_inform NoLabel -2 na inform_inform NoLabel -3 dzisiaj inform_inform B-date -4 na inform_inform NoLabel -5 śmirc inform_inform NoLabel -6 na inform_inform NoLabel -7 nilu inform_inform NoLabel - # text: Chcę iść do kina # intent: request # slots: @@ -838,58 +840,59 @@ 2 jutro reqmore NoLabel 3 ? reqmore NoLabel -# text: CHCĘ IŚĆ DO KINA -# intent: repeat -# slots: -1 CHCĘ repeat NoLabel -2 IŚĆ repeat NoLabel -3 DO repeat NoLabel -4 KINA repeat NoLabel - -# text: No dobła, niech będzie -# intent: ack affirm -# slots: -1 No ack_affirm NoLabel -2 dobła ack_affirm NoLabel -3 , ack_affirm NoLabel -4 niech ack_affirm NoLabel -5 będzie ack_affirm NoLabel - # text: No pewnie jakoś będzie. Na fanstaczne zernęta proszę zatem. # intent: inform -# slots: fanstacznezernęta:title +# slots: fanstacznezernęta:movie 1 No inform NoLabel 2 pewnie inform NoLabel 3 jakoś inform NoLabel 4 będzie inform NoLabel 5 . inform NoLabel 6 Na inform NoLabel -7 fanstaczne inform B-title -8 zernęta inform I-title +7 fanstaczne inform B-movie +8 zernęta inform I-movie 9 proszę inform NoLabel 10 zatem inform NoLabel 11 . inform NoLabel -# text: Elo -# intent: hello -# slots: -1 Elo hello NoLabel +# text: Jedno dla mnie, drugie dla kota +# intent: inform +# slots: 2:quantity +1 Jedno inform NoLabel +2 dla inform NoLabel +3 mnie inform NoLabel +4 , inform NoLabel +5 drugie inform NoLabel +6 dla inform NoLabel +7 kota inform NoLabel -# text: na końcu sali -# intent: request -# slots: -1 na request NoLabel -2 końcu request NoLabel -3 sali request NoLabel +# text: To jeden tylko dla mnie proszę +# intent: inform +# slots: jeden:quantity +1 To inform NoLabel +2 jeden inform B-quantity +3 tylko inform NoLabel +4 dla inform NoLabel +5 mnie inform NoLabel +6 proszę inform NoLabel -# text: podaj mi informacje o bilecie -# intent: reqmore +# text: No dobła +# intent: affirm # slots: -1 podaj reqmore NoLabel -2 mi reqmore NoLabel -3 informacje reqmore NoLabel -4 o reqmore NoLabel -5 bilecie reqmore NoLabel +1 No affirm NoLabel +2 dobła affirm NoLabel + +# text: woeczprkem moze +# intent: inform +# slots: woeczprkem:hour +1 woeczprkem inform B-hour +2 moze inform NoLabel + +# text: na moje +# intent: null +# slots: +1 na null NoLabel +2 moje null NoLabel # text: zarezerwuj ten bilet # intent: inform @@ -898,6 +901,13 @@ 2 ten inform NoLabel 3 bilet inform NoLabel +# text: na końcu sali +# intent: request +# slots: +1 na request NoLabel +2 końcu request NoLabel +3 sali request NoLabel + # text: czy jest to film 2D czy 3D? Z napisami czy z dubbingiem? # intent: help # slots: @@ -916,81 +926,82 @@ 13 dubbingiem help NoLabel 14 ? help NoLabel -# text: dzisiaj, teraz -# intent: inform inform -# slots: 15:30:hour -1 dzisiaj inform_inform NoLabel -2 , inform_inform NoLabel -3 teraz inform_inform NoLabel - # text: batman # intent: inform # slots: batman:movie 1 batman inform B-movie -# text: wszystkie -# intent: request -# slots: -1 wszystkie request NoLabel - -# text: karida@st.amu.edu.pl -# intent: inform -# slots: karida@st.amu.edu.pl:e-mail -1 karida@st.amu.edu.pl inform B-e-mail - -# text: miejsce 11 -# intent: inform -# slots: 11:seat_place -1 miejsce inform NoLabel -2 11 inform B-seat_place - -# text: przed ostatnim -# intent: inform -# slots: 10:seat_row -1 przed inform NoLabel -2 ostatnim inform NoLabel - # text: Dzień dobry # intent: hello # slots: 1 Dzień hello NoLabel 2 dobry hello NoLabel -# text: wygodne -# intent: null -# slots: -1 wygodne null NoLabel +# text: karida@st.amu.edu.pl +# intent: inform +# slots: karida@st.amu.edu.pl:e-mail +1 karida@st.amu.edu.pl inform B-e-mail -# text: Ok -# intent: ack +# text: podaj mi informacje o bilecie +# intent: reqmore # slots: -1 Ok ack NoLabel +1 podaj reqmore NoLabel +2 mi reqmore NoLabel +3 informacje reqmore NoLabel +4 o reqmore NoLabel +5 bilecie reqmore NoLabel -# text: Dziękuję systemie -# intent: thankyou +# text: wszystkie +# intent: request # slots: -1 Dziękuję thankyou NoLabel -2 systemie thankyou NoLabel +1 wszystkie request NoLabel + +# text: miejsce 11 +# intent: inform +# slots: 11:seat +1 miejsce inform NoLabel +2 11 inform B-seat + +# text: nie jestem pewien, za ile jest bilet? +# intent: reqmore +# slots: +1 nie reqmore NoLabel +2 jestem reqmore NoLabel +3 pewien reqmore NoLabel +4 , reqmore NoLabel +5 za reqmore NoLabel +6 ile reqmore NoLabel +7 jest reqmore NoLabel +8 bilet reqmore NoLabel +9 ? reqmore NoLabel + +# text: dzisiaj, teraz +# intent: inform +# slots: dzisiaj:date,15:30:hour +1 dzisiaj inform B-date +2 , inform NoLabel +3 teraz inform NoLabel # text: 3 normalne i 3 ulgowe -# intent: inform inform -# slots: 3:reducedQuantity -1 3 inform_inform B-reducedQuantity -2 normalne inform_inform NoLabel -3 i inform_inform NoLabel -4 3 inform_inform B-reducedQuantity -5 ulgowe inform_inform NoLabel +# intent: inform +# slots: 3:quantity,normalne:tickettype,3:quantity,ulgowe:tickettype +1 3 inform B-quantity +2 normalne inform B-tickettype +3 i inform NoLabel +4 3 inform B-quantity +5 ulgowe inform B-tickettype -# text: Dobra, czy jutro gracie batman? -# intent: ack inform request -# slots: batman:title -1 Dobra ack_inform_request NoLabel -2 , ack_inform_request NoLabel -3 czy ack_inform_request NoLabel -4 jutro ack_inform_request NoLabel -5 gracie ack_inform_request NoLabel -6 batman ack_inform_request B-title -7 ? ack_inform_request NoLabel +# text: A Uncharted +# intent: inform +# slots: Uncharted:movie +1 A inform NoLabel +2 Uncharted inform B-movie + +# text: Cześć bocie +# intent: hello +# slots: +1 Cześć hello NoLabel +2 bocie hello NoLabel # text: Co można u was zjeść? # intent: request @@ -1002,48 +1013,51 @@ 5 zjeść request NoLabel 6 ? request NoLabel +# text: Dobra, czy jutro gracie batman? +# intent: inform +# slots: batman:movie +1 Dobra inform NoLabel +2 , inform NoLabel +3 czy inform NoLabel +4 jutro inform NoLabel +5 gracie inform NoLabel +6 batman inform B-movie +7 ? inform NoLabel + # text: 6 # intent: inform # slots: 6:quantity 1 6 inform B-quantity -# text: Cześć bocie +# text: Dzień dobry. +# intent: hello +# slots: +1 Dzień hello NoLabel +2 dobry hello NoLabel +3 . hello NoLabel + +# text: Ok +# intent: ack +# slots: +1 Ok ack NoLabel + +# text: Cześć # intent: hello # slots: 1 Cześć hello NoLabel -2 bocie hello NoLabel -# text: 19:30 +# text: Chcę dokonać zakupu # intent: inform -# slots: 19:30:time -1 19:30 inform B-time +# slots: buy:task +1 Chcę inform NoLabel +2 dokonać inform NoLabel +3 zakupu inform NoLabel -# text: dól lewo +# text: Chciałym 15.04 # intent: inform -# slots: -1 dól inform NoLabel -2 lewo inform NoLabel - -# text: Tak, poproszę -# intent: null -# slots: -1 Tak null NoLabel -2 , null NoLabel -3 poproszę null NoLabel - -# text: Czy gracie Batman? -# intent: request -# slots: Batman:movie -1 Czy request NoLabel -2 gracie request NoLabel -3 Batman request B-movie -4 ? request NoLabel - -# text: Cześć systemie -# intent: hello -# slots: -1 Cześć hello NoLabel -2 systemie hello NoLabel +# slots: 15.04:date +1 Chciałym inform NoLabel +2 15.04 inform B-date # text: Jakie macie zniżki? # intent: request @@ -1053,40 +1067,24 @@ 3 zniżki request NoLabel 4 ? request NoLabel +# text: Czy gracie Batman? +# intent: request +# slots: Batman:movie +1 Czy request NoLabel +2 gracie request NoLabel +3 Batman request B-movie +4 ? request NoLabel + # text: 5-6 -# intent: inform inform -# slots: 6:seat -1 5-6 inform_inform NoLabel +# intent: inform +# slots: 5-6:seat +1 5-6 inform B-seat -# text: 1 weteran i 1 ulgowy -# intent: inform inform -# slots: ulgowy:tickettype,1:ticketnumber -1 1 inform_inform B-ticketnumber -2 weteran inform_inform NoLabel -3 i inform_inform NoLabel -4 1 inform_inform B-ticketnumber -5 ulgowy inform_inform B-tickettype - -# text: Cześć +# text: Cześć systemie # intent: hello # slots: 1 Cześć hello NoLabel - -# text: 22 -# intent: null -# slots: -1 22 null NoLabel - -# text: Chciałym 15.04 -# intent: inform -# slots: 15.04:date -1 Chciałym inform NoLabel -2 15.04 inform B-date - -# text: Tak -# intent: affirm -# slots: -1 Tak affirm NoLabel +2 systemie hello NoLabel # text: jan kowalski # intent: inform @@ -1094,6 +1092,44 @@ 1 jan inform B-name 2 kowalski inform I-name +# text: Tak, poproszę +# intent: null +# slots: +1 Tak null NoLabel +2 , null NoLabel +3 poproszę null NoLabel + +# text: 1 weteran i 1 ulgowy +# intent: inform +# slots: weteran:tickettype,1:quantity,ulgowy:itickettype,1:quantity +1 1 inform B-quantity +2 weteran inform B-tickettype +3 i inform NoLabel +4 1 inform B-quantity +5 ulgowy inform B-itickettype + +# text: dól lewo +# intent: inform +# slots: +1 dól inform NoLabel +2 lewo inform NoLabel + +# text: dowidzenia +# intent: bye +# slots: +1 dowidzenia bye NoLabel + +# text: ulgowe +# intent: inform +# slots: ulgowe:tickettype +1 ulgowe inform B-tickettype + +# text: Jakub Kaczmarek +# intent: inform +# slots: JakubKaczmarek:name +1 Jakub inform B-name +2 Kaczmarek inform I-name + # text: chciał bym zarezerwować bilet na minionki o 18.30 # intent: inform # slots: book:task,minionki:movie,18.30:hour @@ -1106,6 +1142,23 @@ 7 o inform NoLabel 8 18.30 inform B-hour +# text: poproszę 1 +# intent: inform +# slots: 1:seat +1 poproszę inform NoLabel +2 1 inform B-seat + +# text: 12 rząd +# intent: inform +# slots: 12:row +1 12 inform B-row +2 rząd inform NoLabel + +# text: dzisiaj +# intent: inform +# slots: +1 dzisiaj inform NoLabel + # text: poprosze w takim razie To nie wypanda o 18:45 # intent: request # slots: Toniewypanda:movie,18:45:hour @@ -1119,39 +1172,6 @@ 8 o request NoLabel 9 18:45 request B-hour -# text: dzisiaj -# intent: inform -# slots: -1 dzisiaj inform NoLabel - -# text: ulgowe -# intent: inform -# slots: ulgowe:tickettype -1 ulgowe inform B-tickettype - -# text: 12 rząd -# intent: inform -# slots: 12:row -1 12 inform B-row -2 rząd inform NoLabel - -# text: 2 -# intent: inform -# slots: 2:ticketnumber -1 2 inform B-ticketnumber - -# text: poproszę 1 -# intent: inform -# slots: 1:seat -1 poproszę inform NoLabel -2 1 inform B-seat - -# text: dzień dobry -# intent: hello -# slots: -1 dzień hello NoLabel -2 dobry hello NoLabel - # text: Dzięki # intent: thankyou # slots: @@ -1162,26 +1182,12 @@ # slots: iwona.christop@gmail.com:e-mail 1 iwona.christop@gmail.com inform B-e-mail -# text: dzis wieczorem -# intent: inform inform -# slots: wieczorem:hour -1 dzis inform_inform NoLabel -2 wieczorem inform_inform B-hour - -# text: Martyna Druminska mdruminska074@gmail.com -# intent: inform inform -# slots: MartynaDruminska:name -1 Martyna inform_inform B-name -2 Druminska inform_inform I-name -3 mdruminska074@gmail.com inform_inform NoLabel - -# text: Na wyjdz za mnie -# intent: inform -# slots: Wyjdzzamnie:movie -1 Na inform NoLabel -2 wyjdz inform B-movie -3 za inform I-movie -4 mnie inform I-movie +# text: Nie dostałam potwierdzenia +# intent: help +# slots: Niedostałampotwierdzenia:issue +1 Nie help B-issue +2 dostałam help I-issue +3 potwierdzenia help I-issue # text: Chciałabym zarezerwować bilet do kina # intent: request @@ -1192,68 +1198,57 @@ 4 do request NoLabel 5 kina request NoLabel -# text: Co obsługujecie? -# intent: request -# slots: -1 Co request NoLabel -2 obsługujecie request NoLabel -3 ? request NoLabel - -# text: Tak -# intent: act -# slots: -1 Tak act NoLabel - -# text: Chciałbym wypożyczyć film -# intent: null -# slots: -1 Chciałbym null NoLabel -2 wypożyczyć null NoLabel -3 film null NoLabel - -# text: Na końcu sali -# intent: inform -# slots: -1 Na inform NoLabel -2 końcu inform NoLabel -3 sali inform NoLabel - -# text: Taki O okita@mail.com -# intent: inform inform -# slots: TakiO:name -1 Taki inform_inform B-name -2 O inform_inform I-name -3 okita@mail.com inform_inform NoLabel - # text: Dzień dobry # intent: hello # slots: 1 Dzień hello NoLabel 2 dobry hello NoLabel +# text: Na wyjdz za mnie +# intent: inform +# slots: wyjdzzamnie:movie +1 Na inform NoLabel +2 wyjdz inform B-movie +3 za inform I-movie +4 mnie inform I-movie + +# text: dzis wieczorem +# intent: inform +# slots: dzis:date,wieczorem:hour +1 dzis inform B-date +2 wieczorem inform B-hour + +# text: Tak +# intent: act +# slots: +1 Tak act NoLabel + +# text: Taki O okita@mail.com +# intent: inform +# slots: okita@mail.com:e-mail,TakiO:name +1 Taki inform B-name +2 O inform I-name +3 okita@mail.com inform B-e-mail + # text: Wygodne # intent: null # slots: 1 Wygodne null NoLabel -# text: Chciałbym poznać akltualny repertuar +# text: Chciałbym zarezerwować bilety na Batman i zemsta Muminków jutro o 21:00 # intent: request -# slots: closestscreenings:task +# slots: book:task,BatmanizemstaMuminków:movie,jutro:date,21:00:hour 1 Chciałbym request NoLabel -2 poznać request NoLabel -3 akltualny request NoLabel -4 repertuar request NoLabel - -# text: Super -# intent: act -# slots: -1 Super act NoLabel - -# text: Zgadza się -# intent: act -# slots: -1 Zgadza act NoLabel -2 się act NoLabel +2 zarezerwować request NoLabel +3 bilety request NoLabel +4 na request NoLabel +5 Batman request B-movie +6 i request I-movie +7 zemsta request I-movie +8 Muminków request I-movie +9 jutro request B-date +10 o request NoLabel +11 21:00 request B-hour # text: To wszystko, dziękuję # intent: bye @@ -1263,58 +1258,62 @@ 3 , bye NoLabel 4 dziękuję bye NoLabel +# text: Co obsługujecie? +# intent: request +# slots: +1 Co request NoLabel +2 obsługujecie request NoLabel +3 ? request NoLabel + # text: Chcę tylko zarezerwować -# intent: negate +# intent: inform # slots: reservation:task -1 Chcę negate NoLabel -2 tylko negate NoLabel -3 zarezerwować negate NoLabel +1 Chcę inform NoLabel +2 tylko inform NoLabel +3 zarezerwować inform NoLabel -# text: O, bilet kupię zatem -# intent: inform -# slots: buy:task -1 O inform NoLabel -2 , inform NoLabel -3 bilet inform NoLabel -4 kupię inform NoLabel -5 zatem inform NoLabel - -# text: Dzięki ❤️ -# intent: thankyou +# text: Super +# intent: act # slots: -1 Dzięki thankyou NoLabel -2 ❤️ thankyou NoLabel +1 Super act NoLabel -# text: IJ -# intent: null -# slots: -1 IJ null NoLabel - -# text: Na 21 proszę +# text: Poproszę miejsce 11 w przedostatnim rzędzie. I 7 w ostatnim rzędzie # intent: inform -# slots: 21:hour +# slots: 11:seat,wprzedostatnimrzędzie:row,7:seat,wostatnimrzędzie:row +1 Poproszę inform NoLabel +2 miejsce inform NoLabel +3 11 inform B-seat +4 w inform B-row +5 przedostatnim inform I-row +6 rzędzie inform I-row +7 . inform NoLabel +8 I inform NoLabel +9 7 inform B-seat +10 w inform B-row +11 ostatnim inform I-row +12 rzędzie inform I-row + +# text: Chciałbym anulować rezerwację +# intent: inform +# slots: reservation:task +1 Chciałbym inform NoLabel +2 anulować inform NoLabel +3 rezerwację inform NoLabel + +# text: Na końcu sali +# intent: inform +# slots: 1 Na inform NoLabel -2 21 inform B-hour -3 proszę inform NoLabel +2 końcu inform NoLabel +3 sali inform NoLabel -# text: I J -# intent: inform inform -# slots: J:row -1 I inform_inform NoLabel -2 J inform_inform B-row - -# text: Jan Kowalski -# intent: inform -# slots: JanKowalski:name -1 Jan inform B-name -2 Kowalski inform I-name - -# text: normalny i ulgowy -# intent: inform inform -# slots: ulgowy:tickettype -1 normalny inform_inform NoLabel -2 i inform_inform NoLabel -3 ulgowy inform_inform B-tickettype +# text: Chciałbym poznać akltualny repertuar +# intent: request +# slots: closestscreenings:task +1 Chciałbym request NoLabel +2 poznać request NoLabel +3 akltualny request NoLabel +4 repertuar request NoLabel # text: Chcę do kina się przejść # intent: null @@ -1330,6 +1329,58 @@ # slots: 1 Elo hello NoLabel +# text: O, super. O której? +# intent: request +# slots: Uncharted:hour +1 O request NoLabel +2 , request NoLabel +3 super request NoLabel +4 . request NoLabel +5 O request NoLabel +6 której request NoLabel +7 ? request NoLabel + +# text: Na 21 proszę +# intent: inform +# slots: 21:hour +1 Na inform NoLabel +2 21 inform B-hour +3 proszę inform NoLabel + +# text: Zaskocz mnie +# intent: request +# slots: +1 Zaskocz request NoLabel +2 mnie request NoLabel + +# text: Jan Kowalski +# intent: inform +# slots: JanKowalski:name +1 Jan inform B-name +2 Kowalski inform I-name + +# text: Anulujmy rezerwację w takim razie +# intent: inform +# slots: cancelbook:task +1 Anulujmy inform NoLabel +2 rezerwację inform NoLabel +3 w inform NoLabel +4 takim inform NoLabel +5 razie inform NoLabel + +# text: Coś bym zjadła +# intent: null +# slots: +1 Coś null NoLabel +2 bym null NoLabel +3 zjadła null NoLabel + +# text: Dzięki ❤️ +# intent: thankyou +# slots: +1 Dzięki thankyou NoLabel +2 ❤️ thankyou NoLabel + # text: Z j a d ł a b y m c o ś # intent: null # slots: @@ -1353,42 +1404,75 @@ 2 środku null NoLabel 3 jakoś null NoLabel -# text: Coś bym zjadła +# text: To 12 i 13 w J proszę +# intent: inform +# slots: J:row,12i13:seat +1 To inform NoLabel +2 12 inform B-seat +3 i inform I-seat +4 13 inform I-seat +5 w inform NoLabel +6 J inform B-row +7 proszę inform NoLabel + +# text: IJ # intent: null # slots: -1 Coś null NoLabel -2 bym null NoLabel -3 zjadła null NoLabel +1 IJ null NoLabel -# text: Zaskocz mnie +# text: Jeden dla mnie, drugi dla kota +# intent: inform +# slots: 2:quantity +1 Jeden inform NoLabel +2 dla inform NoLabel +3 mnie inform NoLabel +4 , inform NoLabel +5 drugi inform NoLabel +6 dla inform NoLabel +7 kota inform NoLabel + +# text: tak +# intent: affirm +# slots: +1 tak affirm NoLabel + +# text: Tomcio Paluch +# intent: inform +# slots: TomcioPaluch:name +1 Tomcio inform B-name +2 Paluch inform I-name + +# text: 7 normalnych i 4 ulgowe +# intent: inform +# slots: 7:quantity,normalnych:tickettype,4:quantity,ulgowe:tickettype +1 7 inform B-quantity +2 normalnych inform B-tickettype +3 i inform NoLabel +4 4 inform B-quantity +5 ulgowe inform B-tickettype + +# text: Chcę kupić bilety na film +# intent: inform +# slots: buy:task +1 Chcę inform NoLabel +2 kupić inform NoLabel +3 bilety inform NoLabel +4 na inform NoLabel +5 film inform NoLabel + +# text: 10.04 +# intent: inform +# slots: 10.04:date +1 10.04 inform B-date + +# text: A jakie filmy gracie? # intent: request # slots: -1 Zaskocz request NoLabel -2 mnie request NoLabel - -# text: Anulujmy rezerwację w takim razie -# intent: inform -# slots: cancelbook:task -1 Anulujmy inform NoLabel -2 rezerwację inform NoLabel -3 w inform NoLabel -4 takim inform NoLabel -5 razie inform NoLabel - -# text: Dzień dobry -# intent: hello -# slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel - -# text: Które rzędzy są dostępne? -# intent: null -# slots: -1 Które null NoLabel -2 rzędzy null NoLabel -3 są null NoLabel -4 dostępne null NoLabel -5 ? null NoLabel +1 A request NoLabel +2 jakie request NoLabel +3 filmy request NoLabel +4 gracie request NoLabel +5 ? request NoLabel # text: W takim razie chcę zarezerwować bilety na film to Niewypanda # intent: inform @@ -1404,112 +1488,61 @@ 9 to inform B-movie 10 Niewypanda inform I-movie -# text: Czy gracie jakieś komedie? -# intent: request -# slots: komedie:genre -1 Czy request NoLabel -2 gracie request NoLabel -3 jakieś request NoLabel -4 komedie request B-genre -5 ? request NoLabel - -# text: Tomcio Paluch -# intent: inform -# slots: TomcioPaluch:name -1 Tomcio inform B-name -2 Paluch inform I-name - -# text: 7 normalnych i 5 ulgowych\ -# intent: inform inform -# slots: 5:ticketnumber,ulgowych:tickettype -1 7 inform_inform NoLabel -2 normalnych inform_inform NoLabel -3 i inform_inform NoLabel -4 5 inform_inform B-ticketnumber -5 ulgowych\ inform_inform NoLabel - -# text: A jakie filmy gracie? -# intent: request +# text: Które rzędzy są dostępne? +# intent: null # slots: -1 A request NoLabel -2 jakie request NoLabel -3 filmy request NoLabel -4 gracie request NoLabel -5 ? request NoLabel +1 Które null NoLabel +2 rzędzy null NoLabel +3 są null NoLabel +4 dostępne null NoLabel +5 ? null NoLabel # text: 11 # intent: inform -# slots: 11:ticketnumber -1 11 inform B-ticketnumber - -# text: Dobrze -# intent: null -# slots: -1 Dobrze null NoLabel +# slots: 11:quantity +1 11 inform B-quantity # text: Dziękuję # intent: thankyou # slots: 1 Dziękuję thankyou NoLabel -# text: 10.04 -# intent: inform -# slots: 10.04:date -1 10.04 inform B-date - # text: O czym jest Bunkier Strachu? # intent: request -# slots: BunkierStrachu:movie +# slots: BunkierStrachu:details 1 O request NoLabel 2 czym request NoLabel 3 jest request NoLabel -4 Bunkier request B-movie -5 Strachu request I-movie +4 Bunkier request B-details +5 Strachu request I-details 6 ? request NoLabel -# text: tak -# intent: affirm -# slots: -1 tak affirm NoLabel - -# text: To poproszę bilet ulgowy +# text: Wybieram wszystkie # intent: inform -# slots: ulgowy:tickettype -1 To inform NoLabel -2 poproszę inform NoLabel -3 bilet inform NoLabel -4 ulgowy inform B-tickettype +# slots: wszystkie:seat +1 Wybieram inform NoLabel +2 wszystkie inform B-seat -# text: 2 bilety -# intent: inform -# slots: 2:ticketnumber -1 2 inform B-ticketnumber -2 bilety inform NoLabel - -# text: Jaki jest zakres rzędów? -# intent: request +# text: Dobrze +# intent: null # slots: -1 Jaki request NoLabel -2 jest request NoLabel -3 zakres request NoLabel -4 rzędów request NoLabel -5 ? request NoLabel +1 Dobrze null NoLabel -# text: To w 12 -# intent: inform -# slots: 12:row -1 To inform NoLabel -2 w inform NoLabel -3 12 inform B-row - -# text: Jakie są rodzaje biletów? -# intent: request +# text: Najlepiej rzędy na górze +# intent: null # slots: -1 Jakie request NoLabel -2 są request NoLabel -3 rodzaje request NoLabel -4 biletów request NoLabel -5 ? request NoLabel +1 Najlepiej null NoLabel +2 rzędy null NoLabel +3 na null NoLabel +4 górze null NoLabel + +# text: Jaka jest nazwa kina +# intent: null +# slots: +1 Jaka null NoLabel +2 jest null NoLabel +3 nazwa null NoLabel +4 kina null NoLabel # text: Jakie są dostępne miejsca na film 'Batman'? # intent: request @@ -1523,6 +1556,41 @@ 7 Batman request B-movie 8 ? request NoLabel +# text: Jaki jest zakres rzędów? +# intent: request +# slots: +1 Jaki request NoLabel +2 jest request NoLabel +3 zakres request NoLabel +4 rzędów request NoLabel +5 ? request NoLabel + +# text: Wybieram 6-7 +# intent: inform +# slots: 6-7:seat +1 Wybieram inform NoLabel +2 6-7 inform B-seat + +# text: Już wybrałem miejsca +# intent: null +# slots: +1 Już null NoLabel +2 wybrałem null NoLabel +3 miejsca null NoLabel + +# text: To poproszę bilet ulgowy +# intent: inform +# slots: ulgowy:tickettype +1 To inform NoLabel +2 poproszę inform NoLabel +3 bilet inform NoLabel +4 ulgowy inform B-tickettype + +# text: Kupić +# intent: inform +# slots: buy:task +1 Kupić inform NoLabel + # text: Dla kogo jest bilet ulgowy? # intent: request # slots: ulgowy:tickettype @@ -1533,12 +1601,12 @@ 5 ulgowy request B-tickettype 6 ? request NoLabel -# text: Już wybrałem miejsca -# intent: null -# slots: -1 Już null NoLabel -2 wybrałem null NoLabel -3 miejsca null NoLabel +# text: To w 12 +# intent: inform +# slots: 12:row +1 To inform NoLabel +2 w inform NoLabel +3 12 inform B-row # text: Chciałbym sprawdzić repertuar na 23 maja # intent: request @@ -1550,27 +1618,31 @@ 5 23 request B-date 6 maja request I-date -# text: Cześć -# intent: hello -# slots: -1 Cześć hello NoLabel - -# text: Jaka jest nazwa kina -# intent: null -# slots: -1 Jaka null NoLabel -2 jest null NoLabel -3 nazwa null NoLabel -4 kina null NoLabel - -# text: tak, daleko od ekranu +# text: 123456789 # intent: inform -# slots: dalekoodekranu:seats -1 tak inform NoLabel -2 , inform NoLabel -3 daleko inform B-seats -4 od inform I-seats -5 ekranu inform I-seats +# slots: 123456789:phone +1 123456789 inform B-phone + +# text: Chciał bym zamówić bilet na film Minionki dzisiaj o 18.30 +# intent: inform +# slots: Minionki:movie,dzisiaj:date,18.30:hour +1 Chciał inform NoLabel +2 bym inform NoLabel +3 zamówić inform NoLabel +4 bilet inform NoLabel +5 na inform NoLabel +6 film inform NoLabel +7 Minionki inform B-movie +8 dzisiaj inform B-date +9 o inform NoLabel +10 18.30 inform B-hour + +# text: poprosze bilet ulgowy +# intent: inform +# slots: 1:quantity,ulgowy:ticketType +1 poprosze inform NoLabel +2 bilet inform NoLabel +3 ulgowy inform B-ticketType # text: jakie są dostępne ulgi? # intent: reqmore @@ -1581,16 +1653,6 @@ 4 ulgi reqmore NoLabel 5 ? reqmore NoLabel -# text: dobrze -# intent: affirm -# slots: -1 dobrze affirm NoLabel - -# text: dziękuje -# intent: thankyou -# slots: -1 dziękuje thankyou NoLabel - # text: czy na miejscu mozna kupić popcorn? # intent: request # slots: @@ -1602,23 +1664,24 @@ 6 popcorn request NoLabel 7 ? request NoLabel -# text: poprosze bilet ulgowy -# intent: inform inform -# slots: ulgowy:ticketType -1 poprosze inform_inform NoLabel -2 bilet inform_inform NoLabel -3 ulgowy inform_inform B-ticketType - -# text: Dzień dobry -# intent: hello -# slots: -1 Dzień hello NoLabel -2 dobry hello NoLabel - -# text: 123456789 +# text: tak, daleko od ekranu # intent: inform -# slots: 123456789:phone -1 123456789 inform B-phone +# slots: dalekoodekranu:seat +1 tak inform NoLabel +2 , inform NoLabel +3 daleko inform B-seat +4 od inform I-seat +5 ekranu inform I-seat + +# text: 123@132.pl +# intent: inform +# slots: 123@132.pl:e-mail +1 123@132.pl inform B-e-mail + +# text: dziękuje +# intent: thankyou +# slots: +1 dziękuje thankyou NoLabel # text: Przed filmem # intent: inform @@ -1626,28 +1689,42 @@ 1 Przed inform NoLabel 2 filmem inform NoLabel +# text: W sumie tak. Interesuje mnie najbliższa sobota +# intent: request +# slots: closestscreenings:task +1 W request NoLabel +2 sumie request NoLabel +3 tak request NoLabel +4 . request NoLabel +5 Interesuje request NoLabel +6 mnie request NoLabel +7 najbliższa request NoLabel +8 sobota request NoLabel + # text: Cześć # intent: hello # slots: 1 Cześć hello NoLabel -# text: Tak -# intent: ack -# slots: -1 Tak ack NoLabel - -# text: Jan Kowalski, kowalski69@gmail.com -# intent: inform inform -# slots: JanKowalski:name -1 Jan inform_inform B-name -2 Kowalski inform_inform I-name -3 , inform_inform NoLabel -4 kowalski69@gmail.com inform_inform NoLabel - -# text: Tak -# intent: ack -# slots: -1 Tak ack NoLabel +# text: Czy na 'batman i zemsta muminków' w ten dzień dostępne są miejsca w ostatnim rzędzie? +# intent: request +# slots: batmanizemstamuminków:movie +1 Czy request NoLabel +2 na request NoLabel +3 batman request B-movie +4 i request I-movie +5 zemsta request I-movie +6 muminków request I-movie +7 w request NoLabel +8 ten request NoLabel +9 dzień request NoLabel +10 dostępne request NoLabel +11 są request NoLabel +12 miejsca request NoLabel +13 w request NoLabel +14 ostatnim request NoLabel +15 rzędzie request NoLabel +16 ? request NoLabel # text: W takim razie je poproszę # intent: inform @@ -1658,6 +1735,16 @@ 4 je inform NoLabel 5 poproszę inform NoLabel +# text: Tak +# intent: ack +# slots: +1 Tak ack NoLabel + +# text: Tak +# intent: ack +# slots: +1 Tak ack NoLabel + # text: A przedostatni? Interesują mnie dwa miejsca koło siebie # intent: request # slots: @@ -1671,15 +1758,3 @@ 8 koło request NoLabel 9 siebie request NoLabel -# text: W sumie tak. Interesuje mnie najbliższa sobota -# intent: request -# slots: closestscreenings:task -1 W request NoLabel -2 sumie request NoLabel -3 tak request NoLabel -4 . request NoLabel -5 Interesuje request NoLabel -6 mnie request NoLabel -7 najbliższa request NoLabel -8 sobota request NoLabel - diff --git a/dialogue_system.py b/dialogue_system.py new file mode 100644 index 0000000..457dcb3 --- /dev/null +++ b/dialogue_system.py @@ -0,0 +1,58 @@ +from modules.NLU import NLU +from modules.DST import DST +#from modules.DP import DP +#from modules.NLG import NLG +import re + +def format_prediction(prediction, intent): + out_list = [] + for idx, tup in enumerate(prediction): + if tup[1][0] == 'B': + slot_list = [intent, 'Cinema', tup[1][2:], tup[0]] + for tup in prediction[idx + 1:]: + if tup[1][0] != 'I': + break + else: + slot_list[3] += ' ' + tup[0] + out_list.append(slot_list) + for slot in out_list: + slot[3] = re.sub("^[!\"#$%&\'()*+,.;:<=>?\[\]^_`{|}~]+", '', slot[3]) + slot[3] = re.sub("[!\"#$%&\'()*+,.;:<=>?\[\]^_`{|}~]+$", '', slot[3]) + return out_list + +def main(): + nlu = NLU() + dst = DST() + #dp = DP() + #nlg = NLG() + + nlu.train_slot_model('data/train+test-pl.conllu', 'data/train+test-pl.conllu') + nlu.train_intent_model('data/NLU_data_intent') + # nlu.load_slot_model('slot-model-pl') + # nlu.load_intent_model('intent-model-pl') + + print('===========================================') + print('### By otrzymać pomoc, wpisz /pomoc ###') + print('### By zakończyć rozmowę, wpisz /koniec ###') + print('Witaj, jestem Usher - system do rezerwacji biletów kinowych. W czym mogę Ci pomóc?') + + # WIP + while True: + user_input = input('> ') + if user_input == '/pomoc': + print('TEKST_POMOCY_WIP') + elif user_input == '/koniec': + print('Dziękuję za skorzystanie z moich usług. Miłego dnia!') + break + else: + slots = nlu.predict_slots(user_input) + intent = nlu.predict_intent(user_input) + formatted_prediction = format_prediction(slots, intent) + print(formatted_prediction) # NLU output + dst.update(formatted_prediction) + print(dst.state) # DST output + #DP, NLG... + + +if __name__ == '__main__': + main() diff --git a/DST_DP_lab_9-10/DP.py b/modules/DP.py similarity index 100% rename from DST_DP_lab_9-10/DP.py rename to modules/DP.py diff --git a/modules/DST.py b/modules/DST.py new file mode 100644 index 0000000..038486f --- /dev/null +++ b/modules/DST.py @@ -0,0 +1,71 @@ +from modules.dialogue_state import default_state +import re + + +# Monitor stanu dialogu +class DST: + def __init__(self): + self.state = default_state() + + def txt2num(self, text): + mapping = {'jeden': '1', 'dwa': '2', 'trzy': '3', 'cztery': '4', 'pięć': '5', 'sześć': '6', 'siedem': '7', 'osiem': '8', 'dziewięć': '9', 'dziesięć': '10'} + for key in mapping: + if key in text: + text = text.replace(key, mapping[key]) + return text + + def update(self, user_act=None): + for intent, domain, slot, value in user_act: + domain = domain.lower() + intent = intent.lower() + slot = slot.lower() + + k = slot + + if intent == 'inform': + + if k is None: + continue + + domain_dic = self.state['belief_state'][domain] + + if k in domain_dic['semi']: + if k == 'quantity': + value = self.txt2num(value) + try: + self.state['belief_state'][domain]['semi'][k] += int(re.sub('[^0-9]', '', value)) + except: + pass + elif k == 'tickettype': + self.state['belief_state'][domain]['semi'][k] += ' ' + value + else: + self.state['belief_state'][domain]['semi'][k] = value + elif k in domain_dic['book']: + if k == 'seat' or k == 'row': + self.state['belief_state'][domain]['book'][k] += ' ' + value + else: + self.state['belief_state'][domain]['book'][k] = value + + if intent == 'request': + + if domain not in self.state['request_state']: + self.state['request_state'][domain] = {} + if k not in self.state['request_state'][domain]: + self.state['request_state'][domain][k] = 0 + + self.state['user_action'].append([intent, domain, slot, value]) + + return self.state + + def init_session(self): + self.state = default_state() + + +# Przykładowe uruchomienie dla kodu w izolacji +""" +dst = DST() +print(dst.state) + +dst.update([['hello_inform', 'Cinema', 'Price', '15 zł'], ['Inform', 'Cinema', 'Movie', 'Batman']]) +print(dst.state) +""" diff --git a/NLG_lab_11/NLG.py b/modules/NLG.py similarity index 100% rename from NLG_lab_11/NLG.py rename to modules/NLG.py diff --git a/modules/NLU.py b/modules/NLU.py new file mode 100644 index 0000000..eea9f40 --- /dev/null +++ b/modules/NLU.py @@ -0,0 +1,184 @@ +import re +from conllu import parse_incr +from flair.data import Corpus, Sentence, Token +from flair.datasets import SentenceDataset +from flair.embeddings import StackedEmbeddings +from flair.models import SequenceTagger +from flair.trainers import ModelTrainer +import random +import torch +from flair.datasets import CSVClassificationCorpus +from flair.embeddings import WordEmbeddings, FlairEmbeddings, CharacterEmbeddings, DocumentRNNEmbeddings +from flair.models import TextClassifier +import os + + +class NLU: + def __init__(self): + self.slot_model = None + self.intent_model = None + + def nolabel2o(self, line, i): + return 'O' if line[i] == 'NoLabel' else line[i] + + def conllu2flair(self, sentences, label=None): + fsentences = [] + for sentence in sentences: + fsentence = Sentence() + for token in sentence: + ftoken = Token(token['form']) + if label: + ftoken.add_tag(label, token[label]) + fsentence.add_token(ftoken) + fsentences.append(fsentence) + return SentenceDataset(fsentences) + + def load_slot_model(self, model_path): + try: + self.slot_model = SequenceTagger.load(f'{model_path}/best-model.pt') + except: + self.slot_model = SequenceTagger.load(f'{model_path}/final-model.pt') + + def train_slot_model(self, train_path, test_path): + fields = ['id', 'form', 'frame', 'slot'] + + with open(train_path, encoding='utf-8') as trainfile: + trainset = list(parse_incr(trainfile, fields=fields, field_parsers={'slot': self.nolabel2o})) + with open(test_path, encoding='utf-8') as testfile: + testset = list(parse_incr(testfile, fields=fields, field_parsers={'slot': self.nolabel2o})) + + random.seed(42) + torch.manual_seed(42) + + if torch.cuda.is_available(): + torch.cuda.manual_seed(0) + torch.cuda.manual_seed_all(0) + torch.backends.cudnn.enabled = False + torch.backends.cudnn.benchmark = False + torch.backends.cudnn.deterministic = True + + corpus = Corpus(train=self.conllu2flair(trainset, 'slot'), test=self.conllu2flair(testset, 'slot')) + tag_dictionary = corpus.make_tag_dictionary(tag_type='slot') + + embedding_types = [ + WordEmbeddings('pl'), + FlairEmbeddings('pl-forward'), + FlairEmbeddings('pl-backward'), + CharacterEmbeddings(), + ] + + embeddings = StackedEmbeddings(embeddings=embedding_types) + tagger = SequenceTagger(hidden_size=512, embeddings=embeddings, + tag_dictionary=tag_dictionary, + tag_type='slot', use_crf=True) + trainer = ModelTrainer(tagger, corpus) + + dirpath = 'slot-model-pl' + + if not os.path.isdir(dirpath): + trainer.train(dirpath, + learning_rate=0.1, + mini_batch_size=32, + max_epochs=20, + train_with_dev=True) + + self.load_slot_model(dirpath) + + # Tworzenie osobnego pliku z metrykami dla modelu + log_file = open('slot-model-pl/training.log', encoding='utf-8') + log_lines = log_file.readlines() + log_file.close() + with open('slot-model-pl/training.log', encoding='utf-8') as log_file, open('nlu_evaluation.txt', 'w', + encoding='utf-8') \ + as eval_file: + for num, line in enumerate(log_file): + if line == 'Results:\n': + lines_to_write_start = num + eval_file.write('*** This evaluation file was generated automatically by the training script ***\n\n') + for line in log_lines[lines_to_write_start:]: + eval_file.write(line) + + def predict_slots(self, sentence): + sentence = sentence.split() + csentence = [{'form': word} for word in sentence] + fsentence = self.conllu2flair([csentence])[0] + self.slot_model.predict(fsentence) + return [(token, ftoken.get_tag('slot').value) for token, ftoken in zip(sentence, fsentence)] + + def load_intent_model(self, model_path): + try: + self.intent_model = TextClassifier.load(f'{model_path}/best-model.pt') + except: + self.intent_model = TextClassifier.load(f'{model_path}/final-model.pt') + + def train_intent_model(self, data_path): + column_name_map = {0: "text", 1: "label_intent"} + corpus = CSVClassificationCorpus(data_path, + column_name_map, + skip_header=False, + delimiter='\t', label_type='label_intent' + ) + label_dict = corpus.make_label_dictionary(label_type='label_intent') + + word_embeddings = [ + WordEmbeddings('pl'), + FlairEmbeddings('polish-forward'), + FlairEmbeddings('polish-backward'), + CharacterEmbeddings(), + ] + + document_embeddings = DocumentRNNEmbeddings(word_embeddings, hidden_size=512) + classifier = TextClassifier(document_embeddings, label_dictionary=label_dict, label_type='label_intent') + trainer = ModelTrainer(classifier, corpus) + + dirpath = 'intent-model-pl' + + if not os.path.isdir(dirpath): + trainer.train(dirpath, + learning_rate=0.1, + mini_batch_size=32, + anneal_factor=0.5, + patience=5, + max_epochs=20) + + self.load_intent_model(dirpath) + + def predict_intent(self, sentence): + sentence = Sentence(sentence) + self.intent_model.predict(sentence) + label_text = sentence.labels[0].value + return label_text + + +def format_prediction(prediction, intent): + out_list = [] + for idx, tup in enumerate(prediction): + if tup[1][0] == 'B': + slot_list = [intent, 'Cinema', tup[1][2:], tup[0]] + for tup in prediction[idx + 1:]: + if tup[1][0] != 'I': + break + else: + slot_list[3] += ' ' + tup[0] + out_list.append(slot_list) + for slot in out_list: + slot[3] = re.sub("^[!\"#$%&\'()*+,.;:<=>?\[\]^_`{|}~]+", '', slot[3]) + slot[3] = re.sub("[!\"#$%&\'()*+,.;:<=>?\[\]^_`{|}~]+$", '', slot[3]) + return out_list + + +# Testy +""" +nlu = NLU() +# raz: +nlu.train_slot_model('../data/train+test-pl.conllu', '../data/train+test-pl.conllu') +nlu.train_intent_model('../data/intent_data') +# potem: +# nlu.load_slot_model('slot-model-pl') +# nlu.load_intent_model('intent-model-pl') +sentence = "3 studenckie, miejsca 2-5, rząd 7" +slots = nlu.predict_slots(sentence) +intent = nlu.predict_intent(sentence) +formatted_prediction = format_prediction(slots, intent) +print(formatted_prediction) +""" diff --git a/NLU_lab_7-8/README.md b/modules/README.md similarity index 100% rename from NLU_lab_7-8/README.md rename to modules/README.md diff --git a/modules/__pycache__/DP.cpython-38.pyc b/modules/__pycache__/DP.cpython-38.pyc new file mode 100644 index 0000000..9afafe8 Binary files /dev/null and b/modules/__pycache__/DP.cpython-38.pyc differ diff --git a/modules/__pycache__/DST.cpython-38.pyc b/modules/__pycache__/DST.cpython-38.pyc new file mode 100644 index 0000000..5a335a4 Binary files /dev/null and b/modules/__pycache__/DST.cpython-38.pyc differ diff --git a/modules/__pycache__/NLG.cpython-38.pyc b/modules/__pycache__/NLG.cpython-38.pyc new file mode 100644 index 0000000..1fd0ffa Binary files /dev/null and b/modules/__pycache__/NLG.cpython-38.pyc differ diff --git a/modules/__pycache__/NLU.cpython-38.pyc b/modules/__pycache__/NLU.cpython-38.pyc new file mode 100644 index 0000000..6966565 Binary files /dev/null and b/modules/__pycache__/NLU.cpython-38.pyc differ diff --git a/modules/__pycache__/dialogue_state.cpython-38.pyc b/modules/__pycache__/dialogue_state.cpython-38.pyc new file mode 100644 index 0000000..7f7aa68 Binary files /dev/null and b/modules/__pycache__/dialogue_state.cpython-38.pyc differ diff --git a/DST_DP_lab_9-10/dialogue_state.py b/modules/dialogue_state.py similarity index 78% rename from DST_DP_lab_9-10/dialogue_state.py rename to modules/dialogue_state.py index 707231f..b8583e7 100644 --- a/DST_DP_lab_9-10/dialogue_state.py +++ b/modules/dialogue_state.py @@ -8,18 +8,19 @@ def default_state(): state['belief_state'] = { "cinema": { "book": { - "booked": [], + "task": "", "date": "", "hour": "", "seat": "", + "row": "", "movie": "" }, "semi": { "name": "", "e-mail": "", - "price": "", - "number": "", - "type": "" + "price": 0, + "quantity": 0, + "tickettype": "" } } } diff --git a/modules/nlu_evaluation.txt b/modules/nlu_evaluation.txt new file mode 100644 index 0000000..5f33343 --- /dev/null +++ b/modules/nlu_evaluation.txt @@ -0,0 +1,28 @@ +*** This evaluation file was generated automatically by the training script *** + +Results: +- F-score (micro) 0.6102 +- F-score (macro) 0.5065 +- Accuracy 0.4737 + +By class: + precision recall f1-score support + + quantity 0.7143 1.0000 0.8333 5 + tickettype 0.4000 0.6667 0.5000 3 + seat 0.3333 0.2500 0.2857 4 + row 0.5000 0.2000 0.2857 5 + e-mail 1.0000 1.0000 1.0000 3 + name 1.0000 1.0000 1.0000 3 + movie 0.5000 0.5000 0.5000 2 + hour 0.3333 1.0000 0.5000 1 + date 1.0000 0.5000 0.6667 2 +purchaseType 0.0000 0.0000 0.0000 1 + genre 0.0000 0.0000 0.0000 1 + + micro avg 0.6207 0.6000 0.6102 30 + macro avg 0.5255 0.5561 0.5065 30 +weighted avg 0.5979 0.6000 0.5690 30 + samples avg 0.4737 0.4737 0.4737 30 + +2022-06-03 23:50:43,033 ---------------------------------------------------------------------------------------------------- diff --git a/DST_DP_lab_9-10/value_dict.json b/modules/value_dict.json similarity index 100% rename from DST_DP_lab_9-10/value_dict.json rename to modules/value_dict.json