Chao Kong

Results 5 comments of Chao Kong

> Hey all, not overly experienced with git so pardon the atrocious formatting but I fixed this by modifying the following.... > > Line 439 of data_generation.py old: for pt...

> Simply change `start = time.clock()` to `start = time.perf_counter()` in the file: `thulac/character/CBTaggingDecoder.py`, the program will run well Modifying the source code isn't a good practice, since that means...

> 也遇到了这个问题,win10+python3.7 请问有没有解决的办法了呀 只能用个奇技淫巧了,先定义个context manager ``` from contextlib import contextmanager @contextmanager def use_utf8_open(): from functools import partial import builtins builtin_open = open utf8_open = partial(open, encoding="utf-8") builtins.open = utf8_open try:...

The conversion can be done easily by tools such as `ffmpeg`. I'm not a contributor, but I guess that implementation of mp3 file writing in pure C/C++ without the ffmpeg...

MFA makes use of a sqlite database to store its data, so make sure the sqlite database file does exist and maybe try `sudo mfa tarin ...` to ensure you...