java split sentences into words -



java split sentences into words -

this question has reply here:

split file sentences words 4 answers

how split array of sentences array of array of words? if can split sentence using split() ..but it's used single array. need multiple array..

eg:

sentences[0]="one sentence" sentences[1]=" 1 sen...."

i need split this...

word[0][0]="one word" //first row first word word[0][1]="second word" word[0][2]="third word" word[1][0]="..."//second row first word**

any 1 can help me.

try this..

for(i=0;i<somelength;i++){ word[i] = sentence[i].split("yourdelimiter"); }

java

Comments

Popular posts from this blog

javascript - mongodb won't find my schema method in nested container -

How do you set up a perforce server to work over the internet? -

ios - Lagging ScrollView with UIWebview inside -