複数単語 - 複数単語の変換ツールを作成中
まさにこんな感じで
I have a cat, a dog, and a goat.
- cat → dog
- dog → goat
- goat → cat
な置換が行えるツールを作成中。
一応動くけど、エラー処理が全く作り込まれていない
https://yuyabu.github.io/multiple-word-replacer/
一番上のテキストエリアはcsvかtsvで変換する単語の対応を書きます
cat,dog dog,goat goat,cat
2番目のテキストエリアは変換対象の文章を入力します
I have a cat, a dog, and a goat.
変換ボタンを押すと置換文章が3番目のテキストエリアに出力されます
I have a dog, a goat, and a cat.