691
Comment:
|
1323
|
Deletions are marked like this. | Additions are marked like this. |
Line 10: | Line 10: |
./CsvParserMain [many options] <base name> | ./CsvParserMain [many options] --base-name=<base name> |
Line 15: | Line 15: |
For a short description of the most important options, call ''CsvParserMain'' without arguments. | 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 [[http://ad-svn.informatik.uni-freiburg.de/wsvn/completesearch/codebase/parser/ParserBase.cpp|ParserBase.cpp]] method ''!ParserBase::parseCommandLineOptions''. The code for the CSV-specific options can be found in file [[http://ad-svn.informatik.uni-freiburg.de/wsvn/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.