text_latin_reading 0.1.2 copy "text_latin_reading: ^0.1.2" to clipboard
text_latin_reading: ^0.1.2 copied to clipboard

Shows how text sounds, written in Latin letters. Japanese readings come from the system dictionary on iOS and from a bundled morphological dictionary on Android; other scripts go through ICU.

0.1.2 #

  • iOS で日本語以外の読みが出なかった問題を直しました。 NSMutableString をその場で CFMutableString にキャストして元の参照を 捨てていたため、CFStringTransform の結果を読み戻せていませんでした。 参照を保持したまま読み直すようにしました。
  • 変換しても元の文字列と変わらない場合は、読みを返さないようにしました。

0.1.1 #

  • ラテン文字の言語の一覧に 'et' が2つ入っていて、ビルドが通らない状態でした。 Dart は const set の重複をコンパイルエラーにします。取り除きました。 0.1.0 は使えません。0.1.1 を使ってください。

0.1.0 #

  • 初版。文字列の読みをラテン文字で返します。
  • iOS は日本語を Apple の辞書(CFStringTokenizer)から取り、 それ以外は ICU の Any-Latin にかけます。
  • Android は日本語を kuromoji(辞書同梱)から取り、 それ以外は ICU の Any-Latin にかけます。ICU は API 24 以降です。
  • もともとラテン文字で書く言語は null を返します。
0
likes
130
points
230
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Shows how text sounds, written in Latin letters. Japanese readings come from the system dictionary on iOS and from a bundled morphological dictionary on Android; other scripts go through ICU.

Repository (GitHub)

License

MIT (license)

Dependencies

flutter

More

Packages that depend on text_latin_reading

Packages that implement text_latin_reading