User Profile
Collapse
-
how to add viewcontroller in the program?
I have made an application in which there are different buttons with images. When the button is clicked, it writes "hello" on the console because I have written in the NSLog("hello") statement in the funtion which is called on button click. But I want to print the database column record on the next page. Can anyone help me out. I'll be thankful. -
How can I use stanford parser package?
I have downloaded stanford parser package from web because I want to use it in my java program. I don't know that in which subfolder of jdk 1.5.0_22 should I extract the .rar files of stanford parser. Can any one tell me. I'll be thankful. -
how should I make interface to stanford-part-of-speech tagger in java?
I want make an interface to stanford parts-of-speech tagger. I have stanford-postagger.jar. I want it to tag parts of speech to the words of a sentence but using a java program interface (java program). So that program prompts the user to enter any string and then the words of the sentence are tagged b the stanford-postagger.jar.
can any one help me. I'll be thankful to you. -
the standarad way in java to declare string is:
String[] args -
Ahsan123pk started a topic How to make interface to stanford patrs-of-speech tagger (stanford-postagger.jar)?in JavaHow to make interface to stanford patrs-of-speech tagger (stanford-postagger.jar)?
This is the program in java which is an interface to stanford postagger. I have attached a copy of it. I am using netbeans 6.7.1 . I have placed the model file which is "left3words-wsj-0-18.tagger" in the bin folder of jdk and also placed the stanford-postagger.jar in that folder.
I have included the the stanford project in the src folder of netbeans projects so I could import files easily.But when I run this program, it gives following... -
How do I tag parts of speech to tokens(substrings) in my java program?
I have generated tokens of the string entered by the user on the basis of spaces and special characters and I have stored them in array. Now I want tag parts of speech with them. how can I do that in java. -
Ahsan123pk started a topic how do i tokenize a string on the base of special characters such as ' and . ect?in Javahow do i tokenize a string on the base of special characters such as ' and . ect?
I have used StringTokenizer class to make tokens of a string but my program tokenizes a string only on the basis of spaces but it does not tokenizes on the basis of special characters such as comma(,),full stop(.),single quotes etc.
Consider a sentence or string:
"I don't know who is he."
After compiling it the output of my program is:
I: valid token
don't: valid token
know: valid...
No activity results to display
Show More
Leave a comment: