strusAnalyzer  0.17
segmenter_cjson.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2014 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_SEGMENTER_CJSON_LIB_HPP_INCLUDED
11 #define _STRUS_ANALYZER_SEGMENTER_CJSON_LIB_HPP_INCLUDED
12 #include <string>
13 #include <vector>
14 
16 namespace strus {
17 
19 class SegmenterInterface;
21 class ErrorBufferInterface;
22 
25 SegmenterInterface* createSegmenter_cjson( ErrorBufferInterface* errorhnd);
26 
27 std::vector<std::string> splitJsonDocumentList( const std::string& encoding, const std::string& content, ErrorBufferInterface* errorhnd);
28 
29 }//namespace
30 #endif
31 
std::vector< std::string > splitJsonDocumentList(const std::string &encoding, const std::string &content, ErrorBufferInterface *errorhnd)
SegmenterInterface * createSegmenter_cjson(ErrorBufferInterface *errorhnd)
Get a document JSON segmenter based on cjson.