Skip to main content

Tunisian Named Entity Recognition for French text using CamemBERT

Project description

tunisian-ner

Tunisian Named Entity Recognition for French text using CamemBERT.

Detects 3 entity types:

  • PER — person names
  • LOC — cities and regions
  • ORG — organizations

Installation

pip install tunisian-ner

Usage

from tunisian_ner import NER

ner = NER() results = ner("Ahmed Karray dirige la STEG à Tunis.") print(results) {"word": "Ahmed Karray", "entity_group": "PER", "score": 0.97}, {"word": "STEG", "entity_group": "ORG", "score": 0.95}, {"word": "Tunis", "entity_group": "LOC", "score": 0.98}]

Model

Fine-tuned CamemBERT on Tunisian French text. HuggingFace: NourBesrour/tun-ner-camembert

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tun_camembert_ner-0.1.1.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tun_camembert_ner-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file tun_camembert_ner-0.1.1.tar.gz.

File metadata

  • Download URL: tun_camembert_ner-0.1.1.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.4

File hashes

Hashes for tun_camembert_ner-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7ccc64fd694856b55d46fbc9718c6ea27263fbc0710f7de60d984410134627a5
MD5 59a6697d9f3160713e943d1f118e9a07
BLAKE2b-256 b8953e3a41f4a41145f530498d23d36acfbf473a42e21762ff9d406e51407b2c

See more details on using hashes here.

File details

Details for the file tun_camembert_ner-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for tun_camembert_ner-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b8f5e8e549554b021efe1f28902f9a0f88381eb7641e7c3d085b1b72ac72b69a
MD5 5f43055e0e51ee49c76afa8124b6ebed
BLAKE2b-256 f3e67258e778a9dca6ceda68aba2b7133999c672d14df234801be2c545370a59

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page