1 | #Region "Microsoft.VisualBasic::56e6e6f81616dd4d5739ef90ab144f96, Microsoft.VisualBasic.Core\Extensions\Trinity\WordClass.vb" |
2 | |
3 | ' Author: |
4 | ' |
5 | ' asuka (amethyst.asuka@gcmodeller.org) |
6 | ' xie (genetics@smrucc.org) |
7 | ' xieguigang (xie.guigang@live.com) |
8 | ' |
9 | ' Copyright (c) 2018 GPL3 Licensed |
10 | ' |
11 | ' |
12 | ' GNU GENERAL PUBLIC LICENSE (GPL3) |
13 | ' |
14 | ' |
15 | ' This program is free software: you can redistribute it and/or modify |
16 | ' it under the terms of the GNU General Public License as published by |
17 | ' the Free Software Foundation, either version 3 of the License, or |
18 | ' (at your option) any later version. |
19 | ' |
20 | ' This program is distributed in the hope that it will be useful, |
21 | ' but WITHOUT ANY WARRANTY; without even the implied warranty of |
22 | ' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
23 | ' GNU General Public License for more details. |
24 | ' |
25 | ' You should have received a copy of the GNU General Public License |
26 | ' along with this program. If not, see <http://www.gnu.org/licenses/>. |
27 | |
28 | |
29 | |
30 | ' /********************************************************************************/ |
31 | |
32 | ' Summaries: |
33 | |
34 | ' Enum WordClass |
35 | ' |
36 | ' |
37 | ' |
38 | ' |
39 | ' |
40 | ' |
41 | ' |
42 | ' /********************************************************************************/ |
43 | |
44 | #End Region |
45 | |
46 | Imports System.ComponentModel |
47 | |
48 | Namespace Data.Trinity.NLP |
49 | |
50 | ''' <summary> |
51 | ''' 单词的词性分类 |
52 | ''' </summary> |
53 | Public Enum WordClass As Integer |
54 | |
55 | ''' <summary> |
56 | ''' 未知的词性 |
57 | ''' </summary> |
58 | NA = 0 |
59 | |
60 | ''' <summary> |
61 | ''' 名词:to describe a person or thing |
62 | ''' </summary> |
63 | <Description("n.")> noun |
64 | <Description("na.")> name |
65 | ''' <summary> |
66 | ''' 可数名词 |
67 | ''' </summary> |
68 | <Description("c.")> countable_noun |
69 | ''' <summary> |
70 | ''' 动词 |
71 | ''' </summary> |
72 | <Description("v.")> verb |
73 | ''' <summary> |
74 | ''' 形容词 |
75 | ''' </summary> |
76 | <Description("adj.")> adjective |
77 | ''' <summary> |
78 | ''' 副词 |
79 | ''' </summary> |
80 | <Description("adv.")> adverb |
81 | ''' <summary> |
82 | ''' 代词 |
83 | ''' </summary> |
84 | <Description("pron.")> pronoun |
85 | ''' <summary> |
86 | ''' 介词 |
87 | ''' </summary> |
88 | <Description("prep.")> preposition |
89 | ''' <summary> |
90 | ''' 数词 |
91 | ''' </summary> |
92 | <Description("num.")> numeral |
93 | ''' <summary> |
94 | ''' 连词 |
95 | ''' </summary> |
96 | <Description("conj.")> conjunction |
97 | ''' <summary> |
98 | ''' 冠词 |
99 | ''' </summary> |
100 | <Description("art.")> article |
101 | ''' <summary> |
102 | ''' 感叹词 |
103 | ''' </summary> |
104 | <Description("int.")> interjection |
105 | End Enum |
106 | End Namespace |