Sign inSign up

lingsoft/heli-ots

By lingsoft

•Updated almost 4 years ago

ELG compatible HeLI off-the-shelf language identifier with language models for 200 languages.

Image
0

217

lingsoft/heli-ots repository overview

⁠ELG API for HeLI-OTS

ELG compatible⁠ HeLI-OTS language identifier for 200 languages.

⁠Deploying the service

docker run -d -p 8080:8080 heli-ots:<tagname>

⁠Usage

Note that request and response structures have been changed starting from version 1.4. More information from GitHub page⁠. Instructions for old version 1.3 can be found here⁠.

curl -H "Content-Type: application/json" -d @sample.json http://localhost:8080/process

sample.json

{
    "type": "text",
    "content": "Hello, world!",
    "params": {
        "nbest": 2,
        "languages": ["fin","swe","eng"]
    }
}

Parameters are optional, and can be used to change the number of top languages or to restrict the language set.

  • nbest (integer, default=5)
  • languages (list of strings, default=all languages). Use ISO 639-3 language codes.

⁠Authors

⁠HeLI-OTS

The original HeLI-OTS code is published under the Apache Licence version 2.0, and is copyright Tommi Jauhiainen and Heidi Jauhiainen, University of Helsinki (2022). The language models are released under CC-BY-4.0. Citation information is available at Zenodo⁠.

⁠HeLI Language Identifier for ELG

The modifications to make HeLI usable as a library and the Micronaut application itself are by Ian Roberts⁠ and are released under the same Apache Licence 2.0.

⁠ELG API integration

The ELG API was developed by Lingsoft⁠ as part of the Connecting Europe Facility (CEF) project Microservices at your service: bridging the gap between NLP research and industry⁠

⁠License

Apache 2.0

Tag summary

Content type

Image

Digest

sha256:ea1ae0b4b…

Size

462.7 MB

Last updated

almost 4 years ago

docker pull lingsoft/heli-ots:1.4.0-elg