Git Product home page Git Product logo

cjieba's Introduction

cjieba

Build Status Author Performance License

其实就是 CppJieba 的 C语言 api 接口, 独立出来作为一个仓库的原因是不想让 CppJieba 变太复杂和臃肿而已。

用法示例

make
./demo

编译相关

如果编译报关于 tr1/unordered_map 的错时, 解决方法是加上 -std=c++0x 或者 -std=c++11 选项即可,比如:

g++ -std=c++11 -DLOGGING_LEVEL=LL_WARNING -o c_api.o -c src/c_api.cpp

还有就是选项 -DLOGGING_LEVEL=LL_WARNING 的含义是日志级别设置为警告级别以上才打日志, 如果不设置该选项则会连 DEBUG 或者 INFO 级别的日志也打出来。

客服

cjieba's People

Contributors

yanyiwu avatar w32zhong avatar bitdeli-chef avatar zhujun1980 avatar

Watchers

James Cloos avatar  avatar

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.