Package joshua.corpus.alignment

Examples of joshua.corpus.alignment.AlignmentArray


       
        alignedSourceIndices[i] = new int[1];
        alignedSourceIndices[i][0] = i;
      }
    }
    Alignments alignments = new AlignmentArray(alignedTargetIndices, alignedSourceIndices, 1);
   
    CorpusArray targetCorpus = new CorpusArray(sentenceF, sentenceStartPositions, vocab);
    SuffixArray targetSuffixes = new SuffixArray(targetCorpus);

    CorpusArray sourceCorpus = new CorpusArray(sentence, sentenceStartPositions, vocab);
View Full Code Here


        }
      }
     
     
      //alignments = new AlignmentArray(lowestAlignedTargetIndex, highestAlignedTargetIndex, lowestAlignedSourceIndex, highestAlignedSourceIndex, alignedTargetIndices, alignedSourceIndices);
      alignments = new AlignmentArray(alignedTargetIndices, alignedSourceIndices, 1);
     
     
    }
   
    {
View Full Code Here

      }

      sentenceCounter++;
    }

    return new AlignmentArray(alignedTargetIndices, alignedSourceIndices, sentenceCounter);
  }
View Full Code Here

TOP

Related Classes of joshua.corpus.alignment.AlignmentArray

Copyright © 2018 www.massapicom. 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.