{"id":13741267,"url":"https://github.com/henchc/syllabipy","last_synced_at":"2025-05-08T21:33:04.772Z","repository":{"id":21570209,"uuid":"56984956","full_name":"henchc/syllabipy","owner":"henchc","description":"universal syllabification algorithms","archived":false,"fork":false,"pushed_at":"2022-12-25T13:25:19.000Z","size":16,"stargazers_count":43,"open_issues_count":1,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-05T20:18:43.614Z","etag":null,"topics":[],"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/henchc.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}},"created_at":"2016-04-24T17:32:23.000Z","updated_at":"2024-08-01T20:45:43.000Z","dependencies_parsed_at":"2023-01-13T21:33:51.011Z","dependency_job_id":null,"html_url":"https://github.com/henchc/syllabipy","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henchc%2Fsyllabipy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henchc%2Fsyllabipy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henchc%2Fsyllabipy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henchc%2Fsyllabipy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henchc","download_url":"https://codeload.github.com/henchc/syllabipy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224774726,"owners_count":17367783,"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":[],"created_at":"2024-08-03T04:00:57.357Z","updated_at":"2024-11-15T11:31:04.212Z","avatar_url":"https://github.com/henchc.png","language":"Python","funding_links":[],"categories":["Software"],"sub_categories":["Utilities"],"readme":"# syllabipy\nCollection of syllabification algorithms designed to be universal, aimed at low-resource languages without look-up techniques.\n\n*Note: SonoriPy has been incorporated into [NLTK](https://github.com/nltk/nltk/blob/develop/nltk/tokenize/sonority_sequencing.py) for Python; LegaliPy and SonoriPy have been incorporated into [Talisman](https://github.com/Yomguithereal/talisman) for JavaScript. This repo will not be updated, we recommend you use one of these two libraries.*\n\n## installation\n\nsyllabipy can be installed with `pip`:\n\n~~~\n$ pip install syllabipy\n~~~\n\n### LegaliPy\n\nTo get legal onsets for variable `text`:\n\n~~~\n\u003e\u003e\u003e from syllabipy.legalipy import getOnsets\n\u003e\u003e\u003e getOnsets(text)\n~~~\n\nTo syllabify a word:\n\n~~~\n\u003e\u003e\u003e from syllabipy.legalipy import LegaliPy\n\u003e\u003e\u003e LegaliPy(word, getOnsets(text))\n~~~\n\nCommand line usage to syllabify a text file:\n\n~~~\n$ python legalipy.py text.txt\n~~~\n\n### SonoriPy\n\nTo syllabify a word:\n\n~~~\n\u003e\u003e\u003e from syllabipy.sonoripy import SonoriPy\n\u003e\u003e\u003e SonoriPy(\"justification\")\n['jus', 'ti', 'fi', 'ca', 'tion']\n~~~\n\nCommand line usage to syllabify a text file:\n\n~~~\n$ python sonoripy.py text.txt\n~~~","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenchc%2Fsyllabipy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenchc%2Fsyllabipy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenchc%2Fsyllabipy/lists"}