Skip to content

Automatically guesses the language in which a text is written

Notifications You must be signed in to change notification settings

julienp17/CPool_rush2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rush 2

C Pool

Automatically guesses the language in which a text is written (only English, French, German, and Spanish are considered), and print the occurence of the given chars in the string

1 day, 2 students, made with Stanislas Singamy

The longer the string, the better the results

Usage

./rush2 STRING [CHAR]...

Example

Example

Take a look at this Wikipedia page about letters frequencies to understand how the program is able to deduce the language.

Grade

GRADE

This was my favorite project to do, even though I got zero :(

My solution was to read from a csv file containing each letter frequency for the 4 languages, unfortunately it was forbidden to read from a file for this project

About

Automatically guesses the language in which a text is written

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages