Logo Lanfrica

Socret360/akara-ios

Domain:

natural language processing

Record type:

software
Creator:
Soc
Host:
# πŸ’‘ AkaraIOS: Multi-Language Word Suggestions Toolkit for iOS The AKARA (αž’αž€αŸ’αžαžšαžΆ) project aims to give developers the power to easily add multi-language word suggestions support to their applications. AkaraIOS offers this exciting feature to iOS developers. ## Features - [x] Word Suggestion ## Language Support - [x] Khmer - [x] English ## Road Maps - [ ] Next Word Suggestion for English - [ ] Personalize Suggestions based on NGram - [ ] Support for Other Languages. (Planing for Thai and Chinese) ## Requirements - iOS 11.0+ - Xcode 10.0+ - Swift 4+ ## Installation ### CocoaPods AkaraIOS is available through CocoaPods. To integrate AkaraIOS into your project, simply add the following line to your Podfile: ```ruby use_frameworks! pod 'AkaraIOS' ``` ## Usage ```swift let akara = Akara() DispatchQueue.global(qos: .background).async { let sentence = "αž―αž„αž“αŸαŸ‡αž˜αž½αž™αž™αž”αŸ‹αŸ—αžŠαŸαž€αžαŸ’αžœαž›αŸ‹αžšαžΏαž„αž’αž“αžΆαž‚αžαž˜αž·αž“αžŠαžΉαž„αž’αŸ’αžœαžΎαž’αžΈαž…αž·αž‰αŸ’αž…αžΉαž˜αžαŸ’αž›αž½αž“αž˜αž½αž™αž“αŸαŸ‡αžšαžŸαŸ‹" akara.suggest(sentence: sentence) { (suggestionType, suggestions, sequences, words) -> Void in DispatchQueue.main.async { print("input: \(sentence)") print("sequences: \(sequences)") print("words: \(words)") print("suggestions: \(suggestions.suffix(3))") print("suggestionType: \(suggestionType)") print("======") } } } ``` ## Want to Help? Code contributions are welcome for this project and other AKARA related projects. | Project | Status | URL | | ------------- |:-------------:| -----:| | akara-android | Active | Socret360/akara-android | | akara-ios | Active | github.com | | akara-python | Active | github.com | | akara-web | TBC || | akara-flutter | TBC || ## Credits ### Sequence Breaker: - Using simple space splitting and MLKit Language Identification to determine sequence language. ### WordBreaker: - Khmer: Deep Learning (LSTM) based on Joint Khmer Word Segmentation and Part-of-Speech Tagging Using Deep Lea …

Languages

Licenses