public static String split(String text,String splitToken)
	{
		String result = "";
		/*String fieldName = "text";
		Analyzer analyzer = new IKAnalyzer();
		IndexWriter iwriter = null;
		Directory directory = null;*/
		try  	
        {
			Reader reader=new StringReader(text);
			IKSegmentation segment=new IKSegmentation(reader,true);
			/*directory = new RAMDirectory();
			iwriter = new IndexWriter(directory, analyzer, true ,IndexWriter.MaxFieldLength.LIMITED);
			Document doc = new Document();
			doc.add(new Field(fieldName, text, Field.Store.YES,Field.Index.ANALYZED));
			iwriter.addDocument(doc);
			iwriter.close();*/
			boolean hasNext=true;
			while(hasNext){
				Lexeme lexeme=segment.next();
				if(lexeme!=null){
					result+=lexeme.getLexemeText()+splitToken;
				}
				else{
					hasNext=false;
				}
			}
			System.out.println("分词结果："+result);
		}  	
        catch (IOException e)  	
        { 	
        	e.printStackTrace(); 	
        } 	
        return result;
	}