{"id":18085084,"url":"https://github.com/jwodder/scoregismu","last_synced_at":"2025-03-29T00:33:21.717Z","repository":{"id":16577018,"uuid":"19331080","full_name":"jwodder/scoreGismu","owner":"jwodder","description":"{gismu} creation algorithm","archived":true,"fork":false,"pushed_at":"2021-11-29T03:31:03.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-21T00:21:04.435Z","etag":null,"topics":["cpp","gismu","lojban","perl"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jwodder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-01T00:04:06.000Z","updated_at":"2023-10-02T22:48:22.000Z","dependencies_parsed_at":"2022-09-25T15:11:36.794Z","dependency_job_id":null,"html_url":"https://github.com/jwodder/scoreGismu","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/jwodder%2FscoreGismu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2FscoreGismu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2FscoreGismu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jwodder%2FscoreGismu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jwodder","download_url":"https://codeload.github.com/jwodder/scoreGismu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122251,"owners_count":20726822,"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":["cpp","gismu","lojban","perl"],"created_at":"2024-10-31T15:09:19.697Z","updated_at":"2025-03-29T00:33:21.330Z","avatar_url":"https://github.com/jwodder.png","language":"C++","readme":"    perl scoreGismu.pl [-g file | -G file] [-m num] [input file]\n\n`scoreGismu.pl` implements steps 2 through 5 of the _gismu_ scoring algorithm\ndescribed in §4.14 of _The Complete Lojban Language_ to produce a _gismu_ from\na given set of source words.  Each line of input to the program specifies a set\nof Lojbanized source words and their language weights, e.g.:\n\n    iun 0.347 upiog 0.196 emploi 0.160 us 0.123 primin 0.089 amal 0.085\n\n(If the same word appears more than once in the same line, its final weight is\nthe sum of its listed weights.)  Alternatively, a line may contain only\nLojbanized source words, in which case the weights are the number of times each\nword appears on the line.\n\nFor each input line, `scoreGismu.pl` will calculate the _gismu_ that match the\ngiven source words the best according to the scoring algorithm and output the\ntop 5 scores (or an amount specified with the `-m` switch) and the _gismu_ that\nobtained them.  Note that calculations for separate lines do not take each\nother into account, and so if multiple _gismu_ sets are produced at once, they\nmay conflict with each other.\n\nA file containing a list of pre-existing _gismu_, one per line, may optionally\nbe specified with the `-g` switch.  Any _gismu_ listed in this file or that\nconflicts with a _gismu_ in this file will be excluded from consideration for\nthe algorithm.\n\nA file containing a list of potential _gismu_, one per line, may optionally be\nspecified with the `-G` switch.  Only the _gismu_ listed in this file will be\nconsidered by the algorithm.  If both a `-g` switch and a `-G` switch are\ngiven, the `-g` switch is ignored.\n\nThis code was originally taken from [\\[1\\]][1], where it [was credited to one\n\"Hussell\"][2].\n\nFor reference, the language weights used in creating the official _gismu_ were,\nas listed in §4.14 of the CLL:\n\n    Chinese     0.36\n    English     0.21\n    Hindi       0.16\n    Spanish     0.11\n    Russian     0.09\n    Arabic      0.07\n\nSome later _gismu_ instead used the weights:\n\n    Chinese     0.347\n    Hindi       0.196\n    English     0.160\n    Spanish     0.123\n    Russian     0.089\n    Arabic      0.085\n\n[1]: https://groups.google.com/d/msg/lojban/MYL6KsfNKzc/-6LiJISgP0MJ\n[2]: https://groups.google.com/d/msg/lojban/MYL6KsfNKzc/O3LFGdRV5WEJ\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fscoregismu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjwodder%2Fscoregismu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjwodder%2Fscoregismu/lists"}