[
https://issues.apache.org/jira/browse/SANDBOX-498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14502308#comment-14502308
]
Bruno P. Kinoshita edited comment on SANDBOX-498 at 4/20/15 3:46 AM:
---------------------------------------------------------------------
[~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 :-) (I can add tests right
after)
was (Author: kinow):
[~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)