asrnl_check_section_rules()

Check the active configuration for BNF rules.

Synopsis:

#include "asr/asrm.h"
 
int asrnl_check_section_rules(cfg_item_t *base, char **match_beg, char **remaining_utt, cfg_item_t **match_item, cfg_item_t *payload)

Arguments:

base

A pointer to the base of the configuration tree.

match_beg

A pointer to the start of the matching configuration section.

remaining_utt

A pointer to the remainder of the utterance.

match_item

The configuration item that describes the BNF rule that the NLAL matched the utterance against.

payload

A pointer to the configuration item to check.

Library:

libasr

Description:

The asrnl_check_section_rules() checks the active configuration section for the BNF rules that the NLAL used to extract intents.

Returns:

The confidence level of the result.