Function graphannis_capi::corpusstorage::annis_cs_frequency
source · #[no_mangle]
pub extern "C" fn annis_cs_frequency(
ptr: *const CorpusStorage,
corpus_names: *const Vec<CString>,
query: *const c_char,
query_language: QueryLanguage,
frequency_query_definition: *const c_char,
err: *mut *mut ErrorList
) -> *mut FrequencyTable<CString>
Expand description
Execute a frequency query.
ptr
- The corpus storage object.corpus_names
- The name of the corpora to execute the query on.query
- The query as string.query_language
The query language of the query (e.g. AQL).frequency_query_definition
- A string representation of the list of frequency query definitions.err
- Pointer to a list of errors. If any error occured, this list will be non-empty.
Returns a frequency table of strings.