SwiftclassDocumentUnderstanding

class DocumentUnderstanding.DUIDClassificationImplementation

Members 11

  1. funcstatic containsDataDetector(for: String) -> (Bool, Int, [String])
  2. funcstatic hasRequiredClassifierAssets() -> Bool
  3. funcstatic isIDDocumentLLM(for: String, labelThreshold: Double) async throws -> (Bool, Double)?
  4. funcstatic textLengthGate(for: String, minLength: Int, maxLength: Int) -> (Bool, Int)
  5. deinitdeinit
  6. fieldvar currentlyLoadedLocale: Foundation.Locale?
  7. fieldvar idClassificationGatingModel: NLModel?+0x10
  8. fieldvar modelDescription: String?
  9. funcgetLoadedModelDescription() -> String?
  10. funcisIDDocument(for: String, labelKey: String, labelThreshold: Double, powerLogEvents: inout [DocumentUnderstanding.DUPowerEvent]) throws -> (Bool, Double, String?)
  11. initDocumentUnderstanding.DUIDClassificationImplementation.__allocating_init() -> DocumentUnderstanding.DUIDClassificationImplementation
class DUIDClassificationImplementation {
    var idClassificationGatingModel: __C.NLModel?
    var currentlyLoadedLocale: Foundation.Locale?
    var modelDescription: Swift.String?

    init()
    func getLoadedModelDescription() -> Swift.String?
    func isIDDocument(for: Swift.String, labelKey: Swift.String, labelThreshold: Swift.Double, powerLogEvents: inout [DocumentUnderstanding.DUPowerEvent]) throws -> (Swift.Bool, Swift.Double, Swift.String?)

    static func textLengthGate(for: Swift.String, minLength: Swift.Int, maxLength: Swift.Int) -> (Swift.Bool, Swift.Int)
    static func isIDDocumentLLM(for: Swift.String, labelThreshold: Swift.Double) async throws -> (Swift.Bool, Swift.Double)?
    static func containsDataDetector(for: Swift.String) -> (Swift.Bool, Swift.Int, [Swift.String])
    static func hasRequiredClassifierAssets() -> Swift.Bool

    deinit
}