Skip to content

Wrong parsing of Portuguese prefix "dos" and Hebrew "ben" #71

Closed

Description

@sashaleschuk2

parsing of "Rafael Sousa dos Anjos" returns "Anjos" as the surname when the correct case is "dos Anjos".
parsing of "Oren ben Horin" returns "Horin" as the surname when the correct case is "ben Horin".

Activity

  1. added this to the v0.5.7 milestone on Jun 14, 2018
  2. derek73 commented on Jun 14, 2018

    @derek73
    Owner

    the problem with "dos" can be fixed by adding it to the prefixes constant. The problem with "ben" cannot be fixed easily because "ben" is much more common as a first name.

    We could write special code to treat "ben" as a prefix only when it is not capitalized but the following piece is capitalized, but that would only fix it if "ben Horin" was properly capitalized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions