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.0.tar.gz (2.8 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.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tun_camembert_ner-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 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.0.tar.gz
Algorithm Hash digest
SHA256 8b1017ba36b0054f8d8723f0af058ebb60450d3d6fe461a4fc70c87f08ddfa40
MD5 2f5eb59930dbdc3918da078cc7e3593b
BLAKE2b-256 261f8976fa4ef49a730a3527d63a26793580585a28bfa1e53daa724243442845

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tun_camembert_ner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c778cfdc4493b2baf06eb2ebb73a12d218c2cde956d8a0da221573fd574f4984
MD5 d0dd6d451418b4509d70a99c6267e044
BLAKE2b-256 4719198e2b6c6eed7f5a16edba9cd0365b25fc4cf9063c56e624da7f313b9a8d

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