#include "timbl/TimblAPI.h"
#include "frog/ckyparser.h"
Go to the source code of this file.
◆ parse()
std::vector<parsrel> parse |
( |
const std::vector< timbl_result > & |
p_res, |
|
|
const std::vector< timbl_result > & |
r_res, |
|
|
const std::vector< timbl_result > & |
d_res, |
|
|
size_t |
sent_len, |
|
|
int |
maxDist, |
|
|
TiCC::LogStream * |
dbg_log |
|
) |
| |
run de CKY parser using these data
- Parameters
-
p_res | the Timbl pairs outcome |
r_res | the Timbl rels outcome |
d_res | the Timbl dir outcome |
sent_len | the maximum sentence lenght |
maxDist | the maximum distance between dependents we allow |
dbg_log | the stream used for debugging |
- Returns
- a vector of parsrel structures