|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/*
* File: ResultsManager.hpp
* Author: mlenart
*
* Created on 24 czerwiec 2014, 17:09
*/
#ifndef RESULTSMANAGER_HPP
#define RESULTSMANAGER_HPP
#include <vector>
#include "morfeusz2.h"
#include "morfeusz2_c.h"
namespace morfeusz {
class ResultsManager {
public:
|
|
19
|
ResultsManager(const Morfeusz* morfeusz);
|
|
20
21
22
|
InterpMorf* convertResults(const std::vector<MorphInterpretation>& res);
virtual ~ResultsManager();
private:
|
|
23
|
const Morfeusz* morfeusz;
|
|
24
25
26
27
28
29
30
31
32
33
34
|
InterpMorf* results;
unsigned int resultsArraySize;
void reserve(size_t size);
InterpMorf convertOneResult(const MorphInterpretation& res);
};
}
#endif /* RESULTSMANAGER_HPP */
|