-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlist.py
5 lines (4 loc) · 1 KB
/
list.py
1
2
3
4
5
wmap = {0:'CC',1:'CD',2:'DT',3:'EX',4:'FW',5:'IN',6:'JJ',7:'JJR',8:'JJS',9:'LS',10:'MD',11:'NN',12:'NNS',13:'NNP',14:'NNPS',15:'PDT',16:'POS',17:'PRP',18:'PP$',19:'RB',20:'RBR',21:'RBS',22:'RP',23:'SYM',24:'TO',25:'UH',26:'VB',27:'VBD',28:'VBG',29:'VBN',30:'VBP',31:'VBZ',32:'WDT',33:'WP',34:'WP$',35:'WRB',36:'#',37:'$',38:'.',39:',',40:':',41:'(',42:')',43:'"'}
smap = {0:'ADJP',1:'ADVP',2:'NP',3:'PP',4:'S',5:'SBAR',6:'SBARQ',7:'SINV',8:'SQ',9:'VP',10:'WHADVP',11:'WHNP',12:'WHPP',13:'X',14:'*',15:'0',16:'T'}
wmap1 = {'CC':0,'CD':1,'DT':2,'EX':3,'FW':4,'IN':5,'JJ':6,'JJR':7,'JJS':8,'LS':9,'MD':10,'NN':11,'NNS':12,'NNP':13,'NNPS':14,'PDT':15,'POS':16,'PRP':17,'PP$':18,'RB':19,'RBR':20,'RBS':21,'RP':22,'SYM':23,'TO':24,'UH':25,'VB':26,'VBD':27,'VBG':28,'VBN':29,'VBP':30,'VBZ':31,'WDT':32,'WP':33,'WP$':34,'WRB':35,'#':36,'$':37,'.':38,',':39,':':40,'(':41,')':42,'"':43}
smap1 = {'ADJP':0,'ADVP':1,'NP':2,'PP':3,'S':4,'SBAR':5,'SBARQ':6,'SINV':7,'SQ':8,'VP':9,'WHADVP':10,'WHNP':11,'WHPP':12,'X':13,'*':14,'0':15,'T':16}