{"id":17316057,"url":"https://github.com/ankostis/evilometer","last_synced_at":"2025-03-27T02:13:49.627Z","repository":{"id":80664544,"uuid":"192236556","full_name":"ankostis/evilometer","owner":"ankostis","description":"a human-tunable classifier for names, how evil they sound - coded as a toy","archived":false,"fork":false,"pushed_at":"2021-02-23T11:28:10.000Z","size":32,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-01T07:28:07.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ankostis.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES.txt","contributing":null,"funding":null,"license":"COPYING.txt","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":"2019-06-16T21:01:49.000Z","updated_at":"2023-05-04T22:58:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"deb4bfa9-eb8f-4c17-a00c-c8c082372aeb","html_url":"https://github.com/ankostis/evilometer","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/ankostis%2Fevilometer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankostis%2Fevilometer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankostis%2Fevilometer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ankostis%2Fevilometer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ankostis","download_url":"https://codeload.github.com/ankostis/evilometer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245767360,"owners_count":20668826,"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-10-15T13:11:29.545Z","updated_at":"2025-03-27T02:13:49.606Z","avatar_url":"https://github.com/ankostis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==============================================\nevilometer: Rates arbitrary names based on a pre-rated list of names on some characteristic (ie \"evilness\")\n==============================================\n  * Copyright : July-2014, (c) AGPLv3 or later\n  * Developed : by ankostis@gmail.com \u0026 `Nikifors Zacharoff \u003chttps://github.com/nikizak\u003e`_\n  * License   : GNU Affero General Public License v3 or later (AGPLv3+)\n\n\nOverview\n========\nGiven a pre-rated list of names on some characteristic,\nit decomposes them using n_grams and applies information retrieval rating[inv_index]_\nto estimate the rating of any other name on that characteristic.\n\n\nInstall:\n========\n\nTo install it, assuming you have download the sources,\ndo the usual::\n\n    python setup.py install\n\nOr get it directly from the PIP repository::\n\n    pip3 install evilometer\n\n\nTested with Python 3.4.\n\n\nUsage:\n======\n\nFuefit accepts as input 2 vectors of names, the pre-rated \"training\" set of and\nthe set of names to be rated, like that::\n\n    \u003e\u003e import evilometer\n\n    \u003e\u003e train_names = {'trendy': 1, 'good':2, 'better':2, 'talon':-5, 'bad_ass':-10}\n    \u003e\u003e asked_names = {'kolon':1, 'trekking':2, 'trepper':-10}\n\n    \u003e\u003e name_scores = evilometer(train_names, asked_names)\n    \u003e\u003e print_scored_names_sorted(name_scores)\n\ncmdline\n-------\n\n    \u003e\u003e python -m evilometer prerated.csv asked.txt\n\n\n\nContributors\n==============\n\n* Nikifors Zacharoff \u0026 Nikias Fontaras:  Original idea of the game\n\n\n\n\n.. rubric:: Footnotes\n\n.. [inv_index] http://nlp.stanford.edu/IR-book/html/htmledition/inverse-document-frequency-1.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankostis%2Fevilometer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fankostis%2Fevilometer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fankostis%2Fevilometer/lists"}