Skip to content

a2design-inc/AIML

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIML parser

Build Status

Requirements

  • PHP: ≥ 5.4

Instalation

    composer require a2design/aiml

Usage

$aimlFilePath = '/path/to/file.aiml';
$chat = new AIML();
$chat->addDict($aimlFilePath);

$answer = $chat->getAnswer('how are you?');
// i'm fine

Contributing

  1. Fork the Project

  2. Install Development Dependencies

  3. Create a Feature Branch

  4. (Recommended) Run the Test Suite

    vendor/bin/phpunit
  5. Send us a Pull Request