shiyan

import javax.xml.transform.Result;
import java.util.Arrays;
public class ParseText {
    //需要统计的字符串为
    private String text="Abstract-This paper presents an overview";
    private Result[] res;
    private int count;

    public ParseText(){
        res=new Result[100];
        count=0;
    }

    public void clean(){//数据清洗
        String flag="-.:;";
        for(int i=0;i 
 

你可能感兴趣的:(java,开发语言)