Does not work under macos(m2)
how to reproduce:
1, arch -arm64 brew install opencc
2, opencc -i test.txt -o out.txt
3, cat out.txt output :
千家詩卷一
五言絕句
春眠 孟浩然
春眠不覺曉 處處聞啼鳥 夜來風雨聲 花落知多少
the testcase of out.txt:
千家詩卷一
五言絕句
春眠 孟浩然
春眠不覺曉 處處聞啼鳥 夜來風雨聲 花落知多少
Does opencc -i test.txt -o out.txt -c t2s.json work?
opencc always ignore the -o flag in my case, it directly prints to the console
opencc always ignore the
-oflag in my case, it directly prints to the console
On macOS? I am using version opencc 1.1.9 which was installed with brew, without any problem of the option -o. However, I have to use the option -c t2s.json, otherwise it does not convert like udyk-dev described above.
opencc always ignore the
-oflag in my case, it directly prints to the consoleOn macOS? I am using version opencc 1.1.9 which was installed with
brew, without any problem of the option-o. However, I have to use the option-c t2s.json, otherwise it does not convert like udyk-dev described above.
i have tried but it doesn't work. i ended up using python SDK