Code Monkey home page Code Monkey logo

Comments (6)

ddddxxx avatar ddddxxx commented on July 18, 2024

因为转换用的字典较大,可能出现这样的问题。你可以试试0.2.0版本,其中包含ChineseConverter.Options.textDict,可以使用文本格式的字典(极其慢)。

注意该版本有内存泄漏的问题,如果能用,你可以fork一份加上后来的patch

from swiftyopencc.

jwliang1226 avatar jwliang1226 commented on July 18, 2024

請問後來的patch是指哪些呢?
我看似乎無法只單獨加memory leak的那一份patch

from swiftyopencc.

ddddxxx avatar ddddxxx commented on July 18, 2024

cf245e1 cherry pick 过去应该可行。你先确认一下0.2.0能不能用。

from swiftyopencc.

jwliang1226 avatar jwliang1226 commented on July 18, 2024

0.2.0 版本一樣會記憶體不足

from swiftyopencc.

ddddxxx avatar ddddxxx commented on July 18, 2024

这样我就无能为力了,本项目只是对 https://github.com/BYVoid/OpenCC 的 wrapper。

from swiftyopencc.

ddddxxx avatar ddddxxx commented on July 18, 2024

正式版已发布,不支持文本格式的字典。预计将来也不会降低对 memory 的要求。

from swiftyopencc.

Related Issues (14)

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.