{"id":20643383,"url":"https://github.com/cloudkj/ngram-syllables","last_synced_at":"2025-04-16T02:03:00.143Z","repository":{"id":101018261,"uuid":"76098839","full_name":"cloudkj/ngram-syllables","owner":"cloudkj","description":"Syllable counting and detection using an n-gram language model.","archived":false,"fork":false,"pushed_at":"2017-02-18T07:25:56.000Z","size":618,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T03:51:19.015Z","etag":null,"topics":["clojure","language-model","lisp","ngrams","syllable-count"],"latest_commit_sha":null,"homepage":null,"language":"Clojure","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/cloudkj.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":"2016-12-10T07:53:41.000Z","updated_at":"2022-05-22T20:09:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"92de4663-cd85-445f-b56f-da08ad4d94bc","html_url":"https://github.com/cloudkj/ngram-syllables","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkj%2Fngram-syllables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkj%2Fngram-syllables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkj%2Fngram-syllables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudkj%2Fngram-syllables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudkj","download_url":"https://codeload.github.com/cloudkj/ngram-syllables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249183098,"owners_count":21226140,"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":["clojure","language-model","lisp","ngrams","syllable-count"],"created_at":"2024-11-16T16:12:40.191Z","updated_at":"2025-04-16T02:03:00.136Z","avatar_url":"https://github.com/cloudkj.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ngram-syllables\n\nSyllable counting and detection using an n-gram language model.\n\n## Usage\n\nTraining\n\n```\nUsage: lein run -m ngram-syllables.train [options] corpus\nOptions:\n  -h, --help\n  -n, --n GRAMS      1                 Number of grams\n  -o, --output FILE  target/model.edn  Path to desired output location of model\n```\n\nPredictions\n\n```\nUsage: lein run -m ngram-syllables.predict [options] weight_1 ... weight_n\nOptions:\n  -d, --delim DELIM  Empty space       Output syllable delimiter\n  -h, --help\n  -m, --model FILE   target/model.edn  Path to location of model\n```\n\n## Example\n\nGenerate syllable boundaries for some words not in the training corpus.\n\n```\n% ./train.sh\nTraining model with n = 3\n17490 1-gram sequences\n17489 2-gram sequences\n7434 3-gram sequences\nOutput: target/model.edn\n% head -n 20 resources/pokemon_names.txt | ./predict.sh --delim · 0.1 0.1 0.8\nbulb·a·saur\ni·vy·saur\nven·u·saur\nchar·man·der\nchar·mel·e·on\nchar·i·zard\nsquirt·le\nwar·tor·tle\nblast·o·ise\nca·ter·pie\nmet·a·pod\nbut·ter·free\nweed·le\nka·ku·na\nbee·drill\npid·gey\npid·ge·ot·to\npid·ge·ot\nrat·ta·ta\nra·ti·cate\n```\n\n## License\n\nCopyright © 2016-2017\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudkj%2Fngram-syllables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudkj%2Fngram-syllables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudkj%2Fngram-syllables/lists"}