Skip to content

bethard/anaforatools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

anaforatools

The anaforatools project provides utilities for working with Anafora annotations including:

  • anafora.validate - checks Anafora XML files for syntactic and semantic errors
  • anafora.evaluate - compares two sets of Anafora XML files in terms of precision, recall, etc.
  • anafora.regex - trains and applies simple regular expression models from Anafora XML files
  • anafora.copy_text - copies text into Anafora directory structure
  • anafora.labelstudio - converts Anafora schemas and data files into Label Studio schemas and data files

For details on the command line interfaces to these modules, use the --help argument. For example:

$ python -m anafora.validate --help

Requirements:

  • Python 3.6 or later
  • Python regex module