Package net.sourceforge.align.progress

Examples of net.sourceforge.align.progress.ProgressMeter.completeTask()


      int y = forwardIterator.getY();
      float data = createForwardData(x, y, sourceSegmentList,
          targetSegmentList, forwardMatrix);
      forwardMatrix.set(x, y, data);

      progress.completeTask();
    }
   
    Matrix<Float> backwardMatrix = matrixFactory.createMatrix(
        sourceSegmentList.size() + 1, targetSegmentList.size() + 1);
    MatrixIterator<Float> backwardIterator = backwardMatrix.getIterator();
View Full Code Here


      int y = backwardIterator.getY();
      float data = createBackwardData(x, y, sourceSegmentList,
          targetSegmentList, backwardMatrix);
      backwardMatrix.set(x, y, data);
     
      progress.completeTask();
    }

    List<Alignment> alignmentList = new ArrayList<Alignment>();
   
    float totalScore = forwardMatrix.get(sourceSegmentList.size(),
View Full Code Here

      int y = iterator.getY();
      ViterbiData data = createData(x, y,  sourceSegmentList,
          targetSegmentList, matrix);
      matrix.set(x, y, data);
     
      progress.completeTask();
    }
   
    List<Alignment> alignmentList = backtrace(sourceSegmentList,
        targetSegmentList, matrix);
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.