Merge branch 'develop' into feat/enhance-email-lookup

This commit is contained in:
Miwa
2025-02-09 02:45:31 +09:00
committed by GitHub
5 changed files with 9 additions and 10 deletions

View File

@@ -34,7 +34,7 @@ extension Subcommands.Dict {
abstract: "Read dictionary data and extract informations"
)
@MainActor mutating func run() throws {
mutating func run() throws {
guard #available(macOS 13, *) else {
return
}

View File

@@ -611,7 +611,6 @@ import SwiftNGram
return nil
}
print("ConvertToLattice ", zenzaiMode)
// FIXME: enable cache based zenzai
if zenzaiMode.enabled, let model = self.getModel(modelURL: zenzaiMode.weightURL) {
let (result, nodes, cache) = self.converter.all_zenzai(