Open stripathy opened 9 years ago
We discussed this earlier - the only way to do this would be with sentence level parsing...
related to #35
It mostly works, except the individual proteins:
{
"ProteinProp": [
{
"begin": 5,
"end": 49,
"properties": {
"ontologyId": "NCBI_GENE:12308"
}
},
{
"begin": 18,
"end": 72,
"properties": {
"ontologyId": "NCBI_GENE:18125"
}
},
{
"begin": 18,
"end": 72,
"properties": {
"ontologyId": "NCBI_GENE:18126"
}
},
{
"begin": 55,
"end": 72,
"properties": {
"ontologyId": "NCBI_GENE:19699"
}
}
],
"ProteinTrigger": [
{
"begin": 62,
"end": 72
}
],
"Function": [
{
"begin": 18,
"end": 26
}
],
"Neuron": [
{
"begin": 5,
"end": 78
}
]
}
Example where someone uses [protein], [protein], [protein] [protein trigger] [neuron trigger]
The full sentence: Immunoreactivity was present in calretinin-, neuronal nitric oxide synthase-, and reelin-expressing cells, as well as in subsets of cholecystokinin- or calbindin-expressing or radiatum-retrohippocampally projecting GABAergic cells, but not in parvalbumin- and/or somatostatin-expressing interneurons.