Git Product home page Git Product logo

annotador's Introduction

Añotador: Temporal Tagging service for Spanish and English

Demo

Please visit the demo (just for Spanish) in https://annotador.oeg.fi.upm.es/

For documentation on the code, please visit https://mnavasloro.github.io/Annotador/

CURL/Postman

Here is also a curl example:

curl --location --request POST 'https://annotador.oeg.fi.upm.es/annotate' \

--header 'Content-Type: application/json;charset=utf-8' \

--data-raw '{

"inputText": "—Todos ustedes, Zombies— en el año dos mil narra la crónica de un hombre joven.",

"inputDate": "",

"domain": "standard",

"lan": "es" }'

The structure of the expected json is the following:

{

"inputText": String with the text to tag,

"inputDate": (optional) Date of reference YYYY-MM-DD,

"domain": (optional) domain of the text, among "Standard" (default) or "Legal",

"lan": (optional) language, "es" (Spanish, default) or "en" (English),

"format": (optiona) "timex3" (default) or "json"

}

You will find more examples in the postman collection: https://www.getpostman.com/collections/3a2492f833535edf39b1

Docker

To deploy locally using Docker:

Other interesting commands to keep at hand:

  • docker run --rm -p8080:8080 --name "annotadorCTR" -it annotador bash (so you get to the container as bash,and you can run ls or other helpful programs)
  • docker rm annotadorCTR (to delete)
  • docker ps (-a) -> to see the containers (with -a it shows also the ones down)
  • docker images -> to display the images
  • Measure-Command {docker build -t annotador . | Write-Host} -> to measure the execution time

annotador's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.