KantanManga
KantanManga copied to clipboard
Try to use J.DepP
Try to use J.DepP to generate 文節 form the MeCab output. J.DepP is written in C++, need to find a way to compile it to iOS. Maybe Objectiv-C++?
After looking more into this, it seems a little more complicated. Because J.DepP uses automake it needs to be configured before building. I think the general idea will be something like this:
- Configure and compile J.DepP for iOS. (some resources: makefile of libtesseract, article describing how to configure automake for iOS, another automake for iOS article).
- Because J.DepP is a command line tool, I'm not sure if I need to create an interface that exports the core funcionality.
- Create a wrapper on Objective-C or C to be able to import from Swift
Relevant: https://github.com/apple/swift/blob/main/docs/CppInteroperability/CppInteroperabilityManifesto.md