Last active
October 30, 2017 19:53
-
-
Save foozlereducer/2567d40af32584830f770fced55adf40 to your computer and use it in GitHub Desktop.
NLP Front-end Object
This file contains hidden or 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
NLP={ | |
Categories: [ | |
{value:'Sports'}, | |
{value: 'Baseball'} | |
], | |
Entities: [ | |
{ | |
'value': 'People', | |
'level': 1, | |
'children': [ | |
{ | |
'value': 'Baseball Player', | |
'level': 2, | |
'children': [ | |
{'value':'Clayton Kershaw'}, {'value':'Brian McCann'}, | |
] | |
} | |
] | |
}, | |
{ | |
'value': 'Teams', | |
'level': 1, | |
'children': [ | |
{ | |
'value': 'Baseball Team', | |
'level': 2, | |
'children': [ | |
{'value': 'Los Angles Dodgers'}, {'value': 'Toronto Blue Jays'}, {'value': 'New York Yankees'}, | |
] | |
}, | |
{'value': 'Hockey Team', | |
'level': 2, | |
'children': [ | |
{'value': 'Toronto Maple Leafs'}, | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment