Skip to content

dehisre01/bronner-heideltime-annotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bronner-time-annotations

This module uses the time annotation tool "HeidelTime" to annotate temporal expressions in narrative texts. Input- and outputformat are TEI-XML. It filters and refines the generated annotations using RegEx patterns to better fit our specific text, which is an early 19th century German travelogue by Franz Xaver Bronner. It makes use of py-heideltime python_wrapper of HeidelTime and standoffconverter to facilitate the TEI-XML file(s).

Usage

Navigate to the folder bronner-heideltime-annotation.

Install the requirements by run the following command in your terminal:

pip install -r requirements.txt

Create a folder called data at the toplevel of the bronner-heideltime-annotation directory and place all the XML files you'd like to annotate there. Start the main.py script by typing the following command in your console:

python3 main.py

The annotated XML files should be saved in the data folder in the following format: name_of_your_file_timeparsed.xml.

HeidelTime

Project Homepage: https://dbs.ifi.uni-heidelberg.de/research/heideltime/

GitHub: https://github.com/HeidelTime/heideltime

py-heideltime

https://github.com/hmosousa/py_heideltime

standoffconverter

https://github.com/standoff-nlp/standoffconverter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages