Commit Graph

36 Commits

Author SHA1 Message Date
toasted-nutbread
34451ebf71
JapaneseUtil normalization (#1076)
* Use JapaneseUtil as a class which is manually instantiated

* Use alias function for toKana
2020-11-29 13:09:02 -05:00
toasted-nutbread
008ffdb6bf
Frequencies marker (#1074)
* Update japanese.js tests

* Simplify fallback/early exit

* Add overloads to furigana and furiganaPlain handlebars helper functions

* Expose unique expression/reading arrays (and subsequently counts)

* Add {frequencies} marker
2020-11-28 14:30:50 -05:00
toasted-nutbread
4ca6101273
Improve convertKatakanaToHiragana and convertHiraganaToKatakana (#916) 2020-10-13 21:48:21 -04:00
toasted-nutbread
f361139d74
Japanese util refactor (#510)
* Convert mixed japanese.js to utility class

* Copy functions from bg/js/japanese.js into mixed/js/japanese.js

* Remove bg/js/japanese.js

* Make wanakana dependency optional

* Update tests
2020-05-06 19:37:36 -04:00
toasted-nutbread
2f931e5585 Fix high pitch calculation 2020-04-22 21:04:18 -04:00
4e5029f7ec Update license author field to broader to explicitly reflect that
Yomichan is an ongoing community project. It really does take a village,
and everyone who contributes code owns a part of it :)
2020-04-10 11:10:21 -07:00
toasted-nutbread
0d80fcdf86 Move Japanese utility functions out of display-generator.js 2020-03-28 10:47:02 -04:00
toasted-nutbread
77a2cc60e9 Move basic string/character testing functions into a mixed/js/japanese.js 2020-03-21 13:18:34 -04:00
toasted-nutbread
165959ef06 Move japanese.js into bg 2020-02-08 20:45:30 -05:00
siikamiika
7357eaf07a
Merge pull request #330 from siikamiika/query-parser-helper-disabling
Query parser helper disabling
2020-01-25 03:29:55 +02:00
toasted-nutbread
be645c2c98 Add support for dashes 2020-01-24 20:15:25 -05:00
toasted-nutbread
46e3d72641 Move where 'a' character offset is applied 2020-01-24 20:15:25 -05:00
toasted-nutbread
317bf35bc0 Replace and remove old character/string testing functions 2020-01-24 20:15:25 -05:00
toasted-nutbread
1fa8a59626 Create new character/string testing functions 2020-01-24 20:15:25 -05:00
toasted-nutbread
9b509d50a9 Add character range definitions 2020-01-24 20:15:25 -05:00
toasted-nutbread
3c17388ff8 Update constant naming convention 2020-01-24 20:15:25 -05:00
toasted-nutbread
b5015264f2 Include half width and full width characters as Japanese characters 2020-01-24 20:15:25 -05:00
toasted-nutbread
86d96a9036 Update detection of Japanese characters 2020-01-24 20:15:25 -05:00
toasted-nutbread
be2e6e0d93 Optimize jpIsKanji and jpIsKana 2020-01-24 20:15:25 -05:00
toasted-nutbread
73cc64fb5c Implement new translation options 2020-01-24 20:15:25 -05:00
siikamiika
aa5a044dad query parser: add reading mode 'none' 2020-01-25 02:56:14 +02:00
toasted-nutbread
0d7ccf25b8 Update license info URL 2020-01-01 12:00:31 -05:00
toasted-nutbread
899ef167d1 Update copyright 2020-01-01 12:00:00 -05:00
toasted-nutbread
bb334acab6 Use substring instead of slice 2019-12-08 16:01:29 -05:00
siikamiika
c2ff25b0ec use fallback for ambiguous furigana
fixes #281, fixes #94
2019-11-27 01:20:04 +02:00
siikamiika
cc8221c6ea add reading modes 2019-11-23 17:50:46 +02:00
siikamiika
84f30113e4 give names to complex slices 2019-11-23 17:50:46 +02:00
siikamiika
1700318988 remove unneeded feature
Unidic actually has a field for the base form of the input
2019-11-23 17:45:44 +02:00
siikamiika
41020289ab add mecab support 2019-11-23 17:45:44 +02:00
siikamiika
29c38b06b2 only paste Japanese text from clipboard 2019-11-13 13:51:47 +02:00
f6df5db556 . 2017-08-26 12:21:28 -07:00
190c749527 improved furigana support 2017-08-26 11:57:34 -07:00
a4c3ba434a fixing syntax issues 2017-08-23 20:56:52 -07:00
Yoitsumi
c89678f5db Improve {furigana} marker for anki export 2017-08-20 16:07:55 +02:00
61dde5b3b7 upgrade to wanikana 2.2.3 (fixes #42) 2017-08-14 23:10:59 -07:00
26e1cc517f refactor 2017-07-18 23:07:46 -07:00