Logo Lanfrica

Socret360/akara-ios

Domaine:

natural language processing

Type de record:

software
Créateur:
Soc
Hôte:
# 💡 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