{"id":27619454,"url":"https://github.com/harmotus/syllable-separator","last_synced_at":"2025-04-23T05:16:55.473Z","repository":{"id":289268814,"uuid":"970682527","full_name":"harmotus/syllable-separator","owner":"harmotus","description":"A simple syllable separator for text in Spanish ( ideal for learning or teaching Spanish )","archived":false,"fork":false,"pushed_at":"2025-04-22T11:41:25.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T05:16:51.677Z","etag":null,"topics":["diphthong","diptongo","espanol","hiato","hiatus","html5","javascript","palabra","separador","separator","silaba","silabas","spanish","syllable","syllables","text","texto","triphthong","triptongo","word"],"latest_commit_sha":null,"homepage":"https://harmotus.github.io/syllable-separator/","language":"JavaScript","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/harmotus.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-04-22T11:32:51.000Z","updated_at":"2025-04-22T11:59:10.000Z","dependencies_parsed_at":"2025-04-22T12:51:17.214Z","dependency_job_id":"42d4df48-745d-4b7c-997c-5b2998be546b","html_url":"https://github.com/harmotus/syllable-separator","commit_stats":null,"previous_names":["harmotus/syllable-separator"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmotus%2Fsyllable-separator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmotus%2Fsyllable-separator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmotus%2Fsyllable-separator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harmotus%2Fsyllable-separator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harmotus","download_url":"https://codeload.github.com/harmotus/syllable-separator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250372945,"owners_count":21419724,"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":["diphthong","diptongo","espanol","hiato","hiatus","html5","javascript","palabra","separador","separator","silaba","silabas","spanish","syllable","syllables","text","texto","triphthong","triptongo","word"],"created_at":"2025-04-23T05:16:54.845Z","updated_at":"2025-04-23T05:16:55.441Z","avatar_url":"https://github.com/harmotus.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Syllable Separator\r\n\r\nA simple syllable separator for text in Spanish ( ideal for learning or teaching Spanish )\r\n\r\n## Screenshots\r\n\r\n![light-theme](docs/light.png)\r\n\r\n![dark-theme](docs/dark.png)\r\n\r\n## Description\r\n\r\nThe script separates into syllables the words that contain the letters: aeiou áéíóúü bcdfghjklmnñpqrstvwxyz.\r\n\r\nExcept for the following exceptions:\u003cbr\u003e\r\n\u0026#8226; Words ( non-native or special ) that begin with . ( dot ) For example: .beatles, .jeans, etc.\u003cbr\u003e\r\n\u0026#8226; Words containing the special characters ( # @ ) For example: #tarde, no@che, etc.\u003cbr\u003e\r\n\u0026#8226; Words enclosed in braces { ... } For example: a.que.lla\u0026nbsp;\u0026nbsp;fru.ta\u0026nbsp;\u0026nbsp;{ roja y madura }\r\n\r\nThe script processes words that are partially separated into syllables. For example: sub-lunar, to sub.lu.nar\r\n\r\nThe script also contains a dictionary of words that do not follow the general rules. For example: fluía, to flu.í.a\u003cbr\u003e\r\nThere are several words that do not follow these rules, so the content of this dictionary will expand over time.\r\n\r\n## Installation\r\n\r\n```bash\r\nnpm i syllable-separator\r\n```\r\n\r\n## Usage\r\n\r\n```js\r\nlet text = 'Lo que sabemos es una gota y lo que ignoramos es un océano';\r\nlet syllable = require('syllable-separator');\r\nlet splittext = syllable.Separator(text);\r\n\r\nconsole.log(splittext);\r\n\r\n// lo  que  sa.be.mos  es  u.na  go.ta  y  lo  que  ig.no.ra.mos  es  un  o.cé.a.no\r\n```\r\n\r\n## Test\r\n\r\n```bash\r\nnpm test\r\n```\r\n\r\n## Demo\r\n\r\n[HOME](https://harmotus.github.io/syllable-separator)\r\n\r\n## License\r\n\r\n[MIT](https://opensource.org/license/mit)\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharmotus%2Fsyllable-separator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharmotus%2Fsyllable-separator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharmotus%2Fsyllable-separator/lists"}