Skip to content

chenterry85/Language-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Language Detection

This is a language detector written in python using a statistical approach. Given the letter frequency of fifteen alphabet language systems, the program can identify the language of a group of sentences. The longer the paragraphs, the higher the accuracy.

Demo

Installation

#clone the project
git clone https://github.com/chenterry85/Language-Detection.git

#run
python3 main.py

Usage

1. Select input method (File or Textbox)

  • File → press "Choose file" to select a local file (default: sample-text.txt)
  • Textbox → Enter sentences in the textbox area

2. Press "Scan" to output the 5 potential languages

About

🔠 Language Detection via character frequency

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages