{"id":25131812,"url":"https://github.com/jaycollett/hass_nemo","last_synced_at":"2026-02-17T03:34:47.790Z","repository":{"id":271820763,"uuid":"914666990","full_name":"jaycollett/hass_nemo","owner":"jaycollett","description":"Simple Python Docker exposing an API using Nemo to perform text normalization using NVidia NeMo framework.","archived":false,"fork":false,"pushed_at":"2025-01-15T15:41:15.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-11T19:39:56.063Z","etag":null,"topics":["ai","homeassistant","nemo","piper-tts","textnormalizer","tts"],"latest_commit_sha":null,"homepage":"","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/jaycollett.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,"zenodo":null}},"created_at":"2025-01-10T04:00:54.000Z","updated_at":"2025-08-22T06:11:23.000Z","dependencies_parsed_at":"2025-04-23T20:43:38.249Z","dependency_job_id":"8deda23c-ec29-4dcc-a5bd-acea4c8cebc2","html_url":"https://github.com/jaycollett/hass_nemo","commit_stats":null,"previous_names":["jaycollett/hass_nemo"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jaycollett/hass_nemo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaycollett%2Fhass_nemo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaycollett%2Fhass_nemo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaycollett%2Fhass_nemo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaycollett%2Fhass_nemo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaycollett","download_url":"https://codeload.github.com/jaycollett/hass_nemo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaycollett%2Fhass_nemo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29532437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T03:01:11.216Z","status":"ssl_error","status_checked_at":"2026-02-17T03:00:31.803Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ai","homeassistant","nemo","piper-tts","textnormalizer","tts"],"created_at":"2025-02-08T14:14:37.427Z","updated_at":"2026-02-17T03:34:47.759Z","avatar_url":"https://github.com/jaycollett.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n  \n# hass_nemo\n[![s.io/github/v/GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/jaycollett/hass_nemo?include_prereleases)](https://img.shields.io/github/v/release/jaycollett/hass_nemo?include_prereleases)\n[![GitHub last commit](https://img.shields.io/github/last-commit/jaycollett/hass_nemo)](https://img.shields.io/github/last-commit/jaycollett/hass_nemo)\n[![GitHub issues](https://img.shields.io/github/issues-raw/jaycollett/hass_nemo)](https://img.shields.io/github/issues-raw/jaycollett/hass_nemo)\n[![GitHub pull requests](https://img.shields.io/github/issues-pr/jaycollett/hass_nemo)](https://img.shields.io/github/issues-pr/jaycollett/hass_nemo)\n[![GitHub](https://img.shields.io/github/license/jaycollett/hass_nemo)](https://img.shields.io/github/license/jaycollett/hass_nemo)\n\n  \n\nI built this Docker image to run the NVidia NeMo Framework. This framework has all sorts of interesting features, but I'm explicitly interested in the TN (Text Normalization) feature, which I plan to use with Home Assistant and my Piper TTS integration as part of my text pre-processing pipeline. The image is large but runs incredibly fast with NVidia GPU support (or without GPUs).\n\n  \n\n**Docker CLI:**\n\n    docker run --gpus all -dit \\\n    -p 5000:5000 \\\n    -e LANG_TO_USE=it \\\n    --ipc=host --ulimit memlock=-1 \\\n    --ulimit stack=67108864 \\\n    ghcr.io/jaycollett/hass_nemo:latest\n\n\n**Docker environment varible options ( -e ):**\n| Varible Name    | Description of use |\n| -------- | ------- |\n| LANG_TO_USE  | Language to leverage for TN. Refer to the [Nemo documentation](https://docs.nvidia.com/nemo-framework/user-guide/latest/nemotoolkit/nlp/text_normalization/wfst/wfst_text_normalization.html#language-support-matrix) for supported langauges. *(Default: en)*  |\n| INPUT_CASE | Accept either \"lower_cased\" or \"cased\" input. *(Default: cased)*     |\n| PUNCT_POST_PROCESS    | Whether to normalize punctuation for post-processing. *(Default: True)*    |\n| PUNCT_PRE_PROCESS    | Whether to normalize punctuation for pre-processing. *(Default: True)*    |\n| VERBOSE_LOGGING    | More verbose output for normalize function. *(Default: False)*    |\n\n**Example rest command (ensure rest commands are enabled in HA):**\n\n    normalize_text:\n      url: \"http://\u003cYOUR API IP HERE\u003e:5000/normalize\"\n      method: POST\n      headers:\n        Content-Type: application/json\n      payload: '{\"text\": \"{{ text | replace(\"\\n\", \" \") | replace(\"\\\"\", \"\\\\\\\"\") }}\"}'\n      timeout: 5 # Timeout in seconds\n\n**Use the rest command in an automation (portion of an automation below):**\n\n      # Step 2: Call the API and process the response\n      - action: rest_command.normalize_text\n        response_variable: normalized_response\n        data:\n          text: \"{{ message }}\"\n    \n      # Step 3: Check if the API response was successful\n      - if: \"{{ normalized_response['status'] == 200 }}\"\n        then:\n          # Step 4: Log the normalized text\n          - service: logbook.log\n            data:\n              name: \"Weather Report\"\n              message: \u003e\n                Normalized Text: {{ normalized_response['content']['normalized_text'] }}\n    \n          # Step 5: Play the normalized text using Piper TTS\n          - service: media_player.play_media\n            data:\n              entity_id:\n                - media_player.\u003cYOURSPEKAER\u003e\n              media_content_id: \u003e\n                media-source://tts/tts.piper?message={{ normalized_response['content']['normalized_text'] }}\"\n              media_content_type: \"music\"\n              announce: true\n              extra:\n                volume_level: \"{{ volume_level }}\"\n        else:\n          # Handle API error\n          - service: logbook.log\n            data:\n              name: \"Weather Report\"\n              message: \u003e\n                Failed to normalize text. Status: {{ normalized_response['status'] }}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaycollett%2Fhass_nemo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaycollett%2Fhass_nemo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaycollett%2Fhass_nemo/lists"}