Socret360 / akara-ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ’‘ AkaraIOS: Multi-Language Word Suggestions Toolkit for iOS

Platform Swift CocoaPods Compatible License

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

  • Word Suggestion

Language Support

  • Khmer
  • 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:

use_frameworks!
pod 'AkaraIOS'

Usage

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 https://github.com/Socret360/akara-android
akara-ios Active https://github.com/Socret360/akara-ios
akara-python Active https://github.com/Socret360/akara-python
akara-web TBC
akara-flutter TBC

Credits

Sequence Breaker:

WordBreaker:

Auto Completion

Spell Checker / Corrections

Next Word Suggestions

  • Khmer: Deep Learning (LSTM) trained by @ssokhavirith.
  • English: N/A

License

AkaraIOS is available under the MIT license. See the LICENSE file for more info.

About

License:MIT License


Languages

Language:Swift 96.2%Language:Ruby 3.8%