Skip to content

Commit

Permalink
romaji to kana
Browse files Browse the repository at this point in the history
  • Loading branch information
khaitruong922 committed Sep 13, 2024
1 parent e0476c4 commit 3a5e35c
Show file tree
Hide file tree
Showing 6 changed files with 1,397 additions and 1,397 deletions.
614 changes: 307 additions & 307 deletions ext/js/language/ja/japanese-transforms.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions ext/js/language/sga/old-irish-transforms.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

import {prefixInflection, suffixInflection} from '../language-transforms.js';
import { prefixInflection, suffixInflection } from '../language-transforms.js';

Check failure on line 18 in ext/js/language/sga/old-irish-transforms.js

View workflow job for this annotation

GitHub Actions / Static Analysis

There should be no space after '{'

Check failure on line 18 in ext/js/language/sga/old-irish-transforms.js

View workflow job for this annotation

GitHub Actions / Static Analysis

There should be no space before '}'

/** @typedef {keyof typeof conditions} Condition */

Expand Down Expand Up @@ -200,7 +200,7 @@ export const oldIrishTransforms = {
prefixInflection('d-d', 'd', [], []),
prefixInflection('r-r', 'r', [], []),
prefixInflection('l-l', 'l', [], []),
prefixInflection('n-n', 'n', [], []),
prefixInflection('n-', 'n', [], []),
prefixInflection('m-m', 'm', [], []),
prefixInflection('s-s', 's', [], []),
],
Expand Down
14 changes: 7 additions & 7 deletions test/data/anki-note-builder-test-results.json
Original file line number Diff line number Diff line change
Expand Up @@ -2047,7 +2047,7 @@
"cloze-body-kana": "うちこんでいませんでした",
"cloze-prefix": "cloze-prefix",
"cloze-suffix": "cloze-suffix",
"conjugation": "-te « -teiru « -masu « negative « -ta",
"conjugation": "- « -ている « -ます « negative « -",
"dictionary": "Test Dictionary 2",
"dictionary-alias": "termsDictAlias",
"document-title": "title",
Expand Down Expand Up @@ -2089,7 +2089,7 @@
"cloze-body-kana": "ぶちこんでいませんでした",
"cloze-prefix": "cloze-prefix",
"cloze-suffix": "cloze-suffix",
"conjugation": "-te « -teiru « -masu « negative « -ta",
"conjugation": "- « -ている « -ます « negative « -",
"dictionary": "Test Dictionary 2",
"dictionary-alias": "termsDictAlias",
"document-title": "title",
Expand Down Expand Up @@ -2131,7 +2131,7 @@
"cloze-body-kana": "うちこんでいませんでした",
"cloze-prefix": "cloze-prefix",
"cloze-suffix": "cloze-suffix",
"conjugation": "-te « -teiru « -masu « negative « -ta",
"conjugation": "- « -ている « -ます « negative « -",
"dictionary": "Test Dictionary 2",
"dictionary-alias": "termsDictAlias",
"document-title": "title",
Expand Down Expand Up @@ -2173,7 +2173,7 @@
"cloze-body-kana": "ぶちこんでいませんでした",
"cloze-prefix": "cloze-prefix",
"cloze-suffix": "cloze-suffix",
"conjugation": "-te « -teiru « -masu « negative « -ta",
"conjugation": "- « -ている « -ます « negative « -",
"dictionary": "Test Dictionary 2",
"dictionary-alias": "termsDictAlias",
"document-title": "title",
Expand Down Expand Up @@ -3416,7 +3416,7 @@
"cloze-body-kana": "testました",
"cloze-prefix": "cloze-prefix",
"cloze-suffix": "cloze-suffix",
"conjugation": "-masu « -ta",
"conjugation": "-ます « -",
"dictionary": "Test Dictionary 2",
"dictionary-alias": "termsDictAlias",
"document-title": "title",
Expand Down Expand Up @@ -3881,7 +3881,7 @@
"cloze-body-kana": "のたもうた",
"cloze-prefix": "cloze-prefix",
"cloze-suffix": "cloze-suffix",
"conjugation": "<ul><li>-ta</li><li>-ta « kansai-ben</li><li>past</li></ul>",
"conjugation": "<ul><li>-</li><li>- « kansai-ben</li><li>past</li></ul>",
"dictionary": "Test Dictionary 2",
"dictionary-alias": "termsDictAlias",
"document-title": "title",
Expand Down Expand Up @@ -4383,7 +4383,7 @@
"cloze-body-kana": "すっっごーーい",
"cloze-prefix": "cloze-prefix",
"cloze-suffix": "cloze-suffix",
"conjugation": "<ul><li>-ku « kansai-ben</li></ul>",
"conjugation": "<ul><li>- « kansai-ben</li></ul>",
"dictionary": "Test Dictionary 2",
"dictionary-alias": "termsDictAlias",
"document-title": "title",
Expand Down
Loading

0 comments on commit 3a5e35c

Please sign in to comment.