ModErn Text Analysis
META Enumerates Textual Applications
Functions
search.cpp File Reference
#include <iostream>
#include <string>
#include <vector>
#include "analyzers/analyzer.h"
#include "caching/all.h"
#include "corpus/document.h"
#include "index/inverted_index.h"
#include "index/ranker/ranker_factory.h"
#include "parser/analyzers/tree_analyzer.h"
#include "sequence/analyzers/ngram_pos_analyzer.h"
#include "util/time.h"

Functions

int main (int argc, char *argv[])
 Demo app to load (or create) an index, and query some documents that already exist in it. More...
 

Detailed Description

Author
Sean Massung

Function Documentation

int main ( int  argc,
char *  argv[] 
)

Demo app to load (or create) an index, and query some documents that already exist in it.

We create the query documents by setting each document's path. For this demo, we need the corpus type to be "file-corpus" so the documents can be recreated.