User Profile

Collapse

Profile Sidebar

Collapse
29294
29294
Last Activity: Aug 20 '13, 09:26 AM
Joined: Aug 12 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • 29294
    started a topic Implementing inverted index in Java
    in Java

    Implementing inverted index in Java

    I am trying to implement inverted index in java from few days..but I am unable to implement it.the term and term frequencies are coming nicely but I am unable to retrieve the document Id's.I am not getting the idea how to use two treemap, or how to wrap one treemap inside another treemap.

    I am attaching the code here.
    Code:
    import java.util.*;  
    import java.io.*;  
    
    public class invertindex{
    
    public
    ...
    See more | Go to post

  • 29294
    replied to implementation of porter's stemmer in Java
    in Java
    thank you for your help...I have tried to do the things as you have mentioned.but still I am not getting how to input the text files to get the stemming word.it is not working at all.
    See more | Go to post

    Leave a comment:


  • 29294
    replied to implementation of porter's stemmer in Java
    in Java
    Hmm,,,actually I am not getting the point that you have mentioned.
    See more | Go to post

    Leave a comment:


  • 29294
    replied to How to tokenize a collection of text file?
    in Java
    thank you very much chaarman for pointing out the faults.and I am able to successfully run program and it gives correct output.the code is mentioned in the above post by me.
    See more | Go to post

    Leave a comment:


  • 29294
    replied to How to tokenize a collection of text file?
    in Java
    Code:
    package IR;
    import java.io.BufferedReader;
    import java.util.*;  // Provides TreeMap, Iterator, Scanner  
    import java.io.*;    // Provides FileReader, FileNotFoundException  
    
    public class FilesTokenization 
    {  
       public static void main(String[ ] args)  
       {  
         // Scanner br;  
       // Array of documents  
      String Docs [] = {"words.txt", "words2.txt","words3.txt",
    ...
    See more | Go to post
    Last edited by Rabbit; Aug 14 '13, 03:30 PM. Reason: Please use code tags when posting code or formatted data.

    Leave a comment:


  • 29294
    started a topic implementation of porter's stemmer in Java
    in Java

    implementation of porter's stemmer in Java

    I need to implement porter's stemmer in java programming language.but I am not getting what have to write inside the main method.So,if anyone knows it, help me.
    attached is the code of the program....
    See more | Go to post

  • 29294
    replied to How to tokenize a collection of text file?
    in Java
    thank you very much...I am able to tokenize the text file on getting white space and any other punctuation.Now I want to tokenize a collection of text files not only a single text file.
    I am attaching my code here.one error has occured and i am unable to find why actualy it is occuring....
    See more | Go to post

    Leave a comment:


  • 29294
    started a topic How to tokenize a collection of text file?
    in Java

    How to tokenize a collection of text file?

    I am working on Information Retrieval field.For this project I need to Tokenize a collection of documents such as text files. I have done how to tokenize a string and one text file.but in the text file i am able to tokenize on the whitespace only,not able to work on hyphen or comma etc.So,I need the java code which will actually tokenize the character while getting , or - or ' etc for a collection of text files. pls help pls....
    See more | Go to post
No activity results to display
Show More
Working...