{"id":17192113,"url":"https://github.com/jdevera/pylabeador","last_synced_at":"2025-04-13T20:09:37.438Z","repository":{"id":62581518,"uuid":"253927575","full_name":"jdevera/pylabeador","owner":"jdevera","description":"A Python library and CLI tool to do automatic syllabification of Spanish words","archived":false,"fork":false,"pushed_at":"2020-08-02T20:41:35.000Z","size":301,"stargazers_count":15,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T02:21:19.468Z","etag":null,"topics":["hyphenation","library","natural-language-processing","python","spanish","syllabification","syllable"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdevera.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.markdown","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-07T22:35:49.000Z","updated_at":"2025-02-06T15:20:05.000Z","dependencies_parsed_at":"2022-11-03T21:30:19.945Z","dependency_job_id":null,"html_url":"https://github.com/jdevera/pylabeador","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevera%2Fpylabeador","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevera%2Fpylabeador/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevera%2Fpylabeador/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdevera%2Fpylabeador/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdevera","download_url":"https://codeload.github.com/jdevera/pylabeador/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240400269,"owners_count":19795329,"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":["hyphenation","library","natural-language-processing","python","spanish","syllabification","syllable"],"created_at":"2024-10-15T01:28:17.936Z","updated_at":"2025-02-24T00:31:47.148Z","avatar_url":"https://github.com/jdevera.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/github/workflow/status/jdevera/pylabeador/Python%20package)](https://github.com/jdevera/pylabeador/actions?query=workflow%3A%22Python+package%22+branch%3Amaster)\n[![codecov](https://codecov.io/gh/jdevera/pylabeador/branch/master/graph/badge.svg)](https://codecov.io/gh/jdevera/pylabeador)\n![](https://img.shields.io/pypi/pyversions/pylabeador)\n[![](https://img.shields.io/pypi/v/pylabeador)](https://pypi.org/project/pylabeador/)\n![](https://img.shields.io/pypi/l/pylabeador)\n![](https://img.shields.io/pypi/dm/pylabeador)\n# Pylabeador: Automatic Syllabification of Spanish Words\n\n# Install\n\n```\npip install pylabeador\n```\n\n# Use\n\nYou can use it as a Python library:\n```python\n\u003e\u003e\u003e import pylabeador\n\u003e\u003e\u003e pylabeador.syllabify(\"silabear\")\n['si', 'la', 'be', 'ar']\n```\n\nAnd you can use it as a command line tool:\n\n```sh\n$ pylabeador interesante\nin-te-re-san-te\n```\n# Accuracy\n\nAutomatic syllabification without additional lexical or and semantic *knowledge* of the words can only go so far.  This syllabifier does not have such knowledge. Because of this, words such as *transatlántico*, whose correct hyphenation is *trans-a-tlán-ti-co* or even *trans-at-lán-ti-co*, end up being divided here into *tran-sa-tlán-ti-co*.  To hyphenate this correctly, it is necessary to know that the word without the prefix exists in Spanish with similar semantics to the one of the original word. This is better and further explained in this paper: [Automatic syllabification for Spanish using lemmatization and derivation to solve the prefix’s prominence issue](http://dx.doi.org/10.1016/j.eswa.2013.06.056)\n\n# Inspiration / Original source\n\nThis work is inspired by the excellent online tool [Silabeador TIP](https://tulengua.es/syllables/). This tool considers the semantics of the words and correctly separates syllables in the presence of prefixes. They also provide a C++ library that performs the naive syllable separation that *pylabeador* does. In fact, *pyleabeador* started as a Python port of that library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdevera%2Fpylabeador","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdevera%2Fpylabeador","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdevera%2Fpylabeador/lists"}