1 | !7 |
2 | |
3 | static SS text2tag, tag2answer; |
4 | |
5 | sS bla = [[ |
6 | // User questions |
7 | zpngrctlsvyhgjcz "What are coffee cubes?" horhzflzueschyeb |
8 | zpngrctlsvyhgjcz "can i eat this product safely?" ekphhqckqjemaldl |
9 | zpngrctlsvyhgjcz "i am allergic to caffeine" aaspzoiwepjxcbjy |
10 | zpngrctlsvyhgjcz "Howm any cubes does one package contain of?" kzizgnsjcalubtyy |
11 | zpngrctlsvyhgjcz "i am trying to get off coffee" jxsgpwjjxfddlmcm |
12 | zpngrctlsvyhgjcz "can your product help me?" iqdeubxeunvtvome |
13 | zpngrctlsvyhgjcz "are you a chat bot?" uploqyldovafblng |
14 | zpngrctlsvyhgjcz "hi, are you a sales representative?" saojziwvfhpkrvgf |
15 | zpngrctlsvyhgjcz "hi, are you online?" yjpnzjcvloraguar |
16 | zpngrctlsvyhgjcz "i would like to order through DHL" apkjoybxomynlnct |
17 | zpngrctlsvyhgjcz "how can i pay?" kgfxxqpmztcqwwof |
18 | zpngrctlsvyhgjcz "is stuff cheapier when i buy a lot" xmqkufyprdzoucrt |
19 | zpngrctlsvyhgjcz "how many cubes equal one cup of coffee?" lagkalrrkhchhmgi |
20 | zpngrctlsvyhgjcz "can i order them in larger quantities ?" hfagmtyhvsccrmlj |
21 | zpngrctlsvyhgjcz "do you ha ve a product w/o caffein" jvnxqwewrqdnwiwc |
22 | zpngrctlsvyhgjcz "how long does the effect will last?" aberdtbmpucxydtz |
23 | zpngrctlsvyhgjcz "how can i order" rccghtimpdlberts |
24 | zpngrctlsvyhgjcz "do i need a login to buy a product" elblvjxprperqikn |
25 | zpngrctlsvyhgjcz "how do they taste" xdglbezbqubskgsb |
26 | zpngrctlsvyhgjcz "what do they taste like" kdlcidsvuojvqpdm |
27 | zpngrctlsvyhgjcz "is theanine dangerous" kzwjowlsjyhpoplk |
28 | zpngrctlsvyhgjcz "how much caffeine does one cube contain?" abwwgpnxemxojhtz |
29 | zpngrctlsvyhgjcz "i am allergic to lactose, is it a problem?" ypdubfeldyvfzsky |
30 | zpngrctlsvyhgjcz "can you forward me to a sales representative?" lqsisypoisfacqtr |
31 | zpngrctlsvyhgjcz "do you ship to mexico?" czdprfwybqtohqwr |
32 | zpngrctlsvyhgjcz "can kids consume them?" cracyhnutdnscjds |
33 | zpngrctlsvyhgjcz "calories?" givbefywxkzcaokt |
34 | zpngrctlsvyhgjcz "do you offer test kits?" wltvllnpqjmrfuyz |
35 | zpngrctlsvyhgjcz "whats about the different falvors?" ifjnfvrwiwokfjev |
36 | zpngrctlsvyhgjcz "does shipping cost anything?" adqmbpvbesfauzrm |
37 | zpngrctlsvyhgjcz "which flavours are there?" nyuscafzpcelgxka |
38 | zpngrctlsvyhgjcz "why not just drink coffee?" ahbswjrkkwjqfaxu |
39 | zpngrctlsvyhgjcz "i get juttery from coffee" lcccorkgrtkcrcis |
40 | zpngrctlsvyhgjcz "what is inositol" ecjxalzcplvkwhsg |
41 | zpngrctlsvyhgjcz "did you do any research" vfkrbpfogkwutjqz |
42 | zpngrctlsvyhgjcz "I need to stay concentrated" blewvghkjpntmqyn |
43 | zpngrctlsvyhgjcz "whats the texture like?" dmdlhptngnnnunlq |
44 | zpngrctlsvyhgjcz "i would like to order a small pkg of cubes" mfphgxlvqlzfgico |
45 | zpngrctlsvyhgjcz "im overweight" oakioceankaxrqgr |
46 | zpngrctlsvyhgjcz "ive got diabetes" nvnaukmkumqkstef |
47 | zpngrctlsvyhgjcz "sprechen sie deutsch" onfeimqmgwsryvlk |
48 | zpngrctlsvyhgjcz "iam allergic to nuts" vtmyawotusbsrfmo |
49 | zpngrctlsvyhgjcz "parlez vous francais ?" pymzcofutgzahcex |
50 | zpngrctlsvyhgjcz "is it vegan?" qbnbngkxlabkcsna |
51 | zpngrctlsvyhgjcz "hey would you like to be my friend" dbjkzepofrfrqnez |
52 | zpngrctlsvyhgjcz "are you a program" wxasrmrqzzhsoyma |
53 | zpngrctlsvyhgjcz "where is your company based" vkmidbecgdvhxkun |
54 | zpngrctlsvyhgjcz "can i return the product if i dont like it" epqcdrbuufabhann |
55 | zpngrctlsvyhgjcz "im allergic to gluten" jmricstaqywxydwl |
56 | zpngrctlsvyhgjcz "is it doping to eat them?" xrfueqvkqpwreehb |
57 | zpngrctlsvyhgjcz "is it food safe?" kmmftvgxctcyjxeb |
58 | zpngrctlsvyhgjcz "i prefer tea" vsezkpwecxntshyr |
59 | zpngrctlsvyhgjcz "can i pay with paypal?" zijrlqsxmqawfhww |
60 | zpngrctlsvyhgjcz "can i pay cash?" kbblgtnkaikxvaap |
61 | zpngrctlsvyhgjcz "whats about paypal?" claozbywlsmdnprb |
62 | zpngrctlsvyhgjcz "do you offer sepa payment?" caeinrelmhkdsvmj |
63 | zpngrctlsvyhgjcz "id like to pay with btc" jdsivzuphzvnbebb |
64 | zpngrctlsvyhgjcz "can i buy in a store" jujjyqnvkheagmvh |
65 | zpngrctlsvyhgjcz "are you on an exhibiotion somewhere" msjhlucjronlxqaf |
66 | zpngrctlsvyhgjcz "can i get them offline?" glocvqjosybybxug |
67 | zpngrctlsvyhgjcz "walmart?" qplruufbfbktqyrp |
68 | zpngrctlsvyhgjcz "affiliate?" wuwazvpvfixvlnqp |
69 | zpngrctlsvyhgjcz "what other products do you offer?" axdiaphlurleyavg |
70 | zpngrctlsvyhgjcz "what are nootropics" kwsxccjelnjoniuq |
71 | zpngrctlsvyhgjcz "what is nootropics" ukvrrhajavaolcsn |
72 | zpngrctlsvyhgjcz "is it safe to eat" qbydkiftluvntrik |
73 | zpngrctlsvyhgjcz "why nootrobox" qrxdwrdcgjmqwvdt |
74 | zpngrctlsvyhgjcz "what is it made of?" toxzhwachfregmkm |
75 | zpngrctlsvyhgjcz "how are they manufactured?" zyxuusvsbrmgwgpa |
76 | zpngrctlsvyhgjcz "How do subscriptions work?" wayyjccomknhjwkx |
77 | zpngrctlsvyhgjcz "How do I upgrade / cancel / change my subscription settings?" fqpfgglhafcpofku |
78 | zpngrctlsvyhgjcz "How do I login or create an account?" xcpfmtgbieoujoap |
79 | zpngrctlsvyhgjcz "How does the referral program work?" lsfqoojafxbuxotz |
80 | zpngrctlsvyhgjcz "What is your return policy?" idfuibpcitjexasp |
81 | zpngrctlsvyhgjcz "How do I stock GO CUBES in my store, hotel chain, or space station?" cuslhkbqojkazzvu |
82 | zpngrctlsvyhgjcz "What if I have more questions?" inkrgosaiztclzfx |
83 | zpngrctlsvyhgjcz "How do I get in touch?" bokopqbdqhwhdrex |
84 | zpngrctlsvyhgjcz "How do I contact you in person?" vykavyetowtuhjdl |
85 | zpngrctlsvyhgjcz "Where do you ship and what are the costs?" oxffldejlearvlqf |
86 | zpngrctlsvyhgjcz "do you have good reviews" cpmvlmwythdtovxr |
87 | zpngrctlsvyhgjcz "How long does it take to ship my order? Can I track my order?" lfbysxqbocpbpxey |
88 | zpngrctlsvyhgjcz "What is the Nootrobox quality control process?" nbftctdaakirjaks |
89 | zpngrctlsvyhgjcz "How does Nootrobox source its ingredients?" qovyzvsfndvclcpz |
90 | zpngrctlsvyhgjcz "Are Nootrobox products vegan / Gluten-free / allergen-free?" cbahoxscyivhrjyn |
91 | zpngrctlsvyhgjcz "Are Nootrobox products safe?" rwhaupmkiqmzciaa |
92 | zpngrctlsvyhgjcz "do you have a email newsletter" ucoatfnjbblioxcz |
93 | zpngrctlsvyhgjcz "facebook page?" miegficpcxwenfzf |
94 | zpngrctlsvyhgjcz "twitter?" fasxptyropfqqvmh |
95 | zpngrctlsvyhgjcz "instagram?" lrkuyqvrxghfbmqi |
96 | zpngrctlsvyhgjcz "youtube?" fhmifivmstboojga |
97 | zpngrctlsvyhgjcz "can i see a video" hulfisioluktazfu |
98 | zpngrctlsvyhgjcz "who are you?" moqibaidtyqgavjk |
99 | zpngrctlsvyhgjcz wholesale kccqlijprpwdqxup |
100 | zpngrctlsvyhgjcz "what are you doing?" towctngdsmolgkvg |
101 | zpngrctlsvyhgjcz "how are you?" rafjzhmrzdgiwlep |
102 | zpngrctlsvyhgjcz "how long does shipping take" kwvdmfqvfckesolf |
103 | zpngrctlsvyhgjcz "how much is the smallest package?" xdmtofdmmmasxaik |
104 | zpngrctlsvyhgjcz "are the cubes addictive?" bgstwrmvibbmnora |
105 | zpngrctlsvyhgjcz "Is my credit card information safe?" avejwdhhqyaaauen |
106 | zpngrctlsvyhgjcz "have you seen any good movies lately?" xbmppylgzxbtastk |
107 | zpngrctlsvyhgjcz "do you want to go out with me?" leztwdnpderiddbc |
108 | |
109 | // Unprocessed chat lines |
110 | jbzaoiwrxkzgyhig "how long does shipping take => 2 to 5 days usually. where you do live? => i live in mexico => 5 days" |
111 | jbzaoiwrxkzgyhig "how much is the smallest package? => the starter package is 5$ => how much is that in euro? => that would be 4 €" |
112 | jbzaoiwrxkzgyhig "are the cubes addictive? => not more than a cup of joe => what is cup of joe => sorry, it is slang for \"cup of coffee\"" |
113 | jbzaoiwrxkzgyhig "which flavor do you prefer?" |
114 | jbzaoiwrxkzgyhig "or would you like to order a assorted box?" |
115 | jbzaoiwrxkzgyhig "youd like to order the sample box containing 6*4 cubes right?" |
116 | jbzaoiwrxkzgyhig "how many packs would you like to order?" |
117 | jbzaoiwrxkzgyhig "is it a one-time order or would oyu like to surbscirbe monthly and save 10%?" |
118 | jbzaoiwrxkzgyhig "thanks ill forward you to chekcout" |
119 | jbzaoiwrxkzgyhig "button: \"one time\" / button: \"subscribe\"" |
120 | jbzaoiwrxkzgyhig "i am a chat bot and i represent nootrobox inc. here is more about us: [link]" |
121 | jbzaoiwrxkzgyhig "=> link" |
122 | jbzaoiwrxkzgyhig "<mailto:sales@nootrobox.com|sales@nootrobox.com>" |
123 | jbzaoiwrxkzgyhig "have you seen any good movies lately? => sorry i am a chat bot and i am all focused on work" |
124 | jbzaoiwrxkzgyhig ":smile:" |
125 | jbzaoiwrxkzgyhig "do you want to go out with me? => i am sorry, please find a chat bot in your area to hang out with" |
126 | |
127 | // Concepts |
128 | jbzaoiwrxkzgyhig - X is an original chat line |
129 | iuqsrbiqxssapzwe - X is a misspelling of Y |
130 | oofaakbeurmuxjzq - X is a user question |
131 | zpngrctlsvyhgjcz - X is a user question with ID Y |
132 | ]]; |
133 | |
134 | p { |
135 | myTruthNonPersist(bla); |
136 | //print("Lines: " + l(lispTruth2("zpngrctlsvyhgjcz"))); |
137 | text2tag = parseText2Tag(#1008363); |
138 | tag2answer = parseTag2Answer(#1008366); |
139 | printStruct(tag2answer); |
140 | bot(); |
141 | } |
142 | |
143 | answer { |
144 | for (S key : keys(text2tag)) |
145 | if (match(key, s)) { |
146 | S tag = text2tag.get(key); |
147 | print("tag: " + quote(tag)); |
148 | ret lookupPossiblyIgnoringCase(tag2answer, tag); |
149 | } |
150 | } |
Began life as a copy of #1008347
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1008370 |
Snippet name: | Nootrobox Concepts Bot [dev.] |
Eternal ID of this version: | #1008370/1 |
Text MD5: | c7687918ed0cef4ed6c1575c53f2809f |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-09 23:27:16 |
Source code size: | 8789 bytes / 150 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 742 / 716 |
Referenced in: | [show references] |