-
-
Save sebilasse/026734b33b9a1c45c46efffa95d4d783 to your computer and use it in GitHub Desktop.
categories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export const codemap: HumanValues = { | |
'ABBR:abb': {category: 'acronym', intent: 'acronyms'}, | |
'ABBR:exp': {category: 'expression', intent: 'acronyms'}, | |
'DESC:def': {category: 'definition', intent: 'text'}, | |
'DESC:desc': {category: 'description', intent: 'text'}, | |
'DESC:manner': {category: 'manner', intent: 'text'}, | |
'DESC:reason': {category: 'reason', intent: 'text'}, | |
'HUM:desc': {category: 'description', intent: 'people'}, | |
'HUM:gr': {category: 'organization', intent: 'people'}, | |
'HUM:ind': {category: 'person', intent: 'people'}, | |
'HUM:title': {category: 'title', intent: 'people'}, | |
'LOC:city': {category: 'city', intent: 'places'}, | |
'LOC:country': {category: 'country', intent: 'places'}, | |
'LOC:mount': {category: 'mountain', intent: 'places'}, | |
'LOC:state': {category: 'state', intent: 'places'}, | |
'LOC:other': {category: 'other', intent: 'places'}, //- TODO Demonyms | |
'NUM:code': {category: 'code', intent: 'values'}, | |
'NUM:count': {category: 'count', intent: 'values'}, | |
'NUM:date': {category: 'date', intent: 'values'}, | |
'NUM:dist': {category: 'distance', intent: 'values'}, | |
'NUM:money': {category: 'price', intent: 'values'}, | |
'NUM:perc': {category: 'percentage', intent: 'values'}, | |
'NUM:period': {category: 'period', intent: 'values'}, | |
'NUM:speed': {category: 'speed', intent: 'values'}, | |
'NUM:temp': {category: 'temperature', intent: 'values'}, | |
'NUM:time': {category: 'time', intent: 'values'}, | |
'NUM:volsize': {category: 'volumeAreaSize', intent: 'values'}, | |
'NUM:weight': {category: 'weight', intent: 'values'}, | |
'NUM:other': {category: 'other', intent: 'values'}, //- TODO check metric | |
'ENTY:animal': {category: 'animal', intent: 'topics'}, | |
'ENTY:color': {category: 'color', intent: 'topics'}, | |
'ENTY:cremat': {category: 'creative', intent: 'topics'}, | |
'ENTY:dismed': {category: 'medicine', intent: 'topics'}, | |
'ENTY:food': {category: 'food', intent: 'topics'}, | |
'ENTY:instru': {category: 'musicalInstrument', intent: 'topics'}, | |
'ENTY:lang': {category: 'language', intent: 'topics'}, | |
'ENTY:letter': {category: 'alphabeticCharacter', intent: 'topics'}, | |
'ENTY:other': {category: 'other', intent: 'topics'}, | |
'ENTY:plant': {category: 'botany', intent: 'topics'}, | |
'ENTY:product': {category: 'product', intent: 'topics'}, | |
'ENTY:religion': {category: 'religion', intent: 'topics'}, | |
'ENTY:sport': {category: 'sport', intent: 'topics'}, | |
'ENTY:substance': {category: 'substance', intent: 'topics'}, | |
'ENTY:termeq': {category: 'equivalentTerm', intent: 'topics'}, | |
'ENTY:techmeth': {category: 'method', intent: 'topics'}, | |
'ENTY:word': {category: 'specialWord', intent: 'topics'}, | |
'ENTY:event': {category: 'event', intent: 'topics'} | |
/* TODO | |
-'Enty:body': {category: 'body', intent: 'topics'}, | |
-'Enty:vehicle': {category: 'vehicle', intent: 'topics'}, | |
-'Enty:currency'currency', intent: 'topics'}, | |
-'Enty:symbol': {category: 'symbol | |
*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment