1: namespace Ia.Cl.Model
2: {
3: ////////////////////////////////////////////////////////////////////////////
4: ////////////////////////////////////////////////////////////////////////////
5:
6: /// <summary publish="true">
7: /// Word object.
8: /// </summary>
9: /// <remarks>
10: /// Copyright © 2001-2015 Jasem Y. Al-Shamlan (info@ia.com.kw), Integrated Applications - Kuwait. All Rights Reserved.
11: ///
12: /// This library is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
13: /// the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
14: ///
15: /// This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
16: /// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
17: ///
18: /// You should have received a copy of the GNU General Public License along with this library. If not, see http://www.gnu.org/licenses.
19: ///
20: /// Copyright notice: This notice may not be removed or altered from any source distribution.
21: /// </remarks>
22: public class Word
23: {
24: ////////////////////////////////////////////////////////////////////////////
25:
26: /// <summary>
27: ///
28: /// </summary>
29: public enum WordType {
30: /// <summary/>
31: Noun = 1,
32:
33: /// <summary/>
34: Verb = 2,
35:
36: /// <summary/>
37: Adjective = 3,
38:
39: /// <summary/>
40: Adverb = 4,
41:
42: /// <summary/>
43: Pronoun = 5,
44:
45: /// <summary/>
46: Connective = 6
47: }
48:
49: /// <summary/>
50: public string Id { get; set; }
51:
52: /// <summary/>
53: public WordType Type { get; set; }
54:
55: /// <summary/>
56: public Language Language { get; set; }
57:
58: /// <summary/>
59: public string Text { get; set; }
60:
61: ////////////////////////////////////////////////////////////////////////////
62:
63: /// <summary>
64: ///
65: /// </summary>
66: public Word() { }
67:
68: ////////////////////////////////////////////////////////////////////////////
69: ////////////////////////////////////////////////////////////////////////////
70: }
71:
72: ////////////////////////////////////////////////////////////////////////////
73: ////////////////////////////////////////////////////////////////////////////
74: }