File size: 1,128 Bytes
21baa2f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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

'''
Created on ٢٨‏/٠٤‏/٢٠١٠

@Created by: Muhammad Altabba
'''

from ...Lexicon.RootAndPatterns.Root import *;
from ...Tagging.POSTags.CliticlessPOS import *;



class VoweledPattern(object):
    """
     # PyUML: Do not remove this line! # XMI_ID:_qz4WPI35Ed-gg8GOK1TmhA
    """
    '''
    classdocs
    '''
    
    ID = 0;
    
    VoweledForm = '';
    
    CanonicForm = '';
    
    POS = CliticlessPOS();
    
    def __init__(self, id = 0, voweledForm = '', canonicForm = '', mainClass = 0, gender = 0, count = 0, inflectionState = 0):
        '''
        Constructor
        '''
        
        self.ID = id;        
        self.VoweledForm = voweledForm;        
        self.CanonicForm = canonicForm;        
        self.MainClass = mainClass;               
        self.Gender = gender;        
        self.Count = count;        
        self.InflectionState = inflectionState;     
        
        self.POS = CliticlessPOS();
        pass
    
    def SetAttributeFromBinaryPOS(self, binaryPOS):
        self.BinaryPOS = binaryPOS;
        raise Exception('Not Implemented');
        pass