Skip to content
This repository has been archived by the owner on Jul 7, 2019. It is now read-only.

sinanislekdemir/similaritysearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

similaritysearch

Similarity Search Script

This piece of messy code, creates a database for itself and analyses your text, gives it scores and by this way, detects your texts language and topic.

Bu kirli kod, once kendi "data" klasorunu kullanarak bir database olusturur, ardindan verdiginiz dosyayi inceleyerek, dilini ve konusunu ayirt eder. Benzerlikleri getirir.

No extra requirements.

For the samples, "debug" mode is optional, lists all scores of all databases

ruby idea.rb samples/speed_of_light_de.txt debug


ruby idea.rb samples/cpp_fr.txt debug

Flow; alt tag

Sample output; alt tag