Fix building (#1343)
This commit is contained in:
@@ -22,6 +22,8 @@ namespace SherpaOnnx
|
||||
ModelType = "";
|
||||
ModelingUnit = "cjkchar";
|
||||
BpeVocab = "";
|
||||
TokensBuf = "";
|
||||
TokensBufSize = 0;
|
||||
}
|
||||
|
||||
public OnlineTransducerModelConfig Transducer;
|
||||
@@ -48,6 +50,11 @@ namespace SherpaOnnx
|
||||
|
||||
[MarshalAs(UnmanagedType.LPStr)]
|
||||
public string BpeVocab;
|
||||
|
||||
[MarshalAs(UnmanagedType.LPStr)]
|
||||
public string TokensBuf;
|
||||
|
||||
public int TokensBufSize;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace SherpaOnnx
|
||||
RuleFsts = "";
|
||||
RuleFars = "";
|
||||
BlankPenalty = 0.0F;
|
||||
HotwordsBuf = "";
|
||||
HotwordsBufSize = 0;
|
||||
}
|
||||
public FeatureConfig FeatConfig;
|
||||
public OnlineModelConfig ModelConfig;
|
||||
@@ -72,5 +74,10 @@ namespace SherpaOnnx
|
||||
public string RuleFars;
|
||||
|
||||
public float BlankPenalty;
|
||||
|
||||
[MarshalAs(UnmanagedType.LPStr)]
|
||||
public string HotwordsBuf;
|
||||
|
||||
public int HotwordsBufSize;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user