Skip to content

Commit 77e7dd2

Browse files
author
David de Hilster
authored
Merge pull request #18 from dehilsterlexis/NLP-TUTORIALS-013
NLP-TUTORIALS-013 Added tutorial 14 pm mod files
2 parents 5d9bc5b + ec9b6e8 commit 77e7dd2

File tree

13 files changed

+1244
-1
lines changed

13 files changed

+1244
-1
lines changed

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,20 @@ Learn about how to create dictionaries in NLP++: [YouTube Video Tutorial 11](htt
5959

6060
## Tutorial 12: New DICT files
6161

62-
Tutorial on the new dict files for NLP++ that greatly simplifies and organizes dictionaries. This tutorial uses the full english parser (parse-en-us) found in the example analyzers folder which comes with the VSCode NLP++ Language extension: [YouTube Video Tutorial 12](https://youtu.be/RohelF8CP2k)
62+
Tutorial on the new dict files for NLP++ that greatly simplifies and organizes dictionaries. This tutorial uses the full english parser (parse-en-us) found in the example analyzers folder which comes with the VSCode NLP++ Language extension: [YouTube Video Tutorial 12](https://youtu.be/RohelF8CP2k)
63+
64+
## Tutorial 13: VisualText Version 2
65+
66+
This tutorial shows of verion 2 of the NLP Engine and VisualText. The main difference is the KB View with the new dictionary and KBB files and the great tools for building and maintaining NLP analyzers that feed one into another: [YouTube Video Tutorial 13](https://youtu.be/e-JQTnXEkcg)
67+
68+
### Tutorial 13-a:
69+
70+
This analyzer fetches informational pages from the web on the 50 American states. This is included in one video: [YouTube Video Tutorial 13](https://youtu.be/e-JQTnXEkcg)
71+
72+
### Tutorial 13-b:
73+
74+
This analyzer analyzes the 50 state webpages and creates dictionaries and a knowledge base. This is included in one video: [YouTube Video Tutorial 13](https://youtu.be/e-JQTnXEkcg)
75+
76+
## Tutorial 14: Mod Files
77+
78+
Mod files allow for bundling text, NLP++ code (passes), dictionaries, and knowledge base files into one file that can be easily created and loaded into VisualText (the NLP++ langauge extension for VSCode).: [YouTube Video Tutorial 14](https://youtu.be/dRpGY0SPLSo)

tutorial-14/README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Tutorial 14 - Mod Files
2+
3+
This tutorial is about Mod files in NLP++. Mod files allow for the bundling of text files, nlp++ files, dictionaries and knowledge base files into one file that can be easily created and loaded. The idea behind mod files is to create useful analyzer capabilities that can be incorporated into exhisting analyzers.
4+
5+
Click here to see the [Tutorial Video on YouTube](https://youtu.be/dRpGY0SPLSo).

tutorial-14/input/numbers.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
one
2+
four
3+
ninety seven
4+
eighty-five
5+
seven hundred trillion and three
6+
twenty-nine hundred million
7+
two hundred seven billion four hundred fifteen million thirty-nine thousand eight hundred and forty-nine
8+
eight-nine trillion six hundred twenty billion nine hundred ninety-nine million and three
9+
six hundred fifty-six thousand seven hundred and ninety-two
10+
nineteen hundred and fifty-nine
11+
nineteen fifty nine
12+
nine twenty
13+
ten sixty-six
14+
twenty twenty three
15+

tutorial-14/kb/user/attr.kb

Lines changed: 254 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,254 @@
1+
ind attr
2+
"concept"
3+
0
4+
"concept" "sys" "attrs" "common" "var"
5+
psym
6+
"cg_CONCEPT"
7+
end ind
8+
9+
10+
ind attr
11+
"concept" "gram"
12+
0
13+
"concept" "sys" "dict" "a" "x" "xu" "xwhite"
14+
pst
15+
"true"
16+
end ind
17+
18+
19+
ind attr
20+
"concept" "gram"
21+
0
22+
"concept" "sys" "dict" "a" "c" "co" "constrain"
23+
pst
24+
"true"
25+
end ind
26+
27+
28+
ind attr
29+
"concept" "gram"
30+
0
31+
"concept" "sys" "dict" "a" "c" "cl" "closed"
32+
pst
33+
"false"
34+
end ind
35+
36+
37+
ind attr
38+
"concept" "gram"
39+
0
40+
"concept" "sys" "dict" "a" "l" "li" "lit"
41+
pst
42+
"false"
43+
end ind
44+
45+
46+
ind attr
47+
"concept" "gram"
48+
0
49+
"concept" "sys" "dict" "a" "s" "sp" "split"
50+
pst
51+
"false"
52+
end ind
53+
54+
55+
ind attr
56+
"concept" "gram"
57+
0
58+
"concept" "sys" "dict" "a" "g" "ge" "gen"
59+
pst
60+
"false"
61+
end ind
62+
63+
64+
ind attr
65+
"concept" "gram"
66+
0
67+
"concept" "sys" "dict" "a" "l" "lo" "locked"
68+
pst
69+
"false"
70+
end ind
71+
72+
73+
ind attr
74+
"concept" "gram"
75+
0
76+
"concept" "sys" "dict" "a" "d" "di" "dirty"
77+
pst
78+
"true"
79+
end ind
80+
81+
82+
ind attr
83+
"concept" "gram"
84+
0
85+
"concept" "sys" "dict" "a" "q" "qu" "quicksem"
86+
pst
87+
"false"
88+
end ind
89+
90+
91+
ind attr
92+
"concept" "sys"
93+
0
94+
"concept" "sys" "attrs" "common" "var"
95+
psym
96+
"con_SYS"
97+
end ind
98+
99+
100+
ind attr
101+
"concept" "sys" "attrs"
102+
0
103+
"concept" "sys" "attrs" "common" "var"
104+
psym
105+
"sys_ATTRS"
106+
end ind
107+
108+
109+
ind attr
110+
"concept" "sys" "attrs" "proxy"
111+
0
112+
"concept" "sys" "attrs" "common" "var"
113+
psym
114+
"attrs_PROXY"
115+
end ind
116+
117+
118+
ind attr
119+
"concept" "sys" "attrs" "proxy" "atom"
120+
0
121+
"concept" "sys" "attrs" "common" "var"
122+
psym
123+
"cg_ATOM"
124+
end ind
125+
126+
127+
ind attr
128+
"concept" "sys" "attrs" "pproxy"
129+
0
130+
"concept" "sys" "attrs" "common" "var"
131+
psym
132+
"attrs_PPROXY"
133+
end ind
134+
135+
136+
ind attr
137+
"concept" "sys" "attrs" "pproxy" "phrase"
138+
0
139+
"concept" "sys" "attrs" "common" "var"
140+
psym
141+
"cg_PHRASE"
142+
end ind
143+
144+
145+
ind attr
146+
"concept" "sys" "attrs" "common"
147+
0
148+
"concept" "sys" "attrs" "common" "var"
149+
psym
150+
"attrs_COMMON"
151+
end ind
152+
153+
154+
ind attr
155+
"concept" "sys" "attrs" "common" "var"
156+
0
157+
"concept" "sys" "attrs" "common" "var"
158+
psym
159+
"cg_VAR"
160+
end ind
161+
162+
163+
ind attr
164+
"concept" "sys" "nlp"
165+
0
166+
"concept" "sys" "attrs" "common" "var"
167+
psym
168+
"sys_NLP"
169+
end ind
170+
171+
172+
ind attr
173+
"concept" "sys" "nlp" "lex" "slot" "cases"
174+
0
175+
"concept" "sys" "attrs" "common" "var"
176+
psym
177+
"id_CASES"
178+
end ind
179+
180+
181+
ind attr
182+
"concept" "sys" "mean" "slot" "case"
183+
0
184+
"concept" "sys" "attrs" "common" "var"
185+
psym
186+
"id_mslot_CASE"
187+
end ind
188+
189+
190+
ind attr
191+
"concept" "sys" "mean" "slot" "case" "cap"
192+
0
193+
"concept" "sys" "attrs" "common" "var"
194+
psym
195+
"id_CAP"
196+
end ind
197+
198+
199+
ind attr
200+
"concept" "sys" "mean" "slot" "case" "allcap"
201+
0
202+
"concept" "sys" "attrs" "common" "var"
203+
psym
204+
"id_ALLCAP"
205+
end ind
206+
207+
208+
ind attr
209+
"concept" "sys" "mean" "slot" "case" "mixed"
210+
0
211+
"concept" "sys" "attrs" "common" "var"
212+
psym
213+
"id_MIXED"
214+
end ind
215+
216+
217+
ind attr
218+
"concept" "sys" "mean" "slot" "mixed"
219+
0
220+
"concept" "sys" "attrs" "common" "var"
221+
psym
222+
"id_mslot_MIXED"
223+
end ind
224+
225+
226+
ind attr
227+
"concept" "sys" "dict"
228+
0
229+
"concept" "sys" "attrs" "common" "var"
230+
psym
231+
"sys_DICT"
232+
end ind
233+
234+
235+
ind attr
236+
"concept" "sys" "dict" "a"
237+
0
238+
"concept" "sys" "attrs" "common" "var"
239+
psym
240+
"dict_ALPHA"
241+
end ind
242+
243+
244+
ind attr
245+
"concept" "sys" "dict" "unknown"
246+
0
247+
"concept" "sys" "attrs" "common" "var"
248+
psym
249+
"dict_UNKNOWN"
250+
end ind
251+
252+
253+
quit
254+

0 commit comments

Comments
 (0)