SwiftstructTranslationInference

struct TranslationInference.DecodingParameters

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 6

  1. funcstatic load(from: Foundation.URL) -> TranslationInference.DecodingParameters
  2. funcstatic loadFromPhrasebookAsset(phrasebookAssetURL: Foundation.URL?) -> TranslationInference.DecodingParameters
  3. fieldlet languageFertilityFactor: [String : Float]+0x10
  4. fieldlet maxTokenFertility: Float+0x0
  5. fieldlet maxTokenMiniumum: Int+0x8
  6. initinit(maxTokenFertility: Float, maxTokenMiniumum: Int, languageFertilityFactor: [String : Float]) -> TranslationInference.DecodingParameters
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
}