Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

108
LINES

< > BotCompany Repo | #1002281 // NL Parsing Rules

Natural language

1  
. = dot
2  
! = dot
3  
4  
<sentence> <dot> = line
5  
testline = line
6  
7  
beginning = noun
8  
the <noun> = noun
9  
in = forish
10  
<noun> <noun> = noun
11  
<adder>, <sentence> = sentence
12  
13  
say = verb
14  
<quoted> = string
15  
<string> = noun
16  
17  
know = verb
18  
someone = noun
19  
20  
<noun> = noun_opt
21  
= noun_opt
22  
23  
already = adder
24  
actually = adder
25  
now = adder
26  
27  
If = ifish
28  
you = noun
29  
someone's = myish
30  
<myish> <noun> = noun
31  
name = noun
32  
33  
<noun> <verb> = sentence
34  
<noun> <verb> <noun> = sentence
35  
<verb> = command
36  
<verb> <noun> = command
37  
<command> = sentence
38  
39  
does = helpverb
40  
do = helpverb
41  
will = helpverb
42  
43  
is = qverb
44  
are = qverb
45  
am = qverb
46  
47  
<helpverb> <noun> <verb> = question
48  
<helpverb> <noun> <verb> <noun_opt> = question
49  
<qverb> <noun> <noun_opt> = question
50  
51  
<ifish> <sentence>, <sentence> = sentence
52  
53  
ask = verb
54  
asks = verb
55  
56  
for = forish
57  
<forish> <noun> = adder
58  
your = myish
59  
60  
<sentence> and <sentence> = sentence
61  
62  
don't <verb> = verb
63  
have = verb
64  
anything = noun
65  
anything else = noun
66  
67  
<noun> to <verb> = noun
68  
69  
<sentence> <adder> = sentence
70  
71  
I'm = imish
72  
he's = imish
73  
she's = imish
74  
we're = imish
75  
you're = imish
76  
77  
<imish> <adjective> = sentence
78  
79  
cool = adjective
80  
lame = adjective
81  
82  
are = verb
83  
am = verb
84  
were = verb
85  
Is = verb
86  
87  
my = myish
88  
89  
This = noun
90  
91  
Nice = adjective
92  
Little = adjective
93  
94  
a = aish
95  
an = aish
96  
97  
<adjective> <noun> = noun
98  
<aish> <noun> = noun
99  
100  
sentence = noun
101  
I = noun
102  
He = noun
103  
She = noun
104  
We = noun
105  
it = noun
106  
noun = noun
107  
108  
<noun> <verb> <adjective> = sentence

Author comment

Began life as a copy of #1002280

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1002281
Snippet name: NL Parsing Rules
Eternal ID of this version: #1002281/1
Text MD5: 2cf1d2bab98f4b3749d6e25d2cce7645
Author: stefan
Category:
Type: Natural language
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-01-18 21:30:33
Source code size: 1520 bytes / 108 lines
Pitched / IR pitched: No / No
Views / Downloads: 776 / 1702
Referenced in: [show references]