{ "cells": [ { "cell_type": "markdown", "id": "b71a1322", "metadata": {}, "source": [ "# Get started with `tanaos-NER-v1`" ] }, { "cell_type": "markdown", "id": "92829c4f", "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": "a9e77e70", "metadata": { "vscode": { "languageId": "plaintext" } }, "outputs": [], "source": [ "from artifex import Artifex\n", "\n", "ner = Artifex().named_entity_recognition()\n", "\n", "named_entities = ner(\"John landed in Barcelona at 15:45.\")\n", "print(named_entities)" ] } ], "metadata": { "language_info": { "name": "python" } }, "nbformat": 4, "nbformat_minor": 5 }