How to use it
Añotador takes a text or a json as an input and returns it as a JSON or a TimeML document.
The system only needs a text, but you can also provide the date to anchor (this means that if it finds “tomorrow” with “2019-10-20”, it will consider that its value is “2019-10-21”; if not provided, it considers the present day as anchor) and the language (default is Spanish). The system annotates text following the TimeML standard, this is, using some “TIMEX3” tags like in the following examples:
Hoy es 3 de octubre
Trabajamos <TIMEX3 tid="t1" type="SET" value="P1W" freq="02X">dos veces a la semana</TIMEX3>
Trabajamos dos veces a la semana
Today is 3 of October
We work <TIMEX3 tid="t1" type="SET" value="P1W" freq="02X">twice a week</TIMEX3>
We work twice a week
Añotador is written in Java and available in several ways, detailed below. Please report any problem or question you have via GitHub issues or directly by email to email@example.com
Where to find it
Añotador is available in GitHub as a Java Maven project. To use it, just clone the repository and exececute as follows:
git clone https://github.com/mnavasloro/Annotador
mvn clean install
Go to GitHub
Añotador can be deployed as a Docker image. Please go the GitHub to further information.
Go to GitHub
There is a webapp of Añotador were you can send a request. You can also the following Postman collection with requests in Spanish and English as a first example.
Go to Postman collection
Añotador will be soon available as a Swagger Rest service!
Añotador will be soon available as a Maven dependency library!