strusAnalyzer
0.17
Main Page
Namespaces
Classes
Files
File List
include
strus
tokenMarkupInstanceInterface.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2016 Patrick P. Frey
3
*
4
* This Source Code Form is subject to the terms of the Mozilla Public
5
* License, v. 2.0. If a copy of the MPL was not distributed with this
6
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
*/
10
#ifndef _STRUS_ANALYZER_TOKEN_MARKUP_INSTANCE_INTERFACE_HPP_INCLUDED
11
#define _STRUS_ANALYZER_TOKEN_MARKUP_INSTANCE_INTERFACE_HPP_INCLUDED
12
#include "
strus/analyzer/functionView.hpp
"
13
#include <string>
14
15
namespace
strus
16
{
17
19
class
TokenMarkupContextInterface;
21
class
SegmenterMarkupContextInterface;
22
24
class
TokenMarkupInstanceInterface
25
{
26
public
:
28
virtual
~TokenMarkupInstanceInterface
(){}
29
34
virtual
TokenMarkupContextInterface
*
createContext
(
const
SegmenterInstanceInterface
* segmenter)
const
=0;
35
38
virtual
analyzer::FunctionView
view
()
const
=0;
39
};
40
41
}
//namespace
42
#endif
43
44
strus::SegmenterInstanceInterface
Defines a program for splitting a source text it into chunks with an id correspoding to a selecting e...
Definition:
segmenterInstanceInterface.hpp:25
functionView.hpp
Structure describing the internal representation of a normalizer/tokenizer/aggregator function in the...
strus::analyzer::FunctionView
Structure describing the internal representation of a normalizer/tokenizer/aggregator function in the...
Definition:
functionView.hpp:29
strus::TokenMarkupInstanceInterface
Interface for building the automaton for detecting patterns of tokens in a document stream...
Definition:
tokenMarkupInstanceInterface.hpp:24
strus::TokenMarkupInstanceInterface::~TokenMarkupInstanceInterface
virtual ~TokenMarkupInstanceInterface()
Destructor.
Definition:
tokenMarkupInstanceInterface.hpp:28
strus::TokenMarkupContextInterface
Interface for annotation of text in one document.
Definition:
tokenMarkupContextInterface.hpp:25
strus::TokenMarkupInstanceInterface::createContext
virtual TokenMarkupContextInterface * createContext(const SegmenterInstanceInterface *segmenter) const =0
Create the context to markup tokens or spans in a document.
strus::TokenMarkupInstanceInterface::view
virtual analyzer::FunctionView view() const =0
Get the definition of the function as structure for introspection.
Generated on Thu Jan 24 2019 11:55:45 for strusAnalyzer by
1.8.6