Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.34 KB

README.md

File metadata and controls

49 lines (39 loc) · 1.34 KB

NeuralNetwork Language

A console application that, using simple artificial intelligence, aims to recognize in which language a given text is written.

The single-layer neural network learns on a training set in the trainData folder - regardless of the number of folders (provided they are properly described).

Testing the files in the testData folder

The program, using the data set in the testData folder, tries to predict in which language each .txt file was written.

German test:
0. correct
1. correct
2. correct
3. correct
4. correct

English test:
0. incorrect
1. correct
2. correct
3. correct
4. correct

French test:
0. correct
1. correct
2. correct
3. correct
4. correct

Polish test:
0. incorrect
1. correct
2. correct
3. correct
4. incorrect

testing manually typed text into the console

The application also has the ability to check the text manually entered into the console.

Enter a sentence: 
In Boston engagierte sich Severance bald bei mehreren Organisationen mit unterschiedlichen Reformzielen.

Your sentence is written in German

What I Learned

  • perceptron operation
  • what is a single-layer neural network
  • how to teach artificial intelligence
  • reading all the files given in the path, regardless of their number