{"id":15521090,"url":"https://github.com/sammous/melt-container","last_synced_at":"2026-05-01T10:31:22.411Z","repository":{"id":147330350,"uuid":"126986986","full_name":"sammous/MElt-container","owner":"sammous","description":"Repository for a MElt microservice with Docker","archived":false,"fork":false,"pushed_at":"2019-01-09T04:08:13.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-28T20:14:51.724Z","etag":null,"topics":["docker-container","melt","part-of-speech-tagger","tagger"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sammous.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-27T13:01:24.000Z","updated_at":"2019-01-09T04:08:15.000Z","dependencies_parsed_at":"2023-04-19T14:48:02.319Z","dependency_job_id":null,"html_url":"https://github.com/sammous/MElt-container","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sammous/MElt-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammous%2FMElt-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammous%2FMElt-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammous%2FMElt-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammous%2FMElt-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sammous","download_url":"https://codeload.github.com/sammous/MElt-container/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sammous%2FMElt-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker-container","melt","part-of-speech-tagger","tagger"],"created_at":"2024-10-02T10:32:17.941Z","updated_at":"2026-05-01T10:31:22.393Z","avatar_url":"https://github.com/sammous.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## MElt\n\nMElt is a freely available (LGPL) state-of-the-art sequence labeller that is meant to be trained on both an annotated corpus and an external lexicon. It was initially developed by Pascal Denis and Benoît Sagot. Recent evolutions have been carried out by Benoît Sagot. MElt allows for using multiclass Maximum-Entropy Markov models (MEMMs) or multiclass perceptrons (multitrons) as underlying statistical devices. Its output is in the Brown format (one sentence per line, each sentence being a space-separated sequence of annotated words in the word/tag format).\n\n## MElt Docker container\n\nThis repository provides a way to contain in a docker container the tool MElt for French Part of Speech tagging.\n\n## Installation\n\nTo build the image, run the following command :\n\n``` \nsudo docker build -t melt -f Dockerfile .\n```\n\nTo run a container :\n\n```\nsudo docker run --name melt -d -p 5000:5000 -it melt\n```\n\nThe listening will be by default 5000.\n\n## Testing\n\nTo test your setup, you can try to `POST` data directly via CLI.\n```\ncurl -H \"Content-Type: application/json\" \\\n-X POST \\\n-d '{\"data\":\"Il fait beau dehors. Mais Paris est trop petit pour pouvoir en profiter, et surtout trop cher\"}' \\\nhttp://localhost:5000/pos_and_tokenize\n```\n\nOr via the library `requests` :\n\n```python\nr = requests.post('http://localhost:5000/pos_and_tokenize',\njson={'data': \"Il fait beau dehors. Mais Paris est trop petit pour pouvoir en profiter, et surtout trop cher\"},\nheaders={'Content-Type':'application/json', 'charset': 'utf-8'})\nprint(r.content)\n```\n\nYou should get the output :\n\n```\nIl/CLS fait/V beau/ADJ dehors/ADV ./PONCT\nMais/CC Paris/NPP est/V trop/ADV petit/ADJ pour/P pouvoir/VINF en/CLO profiter/VINF ,/PONCT et/CC surtout/ADV trop/ADV cher/ADJ\n```\n\n## API Specifications\n\nTo interact with the API, you need to `POST` your content in a `JSON` format.\n\n| HTTP METHOD | POST |\n| ------------| ---- |\n| /pos_and_tokenize | Tokenize and POS tagging |\n| /tokenize | Only tokenize |\n| /lemma | Lemmatization |\n\n## Tagset\n\nTag table:\n\n```\nADJ \t   adjective\nADJWH\t   interrogative adjective\nADV\t   adverb\nADVWH\t   interrogative adverb\nCC\t   coordination conjunction\nCLO\t   object clitic pronoun\nCLR\t   reflexive clitic pronoun\nCLS\t   subject clitic pronoun\nCS\t   subordination conjunction\nDET\t   determiner\nDETWH\t   interrogative determiner\nET\t   foreign word\nI\t   interjection\nNC\t   common noun\nNPP\t   proper noun\nP\t   preposition\nP+D\t   preposition+determiner amalgam\nP+PRO\t   prepositon+pronoun amalgam\nPONCT\t   punctuation mark\nPREF\t   prefix\nPRO\t   full pronoun\nPROREL\t   relative pronoun\nPROWH\t   interrogative pronoun\nV\t   indicative or conditional verb form\nVIMP\t   imperative verb form\nVINF\t   infinitive verb form\nVPP\t   past participle\nVPR\t   present participle\nVS\t   subjunctive verb form\n```\n\n## Credits\n\n- Sagot Benoît et Fišer Darja (2008). Building a free French wordnet from multilingual resources. In Ontolex 2008, Marrakech, Maroc\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammous%2Fmelt-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsammous%2Fmelt-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsammous%2Fmelt-container/lists"}