#[no_mangle]
pub extern "C" fn annis_cs_list_edge_annotations(
    ptr: *const CorpusStorage,
    corpus_name: *const c_char,
    component_type: AnnotationComponentType,
    component_name: *const c_char,
    component_layer: *const c_char,
    list_values: bool,
    only_most_frequent_values: bool,
    err: *mut *mut ErrorList
) -> *mut Matrix<CString>
Expand description

Returns a list of all edge annotations of a corpus given by corpus_name and the component.

  • ptr - The corpus storage object.
  • list_values - If true include the possible values in the result.
  • component_type - The type of the edge component.
  • component_name - The name of the edge component.
  • component_layer - The layer of the edge component.
  • only_most_frequent_values - If both this argument and list_values are true, only return the most frequent value for each annotation name.
  • err - Pointer to a list of errors. If any error occured, this list will be non-empty.