Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems parsing full names when the string consists of 6 or more words #19

Open
namsor opened this issue Jan 12, 2022 · 0 comments
Open
Assignees

Comments

@namsor
Copy link
Owner

namsor commented Jan 12, 2022

Mario Alberto De La Cruz De La Cruz

Actual response:
{
  "script": "LATIN",
  "id": "be80f4a7-0f62-4294-ae66-8d9bda779926",
  "name": "Mario Alberto De La Cruz De La Cruz",
  "nameParserType": "FN1LN1",
  "nameParserTypeAlt": null,
  "firstLastName": null,
  "score": 0.0
}


Expected response:
{
  "script": "LATIN",
  "id": "be80f4a7-0f62-4294-ae66-8d9bda779926",
  "name": "Mario Alberto De La Cruz De La Cruz",
  "nameParserType": "FN1LNx",
  "nameParserTypeAlt": null,
  "firstLastName": {
    "script": null,
    "id": null,
    "firstName": "Mario Alberto",
    "lastName": "De La Cruz De La Cruz"
  },
  "score": 83.73693466191457
}

Alberto Salvador Del Cid Garcia Santos

Actual response:

{
  "script": "LATIN",
  "id": "0eb8eee8-cb15-41c6-a905-5893f4134e72",
  "name": "Alberto Salvador Del Cid Garcia Santos",
  "nameParserType": "FNxLNx",
  "nameParserTypeAlt": "FN1LN1",
  "firstLastName": null,
  "score": 0.0
}


Expected response:

{
  "script": "LATIN",
  "id": "0eb8eee8-cb15-41c6-a905-5893f4134e72",
  "name": "Alberto Salvador Del Cid Garcia Santos",
  "nameParserType": "FN2LNx",
  "nameParserTypeAlt": null,
  "firstLastName": {
    "script": null,
    "id": null,
    "firstName": "Alberto Salvador",
    "lastName": "Del Cid Garcia Santos"
  },
  "score": 100.0
}
@namsor namsor self-assigned this Jan 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant