Open Tanying1219 opened 2 years ago
请问出现这个是什么问题?感谢 python -m opencc -i wiki.zh.text -o wiki.zh.text.jian -c t2s Traceback (most recent call last): File "D:\ProgramData\Anaconda3\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "D:\ProgramData\Anaconda3\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "D:\ProgramData\Anaconda3\lib\site-packages\opencc__main.py", line 41, in sys.exit(main()) File "D:\ProgramData\Anaconda3\lib\site-packages\opencc\main__.py", line 31, in main input_str = f.read() File "D:\ProgramData\Anaconda3\lib\codecs.py", line 322, in decode (result, consumed) = self._buffer_decode(data, self.errors, final) MemoryError
How big was the input file size wiki.zh.text?
请问出现这个是什么问题?感谢 python -m opencc -i wiki.zh.text -o wiki.zh.text.jian -c t2s Traceback (most recent call last): File "D:\ProgramData\Anaconda3\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "D:\ProgramData\Anaconda3\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "D:\ProgramData\Anaconda3\lib\site-packages\opencc__main.py", line 41, in
sys.exit(main())
File "D:\ProgramData\Anaconda3\lib\site-packages\opencc\ main__.py", line 31, in main
input_str = f.read()
File "D:\ProgramData\Anaconda3\lib\codecs.py", line 322, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
MemoryError