一、源码特点
     java 文本处理系统是一套完善的java web信息管理系统,利用java 对文本语句进行分词,对理解JSP java编程开发语言有帮助,系统具有完整的源代码和数据库,系统主要采用B/S
 模式开发。开发环境为TOMCAT7.0,Myeclipse8.5开发,数据库为Mysql5.0,使用java语言开发。
java 文本处理系统Myeclipse开发mysql数据库
 二、功能介绍
 (1)文本管理:对文本信息进行添加、删除、修改和查看
 (2)段落管理:对段落信息进行添加、删除、修改和查看
 (3)句子管理:对句子信息进行添加、删除、修改和查看
 (4)词管理:对词信息进行添加、删除、修改和查看
 (5)个人信息:对个人信息进行管理
主要算法代码设计
public List segment(String str) throws IOException {
	seg = SegmentFacotry.createSegment("com.webssky.jcseg.ComplexSeg");
		String sb = "";
		//seg.setLastRule(null);
		IWord word = null;
		
		long _start = System.currentTimeMillis();
		boolean isFirst = true;
		int counter = 0;
		seg.reset(new StringReader(str));
		while ( (word = seg.next()) != null ) {
			if ( isFirst ) {
		
				sb+=word.getValue();
				isFirst = false;
			}
			else {
				sb+="|";
				sb+=word.getValue();
			}
		
			lst.add(word.getValue());
			counter++;
		}
		//System.out.println("size+"+seg.getLi().size());
		//System.out.println("size+"+seg.getLi());
		this.alist=seg.getLi();
		System.out.println(sb);
	//	System.out.println("分词结果:");
	//	System.out.println(sb.toString());
	//	System.out.println("Done, total:"
			///	+seg.getStreamPosition()+", split:" +
			//	+counter+", cost:"+(System.currentTimeMillis() - _start)+" msec\n");
		return lst;
}
public String segmentstr(String str) throws IOException {
	seg = SegmentFacotry.createSegment("com.webssky.jcseg.ComplexSeg");
		String sb = "";
		//seg.setLastRule(null);
		IWord word = null;
		
		long _start = System.currentTimeMillis();
		boolean isFirst = true;
		int counter = 0;
		seg.reset(new StringReader(str));
		while ( (word = seg.next()) != null ) {
			if ( isFirst ) {
		
				sb+=word.getValue();
				isFirst = false;
			}
			else {
				sb+="|";
				sb+=word.getValue();
			}
		
			lst.add(word.getValue());
			counter++;
		}
		//System.out.println("size+"+seg.getLi().size());
	//System.out.println("size+"+seg.getLi());
		this.alist=seg.getLi();
		System.out.println(sb);
	//	System.out.println("分词结果:");
	//	System.out.println(sb.toString());
	//	System.out.println("Done, total:"
			///	+seg.getStreamPosition()+", split:" +
			//	+counter+", cost:"+(System.currentTimeMillis() - _start)+" msec\n");
		return sb;
}
三、注意事项
     1、管理员账号:admin密码:admin 数据库配置文件DBO.java
      2、开发环境为TOMCAT7.0,Myeclipse8.5开发,数据库为Mysql5.0,使用java语言开发。
     3、数据库文件名是jspwbcl.sql ,系统名称wbcl
     4、系统首页地址:http://127.0.0.1:8080/wbcl/login.jsp
四 系统实现

  
 
 
 
 
 
 



















