Natural Language Processing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • snipes2002
    New Member
    • Mar 2007
    • 3

    Natural Language Processing

    hi all i have a homework but am not so good in java so i need some help !!
    i have to do a text box and put in it a pattern and there is a big text box under it so when i put a pattern in the first box and text in the second one and i push a button (find) the words that matches the pattern must be highlighted !! this is half of the H.W the other half on the same interface i have to inter the date it must be in this form (dd/mm/yy or dd-mm-yy) and email (blabla@bla.bla ) and country there is a list with country names in it and mobile number in thes form (07xxxxxxxx) and there is a button (subit under them) they all must be in the right syntax other wise the form won't accept them !! all these things must be in one box(interface) the first half on the left vertically and the other on the right. this course is natural language processing and this home work must be done in java !
    soo please if any one can help i'll be very thankfull
    bbyee
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by snipes2002
    hi all i have a homework but am not so good in java so i need some help !!
    i have to do a text box and put in it a pattern and there is a big text box under it so when i put a pattern in the first box and text in the second one and i push a button (find) the words that matches the pattern must be highlighted !! this is half of the H.W the other half on the same interface i have to inter the date it must be in this form (dd/mm/yy or dd-mm-yy) and email (blabla@bla.bla ) and country there is a list with country names in it and mobile number in thes form (07xxxxxxxx) and there is a button (subit under them) they all must be in the right syntax other wise the form won't accept them !! all these things must be in one box(interface) the first half on the left vertically and the other on the right. this course is natural language processing and this home work must be done in java !
    soo please if any one can help i'll be very thankfull
    bbyee
    We wont do the assignment for you (see here). We can only assist.

    You need to learn how to use the following swing components/containers

    JFrame
    JPanel
    JButton
    JTextField
    JTextArea
    JLabel

    Then you need to know how to use ActionEvent, and ActionListener.

    Finally you should know how to use the java.util.regex package to manipulate text using regular expressions.


    P.S I will now change the thread title to the more appropiriate Natural Language Processing.

    Comment

    • hirak1984
      Contributor
      • Jan 2007
      • 316

      #3
      how much java have you done?

      do you know swing or SWT at all?
      else it will be difficult to use the functions
      stated by r0.
      So read from a standard book first,else r0 has some very nice and easy to understand tutorials though I am not sure if he has covered swing or not.

      Originally posted by r035198x
      We wont do the assignment for you (see here). We can only assist.

      You need to learn how to use the following swing components/containers

      JFrame
      JPanel
      JButton
      JTextField
      JTextArea
      JLabel

      Then you need to know how to use ActionEvent, and ActionListener.

      Finally you should know how to use the java.util.regex package to manipulate text using regular expressions.


      P.S I will now change the thread title to the more appropiriate Natural Language Processing.

      Comment

      • snipes2002
        New Member
        • Mar 2007
        • 3

        #4
        hi again...guys am not a java programmer.. and i don't use java actually..but this assignment must be done in java !! thats why i asked for help !! so please if any one can do it for me i'll be more than thankfull ..!

        Comment

        • r035198x
          MVP
          • Sep 2006
          • 13225

          #5
          Originally posted by snipes2002
          hi again...guys am not a java programmer.. and i don't use java actually..but this assignment must be done in java !! thats why i asked for help !! so please if any one can do it for me i'll be more than thankfull ..!
          The rules don't allow that kind of a thing.
          You'll have to be writting the code yourself in order for you to get help.

          Comment

          Working...