Coder Social home page Coder Social logo

Comments (22)

tumashu avatar tumashu commented on August 18, 2024

我记得应该有一个FinishXXX文件。。。

from pyim.

et2010 avatar et2010 commented on August 18, 2024

刚才只是用了一个比较小的文件试的,我又试了一个4M的文件,连Convert文件也是空白的了。没有Finish开头的文件

from pyim.

et2010 avatar et2010 commented on August 18, 2024

搜狗的核心词库文件:
pyim.txt

from pyim.

et2010 avatar et2010 commented on August 18, 2024

难道是因为词条太多?这个里面有459988行。怎么判断是否正在转换?我查看Convert文件一直都是空的

from pyim.

tumashu avatar tumashu commented on August 18, 2024

我没在window上做过词库,估计是bug, 我下午看看

from pyim.

et2010 avatar et2010 commented on August 18, 2024

好的,谢谢!

from pyim.

et2010 avatar et2010 commented on August 18, 2024

一个小细节不知道有用没有:转换一个只有几十行的文件时,convert文件是有内容(词库文件)的,但是转换这个4m的文件时convert文件是空的

补充:又试了一下,这下怎么都出不来了,不管怎样都是空文件

from pyim.

tumashu avatar tumashu commented on August 18, 2024

我发现问题了,你得到的词库里面有一些生僻字,比如; "" , Chinese-pyim 无法识别,所以在添加 pinyin 时出错

from pyim.

et2010 avatar et2010 commented on August 18, 2024

但是我只把前面几行用于生成词库也不行,不知道哪里出问题了

from pyim.

tumashu avatar tumashu commented on August 18, 2024

那是因为window下没有evn和sort命令,我更新了一下,你再试试。。。。

from pyim.

et2010 avatar et2010 commented on August 18, 2024

我刚才用list-packages升级了pyim,但是问题依旧

from pyim.

tumashu avatar tumashu commented on August 18, 2024

melpa 延迟 4 个小时 。。。

from pyim.

et2010 avatar et2010 commented on August 18, 2024

哦,sorry

from pyim.

et2010 avatar et2010 commented on August 18, 2024

我再试一下

from pyim.

et2010 avatar et2010 commented on August 18, 2024

试过了,还是不行。

而且,我试了把cygwin的bin目录通过添加环境变量的方式添加到exec-path中,这样Emacs也可以看到env和sort命令,但是问题依旧。

btw,我的杀毒软件确实检测到env被调用了,要我为env命令添加例外。

from pyim.

et2010 avatar et2010 commented on August 18, 2024

抱歉,刚才是我搞错了。现在可以出来了,但是仍然是没有finish文件,只有convert文件

from pyim.

tumashu avatar tumashu commented on August 18, 2024

等更新吧,别折腾了。。。。

from pyim.

et2010 avatar et2010 commented on August 18, 2024

嗯嗯,不过已经不影响使用了,非常感谢!

from pyim.

et2010 avatar et2010 commented on August 18, 2024

只是转完了又多出来几万行是什么情况?

from pyim.

tumashu avatar tumashu commented on August 18, 2024

你给我发邮件吧,我给你发一个我转的。。。github上传太慢了 tumashu @@@@@@@@ 163 ##### com

from pyim.

et2010 avatar et2010 commented on August 18, 2024

(∩_∩),好的,多谢!

from pyim.

et2010 avatar et2010 commented on August 18, 2024

我最后又试了一下, fe4f5c8 确实解决了这个问题。

我用的spacemacs,所以是手动改的,刚才这个地方我为了测试cygwin下的sort可用与否,所以把它去掉了,结果证明cygwin的sort命令也不行。走了不少弯路,等pyim版本更新后就不存在这个问题了。

from pyim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.