annotation.conf 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Annotation configuration for a simple example part-of-speech and
  2. # dependency annotation task.
  3. [entities]
  4. # POS tags from Petrov et al. (2011) A universal part-of-speech tagset.
  5. # (with "PUNCT" instead of ".")
  6. # Note that an alternative representation with only a single type
  7. # (e.g. "Token") type and POS tags as attributes is also possible.
  8. ADJ
  9. ADP
  10. ADV
  11. CONJ
  12. DET
  13. NOUN
  14. NUM
  15. PRON
  16. PRT
  17. VERB
  18. X
  19. PUNCT
  20. [relations]
  21. # Dependency types and hierarchy from de Marneffe and Manning (2008)
  22. # Stanford typed dependencies manual. For simplicity, defining only
  23. # a (somewhat arbitrary) subset.
  24. # Note that any dependency is allowed between any pair of tokens
  25. # regardless of POS, which is simple to define but allows many
  26. # syntactically invalid combinations.
  27. <TOKEN>=<ENTITY>
  28. root Arg1:<TOKEN>, Arg2:<TOKEN>
  29. dep Arg1:<TOKEN>, Arg2:<TOKEN>
  30. aux Arg1:<TOKEN>, Arg2:<TOKEN>
  31. arg Arg1:<TOKEN>, Arg2:<TOKEN>
  32. comp Arg1:<TOKEN>, Arg2:<TOKEN>
  33. obj Arg1:<TOKEN>, Arg2:<TOKEN>
  34. subj Arg1:<TOKEN>, Arg2:<TOKEN>
  35. cc Arg1:<TOKEN>, Arg2:<TOKEN>
  36. conj Arg1:<TOKEN>, Arg2:<TOKEN>
  37. expl Arg1:<TOKEN>, Arg2:<TOKEN>
  38. mod Arg1:<TOKEN>, Arg2:<TOKEN>
  39. amod Arg1:<TOKEN>, Arg2:<TOKEN>
  40. det Arg1:<TOKEN>, Arg2:<TOKEN>
  41. nn Arg1:<TOKEN>, Arg2:<TOKEN>
  42. num Arg1:<TOKEN>, Arg2:<TOKEN>
  43. prep Arg1:<TOKEN>, Arg2:<TOKEN>
  44. punct Arg1:<TOKEN>, Arg2:<TOKEN>
  45. [attributes]
  46. [events]
  47. # none defined