SortByInput() public abstract method

public abstract SortByInput ( ) : void
return void
コード例 #1
0
ファイル: BeamSearch.cs プロジェクト: nickun/OCRonet
 public static void beam_search(
         Intarray vertices1,
         Intarray vertices2,
         Intarray inputs,
         Intarray outputs,
         Floatarray costs,
         OcroFST fst1,
         OcroFST fst2,
         int beam_width)
 {
     BeamSearch b = new BeamSearch(fst1, fst2, beam_width);
     //CHECK(L_SIGMA < L_EPSILON);
     //CHECK(L_RHO < L_PHI);
     //CHECK(L_PHI < L_EPSILON);
     //CHECK(L_EPSILON < 1);
     fst1.SortByOutput();
     fst2.SortByInput();
     b.BestPath(vertices1, vertices2, inputs, outputs, costs);
 }
コード例 #2
0
ファイル: BeamSearch.cs プロジェクト: liaoheping/OCRonet
        public static void beam_search(
            Intarray vertices1,
            Intarray vertices2,
            Intarray inputs,
            Intarray outputs,
            Floatarray costs,
            OcroFST fst1,
            OcroFST fst2,
            int beam_width)
        {
            BeamSearch b = new BeamSearch(fst1, fst2, beam_width);

            //CHECK(L_SIGMA < L_EPSILON);
            //CHECK(L_RHO < L_PHI);
            //CHECK(L_PHI < L_EPSILON);
            //CHECK(L_EPSILON < 1);
            fst1.SortByOutput();
            fst2.SortByInput();
            b.BestPath(vertices1, vertices2, inputs, outputs, costs);
        }