Beispiel #1
0
 /// <summary>
 /// Instantiates an FST/FSA builder without any pruning. A shortcut
 /// to <see cref="Builder{T}.Builder(FST.INPUT_TYPE, int, int, bool, bool, int, Outputs{T}, FreezeTail{T}, bool, float, bool, int)"/>
 /// with pruning options turned off.
 /// </summary>
 public Builder(FST.INPUT_TYPE inputType, Outputs <T> outputs)
     : this(inputType, 0, 0, true, true, int.MaxValue, outputs, null, false, PackedInt32s.COMPACT, true, 15)
 {
 }
Beispiel #2
0
 public PairOutputs(Outputs <A> outputs1, Outputs <B> outputs2)
 {
     this.outputs1 = outputs1;
     this.outputs2 = outputs2;
     NO_OUTPUT     = new Pair(outputs1.NoOutput, outputs2.NoOutput);
 }
Beispiel #3
0
 /// <summary>
 /// Instantiates an FST/FSA builder without any pruning. A shortcut
 /// to <see cref="Builder{T}.Builder(FST.INPUT_TYPE, int, int, bool, bool, int, Outputs{T}, FreezeTail{T}, bool, float, bool, int)"/>
 /// with pruning options turned off.
 /// </summary>
 public Builder(FST.INPUT_TYPE inputType, Outputs <T> outputs)
     : this(inputType, 0, 0, true, true, int.MaxValue, outputs, null, false, PackedInt32s.COMPACT, true, 15)
 {
     var x = new System.Text.StringBuilder();
 }