# -*- coding: utf-8 -*-
from setuptools import setup

packages = \
['oureliza']

package_data = \
{'': ['*']}

setup_kwargs = {
    'name': 'oureliza',
    'version': '1.2.1',
    'description': 'Minimal Python implementation of the ELIZA chatbot',
    'long_description': '# Our Eliza (oureliza)\n\n[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)\n[![PyPI version](https://img.shields.io/pypi/v/oureliza.svg)](https://pypi.org/project/oureliza/)\n[![PyPI Downloads](https://img.shields.io/pypi/dm/oureliza.svg)](https://pypi.org/project/oureliza/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Zero Dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)](https://github.com/craigtrim/oureliza)\n[![Code Size](https://img.shields.io/github/languages/code-size/craigtrim/oureliza)](https://github.com/craigtrim/oureliza)\n\nA minimal Python implementation of the classic ELIZA chatbot with zero dependencies.\n\n## Try the Demo\n\nChat with ELIZA in your browser: [Interactive Demo](https://codesandbox.io/p/sandbox/d92vyk)\n\n## Installation\n\n```bash\npip install oureliza\n```\n\nOr with Poetry:\n\n```bash\npoetry add oureliza\n```\n\n## Usage\n\n```python\nfrom oureliza import Eliza\n\neliza = Eliza()\n\n# Get initial greeting\nprint(eliza.initial())\n\n# Have a conversation\nprint(eliza.respond("I feel sad today"))\nprint(eliza.respond("My mother never understood me"))\nprint(eliza.respond("I dream about flying"))\n\n# Get final message\nprint(eliza.final())\n```\n\n## Script Format\n\nELIZA uses a script-based pattern matching system designed by Joseph Weizenbaum in 1966. See [SCRIPT_FORMAT.md](https://github.com/craigtrim/oureliza/blob/master/docs/SCRIPT_FORMAT.md) for full history and specification.\n\nThe built-in `DOCTOR_SCRIPT` follows this format:\n\n### Tags\n\n| Tag | Description | Example |\n|-----|-------------|---------|\n| `initial` | Greeting messages shown at start | `initial: How do you do. Please tell me your problem.` |\n| `final` | Goodbye messages shown at end | `final: Goodbye. Thank you for talking to me.` |\n| `quit` | Words that end the conversation | `quit: bye` |\n| `pre` | Pre-substitution (before matching) | `pre: dont don\'t` |\n| `post` | Post-substitution (in responses) | `post: i you` |\n| `synon` | Synonym groups | `synon: sad unhappy depressed` |\n| `key` | Keyword with optional weight | `key: mother 10` |\n| `decomp` | Decomposition pattern | `decomp: * i feel *` |\n| `reasmb` | Reassembly response | `reasmb: Why do you feel (2)?` |\n\n### Pattern Matching\n\n- `*` matches zero or more words\n- `@word` matches any synonym in the group\n- `(1)`, `(2)`, etc. reference captured groups from decomposition\n\n### Example Script Block\n\n```\nkey: mother 10\n  decomp: * my mother *\n    reasmb: Tell me more about your mother.\n    reasmb: What else comes to mind when you think of your mother?\n  decomp: * mother *\n    reasmb: Who else in your family (2)?\n```\n\n### Special Features\n\n- **goto**: Redirect to another keyword\'s patterns\n  ```\n  reasmb: goto family\n  ```\n\n- **save ($)**: Save response to memory for later use\n  ```\n  decomp: $ * i want *\n  ```\n\n- **xnone**: Fallback responses when no pattern matches\n  ```\n  key: xnone\n    decomp: *\n      reasmb: Please go on.\n      reasmb: Tell me more about that.\n  ```\n\n## Custom Scripts\n\nYou can provide your own script:\n\n```python\nfrom oureliza import Eliza\n\nmy_script = """\ninitial: Hello! How can I help you today?\nfinal: Goodbye!\nquit: bye\nquit: exit\n\nkey: xnone\n  decomp: *\n    reasmb: I see. Tell me more.\n    reasmb: Please continue.\n\nkey: hello 10\n  decomp: *\n    reasmb: Hi there! What\'s on your mind?\n"""\n\neliza = Eliza(script=my_script)\nprint(eliza.respond("hello"))\n```\n\n## Development\n\n```bash\n# Install dependencies\nmake install\n\n# Run tests\nmake test\n\n# Build package\nmake build\n\n# Do everything\nmake all\n```\n\n## References\n\nBased on [wadetb/eliza](https://github.com/wadetb/eliza) with significant script expansion.\n\n## License\n\nMIT License - see [LICENSE](https://github.com/craigtrim/lingpatlab/blob/master/LICENSE) for details.\n\n## Author\n\n**Craig Trim** - [craigtrim@gmail.com](mailto:craigtrim@gmail.com)\n\nMore NLP articles and demos at [craigtrim.com](http://craigtrim.com/)\n',
    'author': 'Craig Trim',
    'author_email': 'craigtrim@gmail.com',
    'maintainer': 'Craig Trim',
    'maintainer_email': 'craigtrim@gmail.com',
    'url': 'https://github.com/craigtrim/oureliza',
    'packages': packages,
    'package_data': package_data,
    'python_requires': '>=3.8,<4.0',
}


setup(**setup_kwargs)
