{"id":21917656,"url":"https://github.com/emilstenstrom/syntaxnet-api","last_synced_at":"2026-05-11T02:13:50.187Z","repository":{"id":66050263,"uuid":"147080619","full_name":"EmilStenstrom/syntaxnet-api","owner":"EmilStenstrom","description":"A Dockerfile that helps you get Syntaxnet DRAGNN working, with a json api powered by falcon.","archived":false,"fork":false,"pushed_at":"2018-09-02T17:47:26.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-27T09:42:30.897Z","etag":null,"topics":["docker","dragnn","falcon-framework","syntaxnet","tensorflow"],"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/EmilStenstrom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-09-02T11:53:18.000Z","updated_at":"2018-09-02T17:47:27.000Z","dependencies_parsed_at":"2023-04-17T17:53:05.836Z","dependency_job_id":null,"html_url":"https://github.com/EmilStenstrom/syntaxnet-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilStenstrom%2Fsyntaxnet-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilStenstrom%2Fsyntaxnet-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilStenstrom%2Fsyntaxnet-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EmilStenstrom%2Fsyntaxnet-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EmilStenstrom","download_url":"https://codeload.github.com/EmilStenstrom/syntaxnet-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244937742,"owners_count":20535124,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","dragnn","falcon-framework","syntaxnet","tensorflow"],"created_at":"2024-11-28T19:39:21.844Z","updated_at":"2026-05-11T02:13:45.160Z","avatar_url":"https://github.com/EmilStenstrom.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"A Dockerfile that helps you get Syntaxnet DRAGNN working, with a json api powered by falcon.\n\nHere's how you get everything running:\n\n1. **Download the pretrained model files**\n\n    Download this file from Google Drive:\n    https://drive.google.com/uc?id=0BxpbZGYVZsEeSFdrUnBNMUp1YzQ\u0026export=download\n\n    Unzip it into a directory where you want your model stored.\n\n2. **Start the server**\n\n    Save this to a file called `rebuild-and-run.sh`, changing things to fit your environment (see below):\n\n    ```bash\n    #!/bin/bash\n    docker build --rm -t syntaxnet-api -f Dockerfile .\n\n    # :ro at the end of -v makes volume read-only\n    docker run --rm -p 8000:80 -v ~/Projects/conll17-dragnn/:/usr/local/tfmodels:ro -e LANGUAGE=\"Swedish\" syntaxnet-api\n    ```\n\n    * **syntaxnet-api** is the name of the container\n    * **8000** is the port where the API will be exposed\n    * **~/Projects/conll17-dragnn/** is the directory where you unziped the model files\n    * **/usr/local/tfmodels** is the directory inside the container (don't change this)\n    * **-e LANGUAGE=\"Swedish\"** is the name of the directory where the files for your language resides\n\n    Make it runnable: `chmod +x rebuild-and-run.sh`\n\n    Now run it: `./rebuild-and-run.sh`\n\n    This will start a falcon server that runs on port 8000.\n\n3. **Use the API**\n\n    The API can be used from any program that can send HTTP requests and parse JSON. Here's how you would send data to it using plain curl from the command line:\n\n    ```bash\n    curl -i -XPOST --data-urlencode \"data=Detta är en mening.\" http://localhost:8000 \u0026\u0026 echo \"\"\n    ```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilstenstrom%2Fsyntaxnet-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilstenstrom%2Fsyntaxnet-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilstenstrom%2Fsyntaxnet-api/lists"}