Differences between revisions 5 and 6
Revision 5 as of 2013-10-18 17:03:46
Size: 1130
Comment:
Revision 6 as of 2013-10-18 17:06:01
Size: 1315
Comment:
Deletions are marked like this. Additions are marked like this.
Line 21: Line 21:
For more details, a look at the code that processes these command line options might be helpful. You find them in two files. The code for the general (CSV independent) options can be found in file ''ParserBase.cpp'' method ''ParserBase::parseCommandLineOptions''. The code for the CSV-specific options can be found in file ''CsvParserOptions.cpp" method ''CsvParserOptions::parseCommandLineOptions''. For more details, a look at the code that processes these command line options might be helpful. You find them in two files. The code for the general (CSV independent) options can be found in file [[https://ad-svn.informatik.uni-freiburg.de/completesearch/codebase/parser/ParserBase.cpp|ParserBase.cpp]] method ''!ParserBase::parseCommandLineOptions''. The code for the CSV-specific options can be found in file [[https://ad-svn.informatik.uni-freiburg.de/completesearch/codebase/parser/CsvParserOptions.cpp|CsvParserOptions.cpp]] method ''!CsvParserOptions::parseCommandLineOptions''.

CompleteSearch CSV Parser

We have two general-purpose parsers for producing the <base-name>.words and <base-name>.docs file required for building an index and then search with CompleteSearch: a CSV Parser and an XML Parser.

The CSV Parser is located in the parser sub-directory of the CompleteSearch codebase. It can be invoked by

./CsvParserMain [many options] --base-name=<base name>

It then looks for a file <base name>.csv and produces <base-name>.words and <base-name>.docs according to the specified option.

For a short description of the most important options, call the program without arguments

./CsvParserMain

For more details, a look at the code that processes these command line options might be helpful. You find them in two files. The code for the general (CSV independent) options can be found in file ParserBase.cpp method ParserBase::parseCommandLineOptions. The code for the CSV-specific options can be found in file CsvParserOptions.cpp method CsvParserOptions::parseCommandLineOptions.

CompleteSearch: CsvParser (last edited 2017-03-19 13:30:44 by Hannah Bast)