Swiftpack.co - Package - bugkingK/KoreanKit

KoreanKit

You can separate the initial, neutral, and finalities of Hangul. You can check if the text is syllable

Installation

CocoaPods:

pod 'KoreanKit'

Manual:

Copy KoreanKit.swift to your project.

Swift Package Manager:

You can use The Swift Package Manager to install KoreanKit by adding the proper description to your Package.swift file:


let package = Package(
    name: "YOUR_PROJECT_NAME",
    dependencies: [
        .package(url: "https://github.com/bugkingK/KoreanKit.git", from: "1.0.0"),
    ]
)

Then run swift build whenever you get prepared.

Using KoreanKit


let korean = KoreanKit()
// ㅇㄴㅎㅅㅇ Hello
print(korean.split("안녕하세요 Hello", syllable: .initial))
// false
print(korean.isSyllable("ㄲ", syllable: .medial))

License

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

Github

link
Stars: 2

Dependencies

Used By

Total: 0

Releases

release 1.0.1 - 2020-01-16 08:03:52

release 1.0.0 - 2020-01-16 07:41:40