toasted-nutbread a354becd51
Furigana distribution improvements (#1157)
* Improve furigana when reading kana is not an exact match

* Simplify group structure

* Return consistent type

* Add more tests

* Remove redundant isAmbiguous assignment

* Simplify group usage

* Add helper function

* Optimize returned arrays

* Use variable

* Remove s(p)lice calls

* Reduce number of convertKatakanaToHiragana calls

* Optimize text length access

* Optimize reading substring

* Move segmentize to a separate function

* Use var

* Use _createFuriganaSegment

* Optimize distributeFuriganaInflected
2020-12-22 11:02:19 -05:00
..
2020-12-12 14:57:24 -05:00
2020-09-26 13:41:26 -04:00
2020-09-22 20:09:12 -04:00
2020-09-04 17:59:38 -04:00
2020-10-17 16:33:11 -04:00
2020-09-08 10:53:41 -04:00
2020-11-24 11:54:08 -05:00
2020-11-14 18:12:06 -05:00
2020-10-17 16:33:11 -04:00
2020-05-24 13:50:34 -04:00
2020-12-18 13:35:20 -05:00