new ApiAiAdapter(packagePath)
    A basic unofficial compatibility object that can read Api.ai exported packages and simulates its output.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| packagePath | string | The path to the exported Api.ai package root. | 
| extensions.language | string | The language to be used. Possible values are namespace names of Bravey.Language. | 
| extensions.nlp | string | The NLP processor to be used. Possible values are namespace names of Bravey.Nlp. | 
- Source:
Members
nlp
Properties:
| Name | Type | Description | 
|---|---|---|
| nlp | Bravey.Nlp | The raw Nlp instance. | 
- Source:
Methods
loadEntity(name)
    Prepare for loading an entity from the specified package.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| name | string | The intent name. | 
- Source:
loadIntent(name)
    Prepare for loading an intent from the specified package.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| name | string | The intent name. | 
- Source:
prepare(cb)
    Load the needed files and prepares the NLP.
    Parameters:
| Name | Type | Description | 
|---|---|---|
| cb | function | The callback called when everything is ready. | 
- Source:
test()
    Check if a given sentence matches an intent and extracts its entities. Output simulates Api.ai structure. For arguments, check Bravey.Nlp.test.
- Source: