-
Notifications
You must be signed in to change notification settings - Fork 2
/
SpydazWebAI_Class_Tokenizer.xml
309 lines (309 loc) · 11.4 KB
/
SpydazWebAI_Class_Tokenizer.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
<?xml version="1.0"?>
<!--
Generated by VSdocman, see http://www.helixoft.com
-->
<doc>
<assembly>
<name>SpydazWebAI_Class_Tokenizer</name>
</assembly>
<members>
<member name="T:ClassTokenizer.ClassTokenizer">
<summary>
Tokenizer For NLP Techniques</summary>
</member>
<member name="F:ClassTokenizer.ClassTokenizer.ClassId">
</member>
<member name="F:ClassTokenizer.ClassTokenizer.EventsId">
</member>
<member name="F:ClassTokenizer.ClassTokenizer.InterfaceId">
</member>
<member name="M:ClassTokenizer.ClassTokenizer.Tokenizer(System.String@)">
<summary>
Returns Characters in String as list</summary>
<param name="InputStr">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.Tokenizer(System.String@,System.String@)">
<summary>
Return Tokens in string divided by seperator</summary>
<param name="InputStr">
</param>
<param name="Divider">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.GetTokenFrequency(System.String@,System.String@)">
<summary>
Gets Frequency of token</summary>
<param name="Token">
</param>
<param name="InputStr">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.GetWordFrequecys(System.String,System.String)">
<param name="_Text">
</param>
<param name="Delimiter">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.GetTokenType(System.String@)">
<summary>
each charcter can be defined as a particular token enabling for removal of unwanted token types</summary>
<param name="CharStr">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.GetValidTokens(System.String@)">
<summary>
Returns valid tokens only tokens that are not defined are removed</summary>
<param name="InputStr">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.AlphanumericOnly(System.String@)">
<param name="Str">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.RemoveTokenType(System.String@,ClassTokenizer.Constituants.TokenType@)">
<summary>
Removes Tokens From String by Type</summary>
<param name="UserStr">
</param>
<param name="nType">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.CountTokens(System.String@,System.String@)">
<summary>
Counts tokens in string</summary>
<param name="InputStr">
</param>
<param name="Delimiter">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.ContainsEncapsulated(System.String@)">
<summary>
Checks if input contains Ecapuslation Punctuation</summary>
<param name="Userinput">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.GetEncapsulated(System.String@)">
<summary>
Gets encapsulated items found in userinput</summary>
<param name="Userinput">
</param>
</member>
<member name="M:ClassTokenizer.ClassTokenizer.ExtractEncapsulated(System.String@)">
<summary>
Extracts first Encapsulated located in string</summary>
<param name="Userinput">
</param>
</member>
<member name="T:ClassTokenizer.Constituants">
<summary>
Grammer and syntax Components</summary>
</member>
<member name="T:ClassTokenizer.Constituants.TokenType">
<summary>
Recognized Tokens</summary>
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.GramaticalPunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.EncapuslationPunctuationStart">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.EncapuslationPunctuationEnd">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.MoneyPunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.MathPunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.CodePunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.AlphaBet">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.Number">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.SeperatorPunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.TokenType.Ignore">
</member>
<member name="F:ClassTokenizer.Constituants.AlphaBet">
</member>
<member name="F:ClassTokenizer.Constituants.CodePunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.EncapuslationPunctuationEnd">
</member>
<member name="F:ClassTokenizer.Constituants.EncapuslationPunctuationStart">
</member>
<member name="F:ClassTokenizer.Constituants.GramaticalPunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.MathPunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.MoneyPunctuation">
</member>
<member name="F:ClassTokenizer.Constituants.Number">
</member>
<member name="F:ClassTokenizer.Constituants.SeperatorPunctuation">
</member>
<member name="T:ClassTokenizer.Constituants.WordFrequecys">
</member>
<member name="M:ClassTokenizer.Constituants.WordFrequecys.ToString">
<summary>
Returns the fully qualified type name of this instance.</summary>
</member>
<member name="F:ClassTokenizer.Constituants.WordFrequecys.frequency">
</member>
<member name="F:ClassTokenizer.Constituants.WordFrequecys.word">
</member>
<member name="T:ClassTokenizer.TokenizerExt">
<summary>
Extension Methods for tokeninzer Fucntions</summary>
</member>
<member name="M:ClassTokenizer.TokenizerExt.CountTokens(System.String@,System.String@)">
<summary>
Counts tokens in string</summary>
<param name="InputStr">
</param>
<param name="Delimiter">
</param>
</member>
<member name="M:ClassTokenizer.TokenizerExt.AlphanumericOnly(System.String@)">
<param name="Str">
</param>
</member>
<member name="M:ClassTokenizer.TokenizerExt.RemoveTokenType(System.String@,ClassTokenizer.Constituants.TokenType@)">
<summary>
Removes Tokens From String by Type</summary>
<param name="UserStr">
</param>
<param name="nType">
</param>
</member>
<member name="M:ClassTokenizer.TokenizerExt.Tokenizer(System.String@)">
<summary>
Returns Characters in String as list</summary>
<param name="InputStr">
</param>
</member>
<member name="M:ClassTokenizer.TokenizerExt.Tokenizer(System.String@,System.String@)">
<summary>
Return Tokens in string divided by seperator</summary>
<param name="InputStr">
</param>
<param name="Divider">
</param>
</member>
<member name="M:ClassTokenizer.TokenizerExt.GetTokenFrequency(System.String@,System.String@)">
<param name="Token">
</param>
<param name="InputStr">
</param>
</member>
<member name="M:ClassTokenizer.TokenizerExt.GetWordFrequecys(System.String,System.String)">
<param name="_Text">
</param>
<param name="Delimiter">
</param>
</member>
<member name="M:ClassTokenizer.TokenizerExt.GetTokenType(System.String@)">
<summary>
each charcter can be defined as a particular token enabling for removal of unwanted token types</summary>
<param name="CharStr">
</param>
</member>
<member name="M:ClassTokenizer.TokenizerExt.GetValidTokens(System.String@)">
<summary>
Returns valid tokens only tokens that are not defined are removed</summary>
<param name="InputStr">
</param>
</member>
<member name="T:ClassTokenizer.StringExtensions">
<summary>
Extension methods for string functions</summary>
</member>
<member name="M:ClassTokenizer.StringExtensions.ExtractStringBetween(System.String,System.String,System.String)">
<summary>
extracts string between defined strings</summary>
<param name="value">
base sgtring</param>
<param name="strStart">
Start string</param>
<param name="strEnd">
End string</param>
</member>
<member name="M:ClassTokenizer.StringExtensions.AddPrefix(System.String@,System.String)">
<summary>
Adds string to front of string (no spaces)</summary>
<param name="Str">
base string</param>
<param name="Prefix">
Add before (no spaces)</param>
</member>
<member name="M:ClassTokenizer.StringExtensions.AddSuffix(System.String@,System.String)">
<summary>
Adds Suffix to String (No Spaces)</summary>
<param name="Str">
Base string</param>
<param name="Suffix">
To be added After</param>
</member>
<member name="M:ClassTokenizer.StringExtensions.ExtractLastWord(System.String@)">
<summary>
Returns The last word in String NOTE: String ois converted to Array then the last element is extracted Count-1</summary>
<returns>
String</returns>
<param name="InputStr">
</param>
</member>
<member name="M:ClassTokenizer.StringExtensions.ExtractSuffix(System.String@)">
<param name="InputStr">
</param>
</member>
<member name="M:ClassTokenizer.StringExtensions.ExtractLastChar(System.String@)">
<param name="InputStr">
</param>
</member>
<member name="M:ClassTokenizer.StringExtensions.ExtractFirstWord(System.String@)">
<param name="Statement">
</param>
</member>
<member name="M:ClassTokenizer.StringExtensions.ExtractPrefix(System.String@)">
<param name="Statement">
</param>
</member>
<member name="T:ClassTokenizer.TermDocumentMatrixExtensions">
<summary>
Term Document matrix functions and Extension methods</summary>
</member>
<member name="M:ClassTokenizer.TermDocumentMatrixExtensions.GetNgrms(System.String@,System.Int32@)">
<summary>
Returns n-Grams</summary>
<param name="Str">
Input Str</param>
<param name="Ngrams">
number of Grams</param>
</member>
<member name="M:ClassTokenizer.TermDocumentMatrixExtensions.InverseTermDocumentFrequency(System.String@,System.Collections.Generic.List{System.String}@)">
<summary>
IDF(t) = log_e(Total number of documents / Number of documents with term t in it).</summary>
<param name="Word">
</param>
<param name="Documents">
</param>
</member>
<member name="M:ClassTokenizer.TermDocumentMatrixExtensions.InverseTermFrequency(System.String@,System.String@)">
<summary>
IDF: Inverse Document Frequency, which measures how important a term Is. While computing TF, all terms are considered equally important. However it Is known that certain terms, such As "is", "of", And "that", may appear a lot Of times but have little importance. Thus we need To weigh down the frequent terms While scale up the rare ones, by computing the following: IDF(t) = log_e(Total number of documents / Number of documents with term t in it).</summary>
<param name="Userinput">
</param>
<param name="Term">
</param>
</member>
<member name="M:ClassTokenizer.TermDocumentMatrixExtensions.TermFrequency(System.String@,System.String@)">
<summary>
TF: Term Frequency, which measures how frequently a term occurs In a document. Since every document Is different In length, it Is possible that a term would appear much more times In Long documents than shorter ones. Thus, the term frequency Is often divided by the document length (aka. the total number Of terms In the document) As a way Of normalization: TF(t) = (Number of times term t appears in a document) / (Total number of terms in the document).</summary>
<param name="InputStr">
</param>
<param name="Term">
</param>
</member>
<member name="N:ClassTokenizer">
</member>
</members>
</doc>