Looking for the latest version? Download classifier.zip (249.6 kB)
Home
Name Modified Size Downloads / Week Status
Totals: 3 Items   481.3 kB 3
README.txt 2013-12-19 2.0 kB 11 weekly downloads
classifier.rar 2013-12-19 229.7 kB 11 weekly downloads
classifier.zip 2013-12-19 249.6 kB 11 weekly downloads
THIS IS HOW TO USE THE PROGRAM, IT IS VERY SIMPLE AND SELF-EXPLANATORY: import classifier.*; //you must import this public class usage { public static void main(String[] args) { System.out.println("Lets test the first half of Alice in Wonderland with the second half of the same novel"); System.out.println("The similarity is: " + new classify().classifyDocuments("aliceP1.txt", "aliceP2.txt", 60)); //this is how to use the classifier System.out.println("==================================="); System.out.println("Lets test the first half of Alice with the unrelated text, lets say, The Adventures of Sherlock Holmes"); System.out.println("The similarity is: " + new classify().classifyDocuments("aliceP1.txt", "holmes.txt", 60)); System.out.println("==================================="); System.out.println("Lets test the second half of Alice with the unrelated text, lets say, The Adventures of Sherlock Holmes"); System.out.println("The similarity is: " + new classify().classifyDocuments("aliceP1.txt", "holmes.txt", 60)); System.out.println("Please feel free to write any feedback to olejar.damir@gmail.com"); } } THIS IS THE PROGRAM OUTPUT: Lets test the first half of Alice in Wonderland with the second half of the same novel The similarity is: 0.8959410444250319 =================================== Lets test the first half of Alice with the unrelated text, lets say, The Adventures of Sherlock Holmes The similarity is: 0.37617940779272774 =================================== Lets test the second half of Alice with the unrelated text, lets say, The Adventures of Sherlock Holmes The similarity is: 0.37617940779272774 Please feel free to write any feedback to olejar.damir@gmail.com As you can see, the first and the second half of the Alice in Wonderland were classified with 90% of similarity, while the Adventure of Sherlock Holmes gave the same classification result of 37% of a similarity. This was the expected outcome.
Source: README.txt, updated 2013-12-19

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks