GithubHelp home page GithubHelp logo

b5paper / stochastic_exam Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 83 KB

This is a program that can extract some memory materials from a fixed format content.

License: GNU General Public License v3.0

C++ 96.90% Makefile 1.76% C 1.34%

stochastic_exam's Introduction

stochastic_exam

This is a program that can extract some memory materials from a fixed format content.

Usage

domain mode

create a file named domain_db_path.txt at the binary executable folder, and the file content is used to specify the domain info database.

Example:

domain_db_path.txt:

/home/hlc/Documents/documents/domain_db.txt

The program will then read the content of domain_db.txt to locate every qa (Question and Answer) file.

The format of domain_db.txt would like to be:

opengl,GPU/opengl_note_qa.md,unit
opencl,High Performance Computing/opencl_note_qa,unit
english_words.md,Language/english_words.md,word

Obviously, there are two types of qa: unit and word. Currently the type word has not been implemented.

Usage:

  • ./main --mode domain --meta_info_path <file_path>

    Run command ./main without arguments will defaultly use domain mode and search meta info file meta_info.txt at the same directory containing main.

  • ./main --mode list --meta_info_path <file_path>

    list all entities of a note file.

direct mode

./main.exe --file <file_path> --type <type> [--mode <mode>]

  • --type: {word | unit}

  • --mode: {prev | new | prev_rand | seq}, default: seq

    If you choose seq, the test unit will be displayed one by one in order.

domain_db_path.txt example:

linux_driver,C:\Users\wsdlh\Documents\documents\Linux\linux_driver_note_qa.md,unit
english_words,xxx,word

stochastic_exam's People

Contributors

b5paper avatar

Watchers

 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.