Inverse text normalization API for other programming languages (#1019)
This commit is contained in:
@@ -21,7 +21,8 @@ namespace SherpaOnnx
|
||||
MaxActivePaths = 4;
|
||||
HotwordsFile = "";
|
||||
HotwordsScore = 1.5F;
|
||||
|
||||
RuleFsts = "";
|
||||
RuleFars = "";
|
||||
}
|
||||
public FeatureConfig FeatConfig;
|
||||
public OfflineModelConfig ModelConfig;
|
||||
@@ -36,5 +37,11 @@ namespace SherpaOnnx
|
||||
public string HotwordsFile;
|
||||
|
||||
public float HotwordsScore;
|
||||
|
||||
[MarshalAs(UnmanagedType.LPStr)]
|
||||
public string RuleFsts;
|
||||
|
||||
[MarshalAs(UnmanagedType.LPStr)]
|
||||
public string RuleFars;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user