class pro{
String[] plan=new String[1000];
String[] str=new String[3];
String[] ph=new String[1000];
String[] dic=new String[100];
String[][] word=new String[3][100];
String[] sword=new String[100];
double[] px=new double[100];
int dicnumber,wnumber,pnumber,snumber;
int[] wordnumber=new int[3];
double pt;
int t,s,sx,n;
public static void main(String args[]){
pro test=new pro();
}
pro(){
str[1]="朝日は水着です";
str[2]="男塾です";
word[1][1]="朝日は";
word[1][2]="水着";
word[1][3]="です";
word[2][1]="男";
word[2][2]="塾です";
wordnumber[1]=3;
wordnumber[2]=2;
dicnumber=0;
t=0;
while(t<100){
snumber=wordnumber[1]+wordnumber[2];
sx=0;
for(s=1;s<wordnumber[1]+1;s++){
sx=sx+1;
sword[sx]=word[1][s];
}
for(s=1;s<wordnumber[2]+1;s++){
sx=sx+1;
sword[sx]=word[2][s];
}
makedic di=new makedic();
di.word=sword;
di.wordnumber=snumber;
di.dicnumber=dicnumber;
di.dic=dic;
di.makedata();
dic=di.dic;
px=di.px;
dicnumber=di.dicnumber;
macro mr=new macro();
mr.dic=dic;
mr.px=px;
mr.dicnumber=dicnumber;
mr.makedata(str[1]);
plan=mr.plan;
pnumber=mr.pnumber;
for(s=1;s<pnumber+1;s++){
word[1][s]=plan[s];
}
wordnumber[1]=pnumber;
mr.makedata(str[2]);
plan=mr.plan;
pnumber=mr.pnumber;
for(s=1;s<pnumber+1;s++){
word[2][s]=plan[s];
}
wordnumber[2]=pnumber;
for(n=1;n<3;n++){
for(s=1;s<wordnumber[n]+1;s++){
System.out.println(word[n][s]);
}
}
t=t+1;
}
}
}
最終更新:2011年05月22日 02:20