{ "cells": [ { "cell_type": "markdown", "id": "b71a1322", "metadata": {}, "source": [ "# Get started with `tanaos-sentiment-analysis-v1`" ] }, { "cell_type": "markdown", "id": "37725ac6", "metadata": {}, "source": [ "Use the [Artifex library](https://github.com/tanaos/artifex). Install it with\n", "\n", "```bash\n", "pip install artifex\n", "```" ] }, { "cell_type": "code", "execution_count": null, "id": "2c3a2f43", "metadata": { "vscode": { "languageId": "plaintext" } }, "outputs": [], "source": [ "from artifex import Artifex\n", "\n", "sentiment_analysis = Artifex().sentiment_analysis()\n", "\n", "label = sentiment_analysis(\"While the battery life is average, the camera quality is good.\")\n", "print(label)" ] } ], "metadata": { "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 5 }