tools.conf 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. [options]
  2. # Possible values for validate:
  3. # - all: perform full validation
  4. # - none: don't perform any validation
  5. Validation validate:all
  6. # Possible values for tokenizer
  7. # - ptblike: emulate Penn Treebank tokenization
  8. # - mecab: perform Japanese tokenization using MeCab
  9. # - whitespace: split by whitespace characters in source text (only)
  10. Tokens tokenizer:whitespace
  11. # Possible values for splitter:
  12. # - regex : regular expression-based sentence splitting
  13. # - newline: split by newline characters in source text (only)
  14. Sentences splitter:regex
  15. # Possible values for logfile:
  16. # - <NONE> : no annotation logging
  17. # - NAME : log into file NAME (e.g. "/home/brat/annotation.log")
  18. Annotation-log logfile:<NONE>
  19. [search]
  20. # Search option configuration. Configured queries will be available in
  21. # text span annotation dialogs. When selected on the UI, these open
  22. # the given URL ("<URL>") with the string "%s" replaced with the
  23. # selected text span.
  24. Google <URL>:http://www.google.com/search?q=%s
  25. Wikipedia <URL>:http://en.wikipedia.org/wiki/Special:Search?search=%s
  26. [annotators]
  27. # Automatic annotation service configuration. The values of "tool" and
  28. # "model" are required for the UI, and "<URL>" should be filled with
  29. # the URL of the web service. See the brat documentation for more
  30. # information.
  31. # Examples:
  32. # Random tool:Random, model:Random, <URL>:http://localhost:47111/
  33. # Stanford-CoNLL-MUC tool:Stanford_NER, model:CoNLL+MUC, <URL>:http://127.0.0.1:47111/
  34. # NERtagger-GENIA tool:NERtagger, model:GENIA, <URL>:http://example.com:8080/tagger/
  35. [disambiguators]
  36. # Automatic semantic disambiguation service configuration. The values
  37. # of "tool" and "model" are required for the UI, and "<URL>" should be
  38. # filled with the URL of the web service. See the brat documentation
  39. # for more information.
  40. # Example:
  41. # simsem-GENIA tool:simsem, model:GENIA, <URL>:http://example.com:8080/tagger/%s
  42. [normalization]
  43. # Configuration for normalization against external resources. The
  44. # resource name (first field of each line) should match that of a
  45. # normalization DB on the brat server (see tools/norm_db_init.py),
  46. # "<URL>" should be filled with the URL of the resource (preferably
  47. # one providing a serach interface), and "<URLBASE>" should be a
  48. # string containing "%s" that, when replacing "%s" with an ID in
  49. # the external resource, becomes a link to a page representing
  50. # the entry corresponding to the ID in that resource.
  51. # Example
  52. #UniProt <URL>:http://www.uniprot.org/, <URLBASE>:http://www.uniprot.org/uniprot/%s
  53. #GO <URL>:http://www.geneontology.org/, <URLBASE>:http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:%s
  54. #FMA <URL>:http://fme.biostr.washington.edu/FME/index.html, <URLBASE>:http://www.ebi.ac.uk/ontology-lookup/browse.do?ontName=FMA&termId=FMA:%s
  55. #Wikipedia <URL>:http://en.wikipedia.org, <URLBASE>:http://en.wikipedia.org/?curid=%s