Search:

Type: Posts; User: kakb9091

Search: Search took 0.27 seconds.

  1. Replies
    2
    Views
    814

    Re: Connecting GUI with application

    My aim to extract and print out sentences from the loaded txt file. The document.java is able to do this but I have pre programmed one txt in it for testing(Legal.txt), which works perfectly fine....
  2. Replies
    2
    Views
    814

    Connecting GUI with application

    Hi,

    I need help to connect my GUI with my application. Both works well individually. When the user clicks on the load function in the GUI the user is should be able to load any txt file in to the...
  3. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    The output is printing out the training set which is pre- programmed in the code. Which is this:

    layers that fly that food . that fly sneaks


    The output should actually be something like...
  4. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    Ok...finally now it is giving an output.


    layers that fly that food . that fly sneaks{}



    Now the problem is the tagging part is not working (noun,verb or verbnoun) The tagger needs to tag...
  5. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    how about get method?
  6. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    Do i need to use the try and catch method to invoke the methods??
  7. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    none of the classes are giving an output...
  8. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    hi..i am still not able to get an output. So im sending all five classes that i have created with the hope u can go thru it and check for any mistakes that i have done. Thank you very much and sorry...
  9. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    Hi, thank you so much for replaying soon. The code is not having any errors now, but there is no output.




    import java.util.HashMap;
    import java.util.Map;
    import org.junit.Test;
  10. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    how do i go about creating an instance of the class??
  11. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    run:
    Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - non-static method tag(java.lang.String) cannot be referenced from a static context
    at...
  12. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    ok...u see if i put in the
    public static void main(String[] args) {
    i have to remove the word "tag" from
    System.out.println(tag("layers that fly that food . that fly sneaks .")); as it says it...
  13. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    ok...u see if i put in the
    public static void main(String[] args) {
    i have to remove the word "tag" from
    System.out.println(tag("layers that fly that food . that fly sneaks .")); as it says it...
  14. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    i cant execute the program...i can just build it.. The thing is whenever i try to put in a main method it shows error but when i don't there is none. What can i do?? I really don't know what is...
  15. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    hi...thank you so much...i finally managed to solve it. But now im having problem with my tagger.. could you please look into it. The output should say whether a word is noun, verb or verb noun. I...
  16. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    So how do I go about it??
  17. Replies
    29
    Views
    1,340

    Re: Matrix Generator

    I am trying to do POS tagger in Java( Part of speech). The program has 5 classes- Tagger, Abstract HMM, Matrix Generator, Viterbi HMM and Viterbi Matrix Tools. HMM is Hidden Markov Model and is...
  18. Replies
    29
    Views
    1,340

    Matrix Generator

    Hi,

    Im having some problems with my code (In bold). Please can someone look into it.

    import java.util.Arrays;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.Random;
    import...
Results 1 to 18 of 18