{"id":34103264,"url":"https://github.com/currentslab/flawunicode","last_synced_at":"2026-03-17T16:13:09.753Z","repository":{"id":62727359,"uuid":"562033453","full_name":"currentslab/flawunicode","owner":"currentslab","description":"Detect unreadable unicode text ","archived":false,"fork":false,"pushed_at":"2022-11-06T09:36:10.000Z","size":32130,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-16T23:58:35.160Z","etag":null,"topics":["natural-language-processing","python","text","text-mining","unicode"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/flawunicode/","language":"Python","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/currentslab.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":"2022-11-05T04:59:24.000Z","updated_at":"2023-11-27T13:43:51.000Z","dependencies_parsed_at":"2023-01-23T13:45:21.069Z","dependency_job_id":null,"html_url":"https://github.com/currentslab/flawunicode","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/currentslab/flawunicode","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currentslab%2Fflawunicode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currentslab%2Fflawunicode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currentslab%2Fflawunicode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currentslab%2Fflawunicode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/currentslab","download_url":"https://codeload.github.com/currentslab/flawunicode/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/currentslab%2Fflawunicode/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30626933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T14:16:03.965Z","status":"ssl_error","status_checked_at":"2026-03-17T14:16:03.380Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["natural-language-processing","python","text","text-mining","unicode"],"created_at":"2025-12-14T17:33:27.344Z","updated_at":"2026-03-17T16:13:09.747Z","avatar_url":"https://github.com/currentslab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# flawunicode\n\nDetect unreadable unicode text\n\nEver encounter any text when crawl text from the internet or inside your raw corpus?\n\n```\nsrtytyrtyrty\nÁ¶ÀÌ½ÃÆ¼, ¡®3on3 ÇÁ¸®½ºÅ¸ÀÏ¡¯ 2Á¾ÀÇ ¿¡µð¼Ç ¹øµé Ãâ½Ã\n��\u003e+ٽT}$@�������Э����ٗ_���=���e��\n```\n\nThis is what flawunicode aims to pick these out for you. flawunicode ranks each unicode text and output a score of -1 to 1 which indicates the \"completeness\" of the unicode text. If the text has a score of lower than 0.4, it is likely this text is not readable by human.\n\n## Usage\n\n```python\nimport flawunicode\ntext = \"fdsfdxvdhjkf\"\nflawunicode.detect(text)\n\u003e\u003e 0.2727272727272727\nflawunicode.detect(\"Hello World!\")\n\u003e\u003e 0.6439393939393939\n```\n\n\n## Note\n\nThe underlying statistic came from news corpus in [currents api](https://currentsapi.services/en) database. So social network style text maybe rank with low score. You just need to calculate your own frequently used bi-gram characters and it should be fine.\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrentslab%2Fflawunicode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcurrentslab%2Fflawunicode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcurrentslab%2Fflawunicode/lists"}