Giter Site home page Giter Site logo

tokenizerapi's Introduction

Tokenizer API

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

Getting started

Running ./run.sh will build and run the docker container

API calls

All the API calls use post and input/outputs are in a json format, following the specification from elg.

HTTP METHOD Description
/tokenizer Takes in text and splits them up into tokens

Testing

In the test folder, basic scripts for testing the functionality of the API can be found .

Testing ELG

For testing if the ELG specifications are being met, you must specify which API you want to test in the .env file. Then you run docker-compose up and submit the API calls to localhost:8080/process/service.

Funding

This ELG API was developed by the Language and Voice Lab at Reykjavík University in EU's CEF project: Microservices at your service.

European Language Grid

The docker image is hosted here and is running on the European Language grid as ELG API for Icelandic Tokenizer.

Underlying tool

The underlying tokenizer is Tokenizer by Miðeind, which is licensed under this MIT license. The ELG API implementation imports the corresponding PyPi package.

tokenizerapi's People

Contributors

glaciersg avatar hrafnl 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.