compromise
Version:
natural language processing in the browser
56 lines (54 loc) • 764 B
JavaScript
//most nouns do not nead to be listed
//for whatever reasons, these look like not-nouns
//so make sure they become nouns
module.exports = [
//double-consonant rule
'egg',
'bottle',
'cottage',
'kitty',
'doggy',
'ad hominem',
'banking',
'body',
'breakfast',
'ceiling',
'city',
'credit card',
'death',
'dinner',
'door',
'economy',
'energy',
'event',
'everything',
'example',
'fl oz',
'friend',
'funding',
'god',
'grand slam',
'head start',
'home',
'house',
'lunch',
'nothing',
'number',
'others',
'part',
'patent',
'problem',
'purpose',
'room',
'student',
'stuff',
'super bowl',
'system',
'there',
'thing',
'things',
'tragedy',
'us dollar',
'world',
'world series'
];