docs: public void train() throws Exception {
  
  			//建立字典管理器
  
  			
  			Pipe lpipe = new Target2Label(al);
  			Pipe fpipe = new StringArray2IndexArray(factory, true);
  			//构造转换器组
  			SeriesPipes pipe = new SeriesPipes(new Pipe[]{lpipe,fpipe});
  
  
  
  			InstanceSet instset = new InstanceSet(pipe,factory);
  			instset.loadThruStagePipes(new SimpleFileReader(trainFile," ",true,Type.LabelData)); 
  			Generator gen = new SFGenerator();
  			ZeroOneLoss l = new ZeroOneLoss();
  			Inferencer ms = new LinearMax(gen, factory.getLabelSize());
  			Update update = new LinearMaxPAUpdate(l);
  			OnlineTrainer trainer = new OnlineTrainer(ms, update,l, factory, 50,0.005f);
  			Linear pclassifier = trainer.train(instset,instset);
  			pipe.removeTargetPipe();
  			pclassifier.setPipe(pipe);
  			factory.setStopIncrement(true);
  			pclassifier.saveTo(modelFile);
  		}