public SequencePair ExtractFeatures(SentencePair sentence) { SequencePair sPair = new SequencePair(); sPair.autoEncoder = AutoEncoder; sPair.srcSentence = sentence.srcSentence; sPair.tgtSequence = ExtractFeatures(sentence.tgtSentence); return(sPair); }
public SequencePair BuildSequence(SentencePair sentence) { var sPair = new SequencePair { autoEncoder = Seq2SeqAutoEncoder, srcSentence = sentence.srcSentence, tgtSequence = BuildSequence(sentence.tgtSentence) }; return(sPair); }