package db7;
import tool.*;
import gmt.makedb;
import gmt.search;
import oricon.oricon;
public class pro {
String word,str;
int point=new int[500];
int number;
String data=new String[50000];
String value=new String[50000];
int s,sx,datanumber,subnumber;
String index=new String[50000];
public static void main(String[] args) {
pro test=new pro();
}
pro(){
readfile sub2=new readfile();
sub2.makedata("data.txt","UTF-8");
data=sub2.data;
datanumber=sub2.datanumber;
for(s=1;s<datanumber+1;s++){
catchword sub3=new catchword();
index[s]=sub3.makedata(data[s],"oricon");
value[s]=data[s];
}
String db;
db="ren";
makedb sub7=new makedb();
sub7.datanumber=datanumber;
sub7.partnumber=1000;
sub7.index=index;
sub7.value=value;
sub7.makedata(db);
word="松田聖子";
oricon sub8=new oricon();
sub8.makedata(word);
number=sub8.number;
point=sub8.point;
String px;
px=""+point[1];
search sub4=new search();
sub4.makedata(db,px);
value=sub4.value;
number=sub4.number;
System.out.println(number);
for(s=1;s<number+1;s++){
System.out.println(value[s]);
}
}
}