renaud / neuroNER

named entity recognizer for neuronal cells, based on UIMA Ruta rules
GNU Lesser General Public License v3.0
7 stars 8 forks source link

write more tests for neuroNER based on application to BBP/NeuroLEX cell types #28

Closed stripathy closed 9 years ago

stripathy commented 9 years ago

for example, the test below should be modified to contain the ncbi gene identifier for parvalbumin:

{
    "input" : "parvalbumin basket cell",
    "expected" : {
      "ProteinProp" : [ {
        "begin" : 0,
        "end" : 11,
        "properties" : {
          "ontologyId" : "parvalbumin"
        }
      } ],
      "Morphology" : [ {
        "begin" : 12,
        "end" : 18,
        "properties" : {
          "ontologyId" : "HBP_MORPHOLOGY:0000019"
        }
      } ],
      "Neuron" : [ {
        "begin" : 0,
        "end" : 23
      } ]
    }
  }
stripathy commented 9 years ago

@renaud to what file in the repo should I add these tests?

renaud commented 9 years ago

There is already a test, same as your json:

{
  "ProteinProp": [
    {
      "begin": 0,
      "end": 11,
      "properties": {
        "ontologyId": "NCBI_GENE:19293"
      }
    }
  ],
  "Morphology": [
    {
      "begin": 12,
      "end": 18,
      "properties": {
        "ontologyId": "HBP_MORPHOLOGY:0000019"
      }
    }
  ],
  "Neuron": [
    {
      "begin": 0,
      "end": 23
    }
  ]
}