[BUG] LexC Entity Type Confusion - Persons Classified as Organizations

Resolved 💬 2 comments Opened Sep 21, 2025 by JLiotta-25 Closed Sep 21, 2025

Bug Description

LexC incorrectly classifies person names as organizations in legal documents.

Reproduction

Document text: "Jennifer Liotta (\"Client\")"
Expected: [PERSON:Jennifer Liotta]
Actual: [ORGANIZATION:0.90:Client]

Analysis

  • The system appears to be extracting the role "Client" instead of the person name
  • High confidence (0.90) suggests the classifier is confident but wrong
  • This affects party identification in legal documents

Impact

  • Contract party analysis incorrect
  • Person vs organization legal rules misapplied
  • Metadata shows empty parties array despite clear contract parties

Test Case

Document: Legal consulting agreement with named parties
Expected parties: Jennifer Liotta, Micha Schrom
Actual extraction: One person missed, one misclassified as organization

Priority: High - Critical for legal document analysis

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗