From 5cfb4de4fc5b764fc3bc9727b91ba150142c2ec3 Mon Sep 17 00:00:00 2001 From: omonomo Date: Thu, 28 Sep 2023 22:17:36 +0900 Subject: [PATCH] =?UTF-8?q?[Update]=20=E3=82=B0=E3=83=AA=E3=83=95=E5=80=8B?= =?UTF-8?q?=E5=88=A5=E3=81=AE=E3=82=AB=E3=83=BC=E3=83=8B=E3=83=B3=E3=82=B0?= =?UTF-8?q?=E8=A8=AD=E5=AE=9A=E3=82=92=E8=AA=BF=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- calt_table_maker.sh | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/calt_table_maker.sh b/calt_table_maker.sh index d8e5b116..6f79088f 100755 --- a/calt_table_maker.sh +++ b/calt_table_maker.sh @@ -614,27 +614,13 @@ input=("jC") chain_context "${index}" "${backtrack[*]}" "${input[*]}" "" "${lookupIndexC}" index=`expr ${index} + 1` -# 左が幅広以外の文字、j 左に移動 -backtrack=("${gravityLR[@]}" "${gravityRR[@]}" "${gravityER[@]}" "${gravityMR[@]}" "${gravityVR[@]}" "${gravityCR[@]}" \ -"${gravityLC[@]}" "${gravityRC[@]}" "${gravityEC[@]}" "${gravityMC[@]}" "${gravityVC[@]}" "${gravityCC[@]}") +# 左が全ての文字、j 左に移動 +backtrack=("${gravityLR[@]}" "${gravityRR[@]}" "${gravityWR[@]}" "${gravityER[@]}" "${gravityMR[@]}" "${gravityVR[@]}" "${gravityCR[@]}" \ +"${gravityLC[@]}" "${gravityRC[@]}" "${gravityWC[@]}" "${gravityEC[@]}" "${gravityMC[@]}" "${gravityVC[@]}" "${gravityCC[@]}") input=("jC") chain_context "${index}" "${backtrack[*]}" "${input[*]}" "" "${lookupIndexL}" index=`expr ${index} + 1` -# y に関する例外処理 ---------------------------------------- - -# 左が Rkp の場合 y 左に移動しない -backtrack=("RC" "kC" "pC") -input=("yC") -chain_context "${index}" "${backtrack[*]}" "${input[*]}" "" "${lookupIndexC}" -index=`expr ${index} + 1` - -# 右が y の場合 Rkp 右に移動しない -input=("RC" "kC" "pC") -lookAhead=("yC") -chain_context "${index}" "" "${input[*]}" "${lookAhead[*]}" "${lookupIndexC}" -index=`expr ${index} + 1` - # 左を見て移動させない(絶対移動させない)通常処理 ---------------------------------------- # 左を見る 左寄りの文字、幅広な文字、均等な文字 移動しない