commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bruno P. Kinoshita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SANDBOX-498) Improve HumanNameParser
Date Mon, 20 Apr 2015 03:42:59 GMT

    [ https://issues.apache.org/jira/browse/SANDBOX-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502308#comment-14502308
] 

Bruno P. Kinoshita commented on SANDBOX-498:
--------------------------------------------

[~britter] a tentative on adding options to the parser and initialising regex once: https://git1-us-west.apache.org/repos/asf?p=commons-text.git;a=commitdiff;h=331f80bfcf0380fcc35a6d18a327aef4a9e844e4

Feel free to merge if you find it's looking good :-)

> Improve HumanNameParser
> -----------------------
>
>                 Key: SANDBOX-498
>                 URL: https://issues.apache.org/jira/browse/SANDBOX-498
>             Project: Commons Sandbox
>          Issue Type: Improvement
>          Components: Commons Text
>            Reporter: Bruno P. Kinoshita
>            Assignee: Benedikt Ritter
>            Priority: Minor
>              Labels: Refactoring
>
> From http://markmail.org/thread/da7ayocit2dl4otv
> - The constructor of the parser takes configuration options which can be
> reused for several names to parse
> - the parse method takes a string as parameter, containing a name
> - the parse method returns an immutable Name objects which has getters for
> firstName, lastName etc.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message