Coder Social home page Coder Social logo

dictparser's Introduction

DictParser

A dict parser which allows users define their own type and parser function 实现了一个通用的词表解析读取工具类(一个或者几个class/struct组成), 解析并读取如下形式的词表:

\t\t...\t

每一行都是一条记录,每一列可能的类型包括:

  • int
  • float
  • char *
  • 形如num:item1,item2,item3的数组(可以理解为T[num]的数组,T是用户给出某种build-in类型)
  • 其他用户自定义类型(需要灵活支持多种自定义类型)

每一列的数据中均不包含\t字符,每一行以\n结尾。

dictparser's People

Contributors

zhanglistar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.