public Vector<Affix> getAffixList(String _type){
		StringBuffer sb= new StringBuffer("");
		String str = null;
		String[] affixlist;
                
        FileReader reader = null;
		try {
			if(_type.equals("p")){
				reader = new FileReader("g:\\prefixlist.txt");
			}else if(_type.equals("s")){
				reader = new FileReader("g:\\suffixlist.txt");
			}
			BufferedReader br = new BufferedReader(reader);
			while((str = br.readLine()) != null) {
					affixlist = str.split(",");
					if(_type.equals("p")){
						prefixList.add(new Affix(new Integer(affixlist[0]).intValue(),new Integer(affixlist[4]).intValue(),affixlist[5],affixlist[6],affixlist[3],affixlist[1]));
					}else if(_type.equals("s")){
						suffixList.add(new Affix(new Integer(affixlist[0]).intValue(),new Integer(affixlist[4]).intValue(),affixlist[5],affixlist[6],affixlist[3],affixlist[1]));
					}
			}
			br.close();
			reader.close();
			//System.out.println("Affix list generated, prefix length is:"+ prefixList.size()+", suffix length is: "+suffixList.size());
		} catch (Exception e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		if(_type.equals("p")){
			return prefixList;
		}else if(_type.equals("s")){
			return suffixList;
		}
		return null;
			
	}