SwiftstructTranslationInference
DecodingParameters
struct TranslationInference.DecodingParameters
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Decodable
- protocolSwift.Encodable
Members 6
- func
static load(from: Foundation.URL) -> TranslationInference.DecodingParameters - func
static loadFromPhrasebookAsset(phrasebookAssetURL: Foundation.URL?) -> TranslationInference.DecodingParameters - field
let languageFertilityFactor: [String : Float]+0x10 - field
let maxTokenFertility: Float+0x0 - field
let maxTokenMiniumum: Int+0x8 - init
init(maxTokenFertility: Float, maxTokenMiniumum: Int, languageFertilityFactor: [String : Float]) -> TranslationInference.DecodingParameters
Header
struct DecodingParameters { enum CodingKeys { case maxTokenFertility case maxTokenMiniumum case languageFertilityFactor } let maxTokenFertility: Swift.Float let maxTokenMiniumum: Swift.Int let languageFertilityFactor: [Swift.String : Swift.Float] init(maxTokenFertility: Swift.Float, maxTokenMiniumum: Swift.Int, languageFertilityFactor: [Swift.String : Swift.Float]) static func loadFromPhrasebookAsset(phrasebookAssetURL: Foundation.URL?) -> TranslationInference.DecodingParameters static func load(from: Foundation.URL) -> TranslationInference.DecodingParameters }