{"id":22946593,"url":"https://github.com/mmower/wordmash","last_synced_at":"2025-04-01T22:40:26.964Z","repository":{"id":21172732,"uuid":"24476718","full_name":"mmower/wordmash","owner":"mmower","description":"Mash words together to create new words","archived":false,"fork":false,"pushed_at":"2014-09-26T13:29:26.000Z","size":148,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T14:45:40.226Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mmower.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":"2014-09-25T21:56:19.000Z","updated_at":"2014-09-25T22:28:17.000Z","dependencies_parsed_at":"2022-08-22T18:30:44.898Z","dependency_job_id":null,"html_url":"https://github.com/mmower/wordmash","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/mmower%2Fwordmash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fwordmash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fwordmash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mmower%2Fwordmash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mmower","download_url":"https://codeload.github.com/mmower/wordmash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246724609,"owners_count":20823542,"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-12-14T14:47:24.560Z","updated_at":"2025-04-01T22:40:26.949Z","avatar_url":"https://github.com/mmower.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wordmash\n\nIf you've ever wanted to create a nonsense English dictionary then Wordmash is for you. Wordmash \"mashes together\" words from a dictionary to form new words that are somewhat like the originals.\n\nTo create a new word, Wordmash takes two randomly selected words from the original dictionary, selects a random mid-point for each word, and\nsplits them to form two beginnings and two endings. It then takes the first beginning and second ending and makes a new word. Here's an example:\n\n1. Randomly choosen words \"unbalance\" and \"guayacan\"\n* For \"unbalance\" select random mid-point, e.g. 3\n* Split \"unbalance\" at 3 to form \"unb\" and \"alance\"\n* For \"guayacan\" select random mid-point, e.g. 4\n* Split \"guayacan\" at 4 to form \"guay\" and \"acan\"\n* Combine \"unb\" with \"acan\" to form new word \"unbacan\"\n\nWordmash includes some simple rules that try to ensure generated words seem English-like for example not allowing endings like i, u, v, or j, or allowing words with a q not followed by a u. The default rules are defined in `resources/rules.edn`.\n\n## Usage\n\n    lein uberjar\n    cat /usr/share/dict/words | java -jar target/wordmash-0.1.3-SNAPSHOT-standalone.jar [\u003cword-count\u003e]\n\nPass in the dictionary of words you want to use as a source via stdin, the mashed dictionary will be written to stdout. By default 500\nwords are generated but you can pass a word-count argument to generate more or less words.\n\nTo use a custom rules files pass the path to your own edn file using the `RULESFILE` environment variable:\n\n    RULESFILE=/my/rules.edn java -jar ...\n\nRules are regular expression patterns, see the resources/rules.edn file for the format. The map keys are purely for describing the rules.\n\n## License\n\nCopyright © 2014 Matt Mower \u003cm@mwrvld.com\u003e\n\nDistributed under the Eclipse Public License either version 1.0 or (at\nyour option) any later version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmower%2Fwordmash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmower%2Fwordmash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmower%2Fwordmash/lists"}