strusAnalyzer  0.17
Namespaces | Functions
analyzer_prgload_std.hpp File Reference
#include "strus/analyzer/documentClass.hpp"
#include <string>
#include <vector>

Go to the source code of this file.

Namespaces

 strus
 strus toplevel namespace
 

Functions

analyzer::DocumentClass strus::parse_DocumentClass (const std::string &src, ErrorBufferInterface *errorhnd)
 parse the document class from source More...
 
bool strus::load_DocumentAnalyzer_program_std (DocumentAnalyzerInstanceInterface *analyzer, const TextProcessorInterface *textproc, const std::string &content, ErrorBufferInterface *errorhnd)
 Load a program given as source without includes to a document analyzer. More...
 
bool strus::load_DocumentAnalyzer_programfile_std (DocumentAnalyzerInstanceInterface *analyzer, const TextProcessorInterface *textproc, const std::string &filename, ErrorBufferInterface *errorhnd)
 Load a program given as source file name to a document analyzer, recursively expanding include directives (C preprocessor style) at the beginning of the source to load. More...
 
bool strus::load_QueryAnalyzer_program_std (QueryAnalyzerInstanceInterface *analyzer, const TextProcessorInterface *textproc, const std::string &content, ErrorBufferInterface *errorhnd)
 Load a program given as source without includes to a document analyzer. More...
 
bool strus::load_QueryAnalyzer_programfile_std (QueryAnalyzerInstanceInterface *analyzer, const TextProcessorInterface *textproc, const std::string &filename, ErrorBufferInterface *errorhnd)
 Load a program given as source file name to a query analyzer, recursively expanding include directives (C preprocessor style) at the beginning of the source to load. More...
 
bool strus::is_DocumentAnalyzer_programfile (const TextProcessorInterface *textproc, const std::string &filename, ErrorBufferInterface *errorhnd)
 Test if a file is an analyzer program file. More...
 
bool strus::is_DocumentAnalyzer_program (const std::string &source, ErrorBufferInterface *errorhnd)
 Test if a file is an analyzer program file. More...
 
bool strus::load_DocumentAnalyzerMap_program (DocumentAnalyzerMapInterface *analyzermap, const TextProcessorInterface *textproc, const std::string &source, ErrorBufferInterface *errorhnd)
 Load a map of definitions describing how different document types are mapped to an analyzer program from its source. More...
 
bool strus::load_DocumentAnalyzerMap_programfile (DocumentAnalyzerMapInterface *analyzermap, const TextProcessorInterface *textproc, const std::string &filename, ErrorBufferInterface *errorhnd)
 Load a map of definitions describing how different document types are mapped to an analyzer program from a file. More...
 
bool strus::load_PatternMatcher_program (const TextProcessorInterface *textproc, PatternTermFeederInstanceInterface *feeder, PatternMatcherInstanceInterface *matcher, const std::string &content, ErrorBufferInterface *errorhnd)
 Load a pattern matcher program with a term feeder from source. More...
 
bool strus::load_PatternMatcher_programfile (const TextProcessorInterface *textproc, PatternTermFeederInstanceInterface *feeder, PatternMatcherInstanceInterface *matcher, const std::string &filename, ErrorBufferInterface *errorhnd)
 Load a pattern matcher program with a term feeder from a resource file. More...
 
bool strus::load_PatternMatcher_program (const TextProcessorInterface *textproc, PatternLexerInstanceInterface *lexer, PatternMatcherInstanceInterface *matcher, const std::string &content, ErrorBufferInterface *errorhnd)
 Load a pattern matcher program with a lexer from source. More...
 
bool strus::load_PatternMatcher_programfile (const TextProcessorInterface *textproc, PatternLexerInstanceInterface *lexer, PatternMatcherInstanceInterface *matcher, const std::string &filename, ErrorBufferInterface *errorhnd)
 Load a pattern matcher program with a lexer from a resource file. More...