{"id":19391565,"url":"https://github.com/zevio/pcu_language","last_synced_at":"2025-09-13T08:14:56.846Z","repository":{"id":57451329,"uuid":"148204303","full_name":"zevio/pcu_language","owner":"zevio","description":"Language detection component (langdetect) for PCU project","archived":false,"fork":false,"pushed_at":"2018-11-28T21:40:47.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-04T01:36:05.033Z","etag":null,"topics":["component","detection","english","french","langdetect","language","language-detection","language-detection-component","pcu","pcu-language","python"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zevio.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":"2018-09-10T18:57:20.000Z","updated_at":"2019-02-14T16:15:26.000Z","dependencies_parsed_at":"2022-09-04T10:40:14.041Z","dependency_job_id":null,"html_url":"https://github.com/zevio/pcu_language","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zevio/pcu_language","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevio%2Fpcu_language","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevio%2Fpcu_language/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevio%2Fpcu_language/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevio%2Fpcu_language/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zevio","download_url":"https://codeload.github.com/zevio/pcu_language/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zevio%2Fpcu_language/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274935994,"owners_count":25376837,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["component","detection","english","french","langdetect","language","language-detection","language-detection-component","pcu","pcu-language","python"],"created_at":"2024-11-10T10:27:32.501Z","updated_at":"2025-09-13T08:14:56.794Z","avatar_url":"https://github.com/zevio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pcu_language\nLanguage detection component (langdetect) for PCU project.\nFrom the path of a text file, detect the main language/all languages used within the text.\n\nBased on [langdetect][langdetect].\n\n![language](https://framapic.org/nY62APFOVnMW/WVYoU9shHZkP.png)\n\n----\n\n[Check PCU project][pcu].\n\n[langdetect]:https://pypi.org/project/langdetect/\n[pcu]: https://github.com/zevio/pcu_core\n\n## Installation\n\nTo install requirements, go to pcu_language/ directory and execute the Makefile with the following command line :\n\n`make init`\n\n## Usage in another project\n\nIf you wish to import this module in another Python project, please install it :\n\n`pip install pcu-language`\n\nThen, add this import line at the beginning of your Python file :\n\n`from pcu_langage import pcu_language`\n\nYou can now use pcu_language's functions, for example :\n\n`pcu_language.detectLanguage(\"path/to/txt/file\")`\n\n## Test\n\nTo test your installation, go to pcu_language/ directory and execute the Makefile with the following command line : \n\n`make test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzevio%2Fpcu_language","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzevio%2Fpcu_language","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzevio%2Fpcu_language/lists"}