{"id":25844470,"url":"https://github.com/azimjohn/language-classifier","last_synced_at":"2025-03-01T07:28:35.073Z","repository":{"id":191381755,"uuid":"478951227","full_name":"azimjohn/language-classifier","owner":"azimjohn","description":"Language Classifier using single layer network of perceptrons","archived":false,"fork":false,"pushed_at":"2022-11-03T20:40:32.000Z","size":1079,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-08-29T16:41:45.604Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/azimjohn.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,"governance":null}},"created_at":"2022-04-07T11:18:53.000Z","updated_at":"2023-08-29T16:41:49.802Z","dependencies_parsed_at":"2023-08-29T17:32:26.574Z","dependency_job_id":null,"html_url":"https://github.com/azimjohn/language-classifier","commit_stats":null,"previous_names":["azimjohn/language-classifier"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azimjohn%2Flanguage-classifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azimjohn%2Flanguage-classifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azimjohn%2Flanguage-classifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/azimjohn%2Flanguage-classifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/azimjohn","download_url":"https://codeload.github.com/azimjohn/language-classifier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241334272,"owners_count":19945970,"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":"2025-03-01T07:28:34.990Z","updated_at":"2025-03-01T07:28:35.061Z","avatar_url":"https://github.com/azimjohn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Language Classifier\n## Using Single Layer Network of Perceptrons\n\n\u003cp\u003e\nThe aim of the project is to create a single-layer network to identify the language an input text is written in.\nFiles contains a set of texts written in four languages – English, Polish, German and Uzbek. To classify a given text, it counts the number of occurences of each letter of the latin alphabet. Ignores all other characters – only counts the frequencies of the 26 letters of the latin alphabet.\n\u003c/p\u003e\n\n\u003cp\u003e\nFor each text, it generates a 26-element input vector containing the number of occurences of each letter. Then normalize it:\n\n```\nvˆ = v / |v|\n```\n\u003c/p\u003e\n\n\u003cp\u003e\nThe output of the network has local representation: one neuron is assigned to each language. For a given text only the appropriate neuron should have value 1 and all others 0. To classify an input text, it selects the neuron with the maximum activation.\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazimjohn%2Flanguage-classifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazimjohn%2Flanguage-classifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazimjohn%2Flanguage-classifier/lists"}