sumom****@users*****
sumom****@users*****
2013年 12月 18日 (水) 12:55:21 JST
Index: julius4/plugin/fvin.c diff -u julius4/plugin/fvin.c:1.3 julius4/plugin/fvin.c:1.4 --- julius4/plugin/fvin.c:1.3 Sat Nov 14 14:09:44 2009 +++ julius4/plugin/fvin.c Wed Dec 18 12:55:21 2013 @@ -12,7 +12,7 @@ * @author Akinobu Lee * @date Mon Aug 11 17:05:17 2008 * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * */ @@ -184,6 +184,9 @@ * checking the input parameter type against acousitc model, and * you can disable the checking by returning "0xffff" to this opcode. * + * When opcode = 3, should return 0 if the input vector is feature + * vector, and 1 if the input is outprob vector. + * * @param opcode [in] requested operation code * * @return values required for the opcode as described. @@ -204,6 +207,8 @@ * エンコードされた値を返す.型チェックを行わない場合は, * 0xffff を返すこと. * + * opcode =3 のとき特徴量ベクトル入力なら 0, 出力確率ベクトルなら1を返す. + * * @param opcode [in] 要求動作コード (現在 0 のみ実装) * * @return opcode ごとに要求された値を返す. @@ -220,6 +225,8 @@ case 2:/* return parameter type specification in HTK format */ /* return 0xffff to disable checking */ return(0xffff); + case 3:/* return 0 if feature vector input, 1 if outprob vector input */ + return(0); } }