Skip to content

cadia-lvl/POS_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

POS API

This is an API for POS using the ELG specification. The API is wrapped in a docker container and is implemented using fastapi.

Getting started

make build
make run

API calls

All the API calls use post and input/outputs are in a json format. Further details about the api calls are automatically generated when the container is run and can be found in /docs or /redoc

HTTP METHOD Description
/tagger Takes in icelandic text and returns that text along with pos tags for each token in that text

Testing

test files can be found in tests/. There are two tests that can be performed.

  1. Normal api tests: this is where you test the api from the running docker image
  2. ELG api tests: this is where you run docker-compose up and get an instance as if you where running the docker image on ELG. To submit a api call you then need to send a post request to /process/service.

Acknowledgements

Reykjavik University

This ELG API was developed in EU's CEF project: Microservices at your service

Underlying tools

The underlying tool is POS by Haukur Páll Jónsson, Örvar Kárason and Steinþór Steingrímsson, which is licensed under this Apache License 2.0. POS is pip installed from a GitHub repository when the POS_API docker image is built.

The Tokenizer PyPi package is pip installed when the docker image is built. This tool was developed by Miðeind and is licensed under this MIT license. The ELG API implementation imports this PyPi package.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published