Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~1K People Reached
Favorite Tags
Member Avatar for keanoppy

[CODE]image = new JLabel(new ImageIcon("C:\\Users\\user\\AutoTextSum\\src\\autotextsum\\newImage.JPG"));[/CODE] As you can see from the instantiation on the label above, I've used a static file referencing whereby I explicitly indicates the physical location. Let say this coding file name is autotextsum.java. How do I put the image without the need to explicitly indicates the …

Member Avatar for JamesCherrill
0
175
Member Avatar for keanoppy

Hi all, I'm doing sentence scoring. Let say,i have a paragraph with several sentences.Each sentence has a score(type double). Hi,I'm programming java (this sentence score:1.2) It's nice to code (this sentence score:0.3) Not so nice when having problem (this sentence score:0.8) What kind of structure should i use to ease …

Member Avatar for ~s.o.s~
0
88
Member Avatar for keanoppy

[CODE] int a,b; double temp; int sortTheNumbers = sentenceList.size() - 1; for (a = 0; a < sortTheNumbers; ++a) { for (b = 0; b < sortTheNumbers; ++b) if(score[b] < score[b + 1]) { temp = score[b]; score[b] = score[b + 1]; score[b + 1] = temp; } } [/CODE] …

Member Avatar for keanoppy
0
255
Member Avatar for keanoppy

this is my code snippets to capture data from a textfile [CODE] try{ // to store the stopwords File file8 = new File("stoplist3.txt"); FileInputStream stopStream = new FileInputStream (file8); InputStreamReader reader8 = new InputStreamReader(stopStream); StreamTokenizer stopToken = new StreamTokenizer(reader8); List stopWordList = new ArrayList(); //stopwords up to here[/CODE] i don't …

Member Avatar for keanoppy
0
118
Member Avatar for countpuchi

Okay, First and foremost im new to the forum. Hi and Thx to anyone who helps :D Anyhow, i would like to ask you guys if it is possible to separate a String with tokens one by one. Then make them appear in the jTextField with only 1 word per …

Member Avatar for jon.kiparsky
0
194
Member Avatar for keanoppy

Hi all...i'm currently trying to manipulate strings from tokens. may i know how to eliminate a char from a token without splitting it?Below is some code that i tried.How can i eliminate a certain word after the tokens are set? [CODE] package autotextsum; import java.util.*; import java.util.StringTokenizer; public class AutoTextSumm …

Member Avatar for keanoppy
0
226
Member Avatar for keanoppy

[code]echo "<td> <input type=\"text\" name=\"name$i\" size=\"10\" readonly=\"readonly\" value="; echo $row['name']; echo " /> </td>";[/code] currently,if there is a value in column name,i.e mr john, only mr will be shown in the value.i've check with my mysql_fetch_array and all others,seems like when i echo $row['name'] outside the <td>,mr john will appear,only …

Member Avatar for almostbob
0
111
Member Avatar for keanoppy

i wanted to make the input type=text name="" to be incremental i.e. a1,a2,a3 according to the loops generated by sql query the question is,how to specify which name to be read to the next page.code fragments might help better yeah? in one of my .php script,i have this fragment of …

Member Avatar for keanoppy
0
93