Skip to main content

josa 1.0.0 copy "josa: ^1.0.0" to clipboard
josa: ^1.0.0 copied to clipboard

Korean josa (particle) library for Dart and Flutter. Attaches the right form of a particle, such as 을/를 or 이/가, from the last syllable of a word.

example/main.dart

import 'package:josa/josa.dart';

void main() {
  print(Josa.of('을/를').of('간장')); // 간장을
  print(Josa.of('을/를').of('시계')); // 시계를
  print(Josa.of('은/는').of('사과')); // 사과는
  print(Josa.of('으로/로').of('건물')); // 건물로

  // Only the particle, without the word.
  print(Josa.of('이/가', withValue: false).of('나무')); // 가
}
8
likes
160
points
161
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Korean josa (particle) library for Dart and Flutter. Attaches the right form of a particle, such as 을/를 or 이/가, from the last syllable of a word.

Repository (GitHub)
View/report issues

Topics

#korean #hangul #i18n #localization #text

License

MIT (license)

More

Packages that depend on josa