diff --git a/CHANGELOG.md b/CHANGELOG.md index afbd575..00ae1a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # Changelog + このBOTの更新を追跡するための更新ログ。 変更をコミットする場合は`Unreleased`に更新内容を追記してください。 [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)に従って記述をお願い致します。 @@ -9,6 +10,8 @@ ### Changed +- 辞書の適用順番を、省略辞書が一番最初に適用されるように変更 + ### Deprecated ### Removed @@ -20,31 +23,37 @@ ## [2.0.0-alpha.6] - 2023-08-29 ### Fixed + - スレッドが大量生成されOutOfMemoryになる問題を修正 ## [2.0.0-alpha.5] - 2023-07-27 ### Fixed + - 返信またはピン止め時に読まれるユーザ名がI-TTSのニックネームを参照していなかった問題を修正 ## [2.0.0-alpha.4] - 2023-07-26 ### Fixed + - VCに参加していないユーザのメンションを読み上げる際にニックネームではなくIDを読み上げる問題を修正 ## [2.0.0-alpha.3] - 2023-06-09 ### Fixed + - タイマーの処理中にエラーが発生した場合、タイマーが停止する問題を修正 ## [2.0.0-alpha.2] - 2023-06-05 ### Fixed + - ピン留めされた時に読み上げられるメッセージの不具合を修正 ## [2.0.0-alpha.1] - 2023-06-03 ### Added + - 初期リリース [Unreleased]: https://github.com/TeamFelnull/I-TTS/compare/v2.0.0-alpha.3...HEAD diff --git a/core/src/main/java/dev/felnull/itts/core/dict/AbbreviationDictionary.java b/core/src/main/java/dev/felnull/itts/core/dict/AbbreviationDictionary.java index b0e7081..cdd9056 100644 --- a/core/src/main/java/dev/felnull/itts/core/dict/AbbreviationDictionary.java +++ b/core/src/main/java/dev/felnull/itts/core/dict/AbbreviationDictionary.java @@ -39,6 +39,6 @@ public boolean isBuiltIn() { @Override public int getDefaultPriority() { - return 3; + return 1; } } diff --git a/core/src/main/java/dev/felnull/itts/core/dict/GlobalDictionary.java b/core/src/main/java/dev/felnull/itts/core/dict/GlobalDictionary.java index 6da8c4a..a027838 100644 --- a/core/src/main/java/dev/felnull/itts/core/dict/GlobalDictionary.java +++ b/core/src/main/java/dev/felnull/itts/core/dict/GlobalDictionary.java @@ -35,7 +35,7 @@ public boolean isBuiltIn() { @Override public int getDefaultPriority() { - return 2; + return 3; } @Override diff --git a/core/src/main/java/dev/felnull/itts/core/dict/RomajiDictionary.java b/core/src/main/java/dev/felnull/itts/core/dict/RomajiDictionary.java index 5a80d4e..8786c8c 100644 --- a/core/src/main/java/dev/felnull/itts/core/dict/RomajiDictionary.java +++ b/core/src/main/java/dev/felnull/itts/core/dict/RomajiDictionary.java @@ -36,6 +36,6 @@ public boolean isBuiltIn() { @Override public int getDefaultPriority() { - return 5; + return 4; } } diff --git a/core/src/main/java/dev/felnull/itts/core/dict/ServerDictionary.java b/core/src/main/java/dev/felnull/itts/core/dict/ServerDictionary.java index c3cc48a..6224104 100644 --- a/core/src/main/java/dev/felnull/itts/core/dict/ServerDictionary.java +++ b/core/src/main/java/dev/felnull/itts/core/dict/ServerDictionary.java @@ -35,7 +35,7 @@ public boolean isBuiltIn() { @Override public int getDefaultPriority() { - return 1; + return 2; } @Override diff --git a/core/src/main/java/dev/felnull/itts/core/dict/UnitDictionary.java b/core/src/main/java/dev/felnull/itts/core/dict/UnitDictionary.java index 6c221ba..99dcdf7 100644 --- a/core/src/main/java/dev/felnull/itts/core/dict/UnitDictionary.java +++ b/core/src/main/java/dev/felnull/itts/core/dict/UnitDictionary.java @@ -138,7 +138,7 @@ private String replaceUnitAndPrefix(String text, String after) { @Override public int getDefaultPriority() { - return 4; + return 3; } //https://www.mikipulley.co.jp/JP/Services/Tech_data/tech01.html