feature core - tootal/DBLParse GitHub Wiki

Feature-core

The DBLP core feature wants to grab the core ability of DBLParse into an command-line program. Temporarily nameing as dblpcore.

Some extra function of low priority:

  • Download dblp release
  • Extract dblp data

Develop Concepts

Language: C++ 17 or newer Build Tools: CMake Library: available without Qt

Options

Use cxxopts to parse the command options.

all options list below:

  • -v, --version, show version.

  • -h, --help, show help info and basic usage.

  • -i, --input, specific input dblp file with must be a XML format document.

  • -o, --output, specific output dir where the index-data will be store.

  • -b, --base, specific index-data dir.

  • -qa, --query-author, search author from index-data.

  • -qt, --query-title, search title from index-data.

  • -qc, --query-coauthor, search co-author from index-data.

  • -qw, --query-word, search word from index-data.

  • --download, some example usage:

  • dblpcore -i /opt/dblp-2021-06-01.xml -o /opt/data

Read dblp file /opt/dblp-2021-06-01.xml and parse it, store index data in /opt/data, if /opt/data dose not exist, it will be created, or be overwriten.

  • dblpcore -b /opt/data -qw network

Search word network from the parsed dblp data in /opt/data, the result will be output in standard output.