inesani commited on
Commit
b68f5a1
·
1 Parent(s): 700ed22

Update ner_evaluate.py

Browse files
Files changed (1) hide show
  1. ner_evaluate.py +16 -0
ner_evaluate.py CHANGED
@@ -20,11 +20,27 @@ _DESCRIPTION = """
20
  Add a very nice description!
21
  """
22
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  class Nervaluate(evaluate.Metric):
25
  def _info(self):
26
  return datasets.MetricInfo(
27
  description=_DESCRIPTION,
 
 
28
  features=datasets.Features(
29
  {
30
  "predictions": datasets.Sequence(
 
20
  Add a very nice description!
21
  """
22
 
23
+ _CITATION = """\
24
+ @misc{nereval,
25
+ title={{NER-Evaluation}: Named Entity Evaluation as in SemEval 2013 task 9.1},
26
+ url={https://github.com/davidsbatista/NER-Evaluation},
27
+ note={Software available from https://github.com/davidsbatista/NER-Evaluation},
28
+ author={Batista David},
29
+ year={2018},
30
+ }
31
+ """
32
+
33
+ # TODO: Add description of the arguments of the module here
34
+ _KWARGS_DESCRIPTION = """
35
+ Add descrition on parameters!
36
+ """
37
 
38
  class Nervaluate(evaluate.Metric):
39
  def _info(self):
40
  return datasets.MetricInfo(
41
  description=_DESCRIPTION,
42
+ citation=_CITATION,
43
+ inputs_description=_KWARGS_DESCRIPTION,
44
  features=datasets.Features(
45
  {
46
  "predictions": datasets.Sequence(