{"id":16661275,"url":"https://github.com/willbasky/sentencer","last_synced_at":"2025-07-25T20:37:21.354Z","repository":{"id":177099157,"uuid":"655040216","full_name":"willbasky/sentencer","owner":"willbasky","description":"Utility to translate text to source/target format for eace sentence. In several languages just for educational purposes.","archived":false,"fork":false,"pushed_at":"2023-08-04T01:18:53.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T21:17:26.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/willbasky.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":"2023-06-17T17:37:27.000Z","updated_at":"2023-07-23T03:43:03.000Z","dependencies_parsed_at":"2024-11-20T13:32:44.751Z","dependency_job_id":null,"html_url":"https://github.com/willbasky/sentencer","commit_stats":null,"previous_names":["willbasky/sentencer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/willbasky/sentencer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fsentencer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fsentencer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fsentencer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fsentencer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/willbasky","download_url":"https://codeload.github.com/willbasky/sentencer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/willbasky%2Fsentencer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267057913,"owners_count":24028926,"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","status":"online","status_checked_at":"2025-07-25T02:00:09.625Z","response_time":70,"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":[],"created_at":"2024-10-12T10:34:23.162Z","updated_at":"2025-07-25T20:37:21.306Z","avatar_url":"https://github.com/willbasky.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sentencer\n\nUtility to translate each sentence of a text to source/target\nIt use [translate-shell](https://github.com/soimort/translate-shell) under hood to communicate with Google Translate Api.\n\n## Example\n\n[Input](./content/sample_tren.txt):\n```text\nTREN De Alejandro Dolina\n(del libro Bar del Infierno)\n”El tren pasa solo dos veces por año. Llega a la madrugada y se detiene apeas unos segundos. Es un tren enorme, más largo que la distancia entre las estaciones: cuando los primeros vagones llegan a un pueblo, los últimos aún están en el anterior.\n```\n[Output](./content/hs_result_tren.txt):\n```text\nTREN De Alejandro Dolina\nПОЕЗД Алехандро Долина\n\n(del libro Bar del Infierno)\n(из книги Адский бар)\n\n”El tren pasa solo dos veces por año.\n«Поезд ходит только два раза в год.\n\nLlega a la madrugada y se detiene apeas unos segundos.\nОн прибывает на рассвете и останавливается всего на несколько секунд.\n\nEs un tren enorme, más largo que la distancia entre las estaciones: cuando los primeros vagones llegan a un pueblo, los últimos aún están en el anterior.\nЭто огромный поезд, длиннее, чем расстояние между станциями: когда первые вагоны прибывают в город, последние еще остаются в предыдущем.\n```\n\n## How to use\n\n1. Modify [config file](content.toml) directory of input file and name of file.\n   The configuration via Toml implemented for Haskell, Go and Rust versions.\n   The paths in other languages hardcoded in sources.\n\n2. Run language-specific command:\n\n- Haskell\n\n```shell\nstuck run\n```\n\n- PureScript\n\n```shell\nspago run\n```\n\n- Ocaml\n\n```shell\ndune exec osentencer\n```\n\n- Go\n\n```shell\ngo run sentencer/gsentencer\n```\n\n- Rust\n\n```shell\ncargo run\n```\n\n## Roadmap\n\n- [x] Haskell\n- [x] PureScript\n- [x] Ocaml\n- [x] Go\n- [x] Rust\n- [ ] Python\n- [ ] TypeScript\n- [ ] Kotlin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillbasky%2Fsentencer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwillbasky%2Fsentencer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwillbasky%2Fsentencer/lists"}