BinaryFog.NameParser 3.2.4

dotnet add package BinaryFog.NameParser --version 3.2.4                
NuGet\Install-Package BinaryFog.NameParser -Version 3.2.4                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BinaryFog.NameParser" Version="3.2.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BinaryFog.NameParser --version 3.2.4                
#r "nuget: BinaryFog.NameParser, 3.2.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BinaryFog.NameParser as a Cake Addin
#addin nuget:?package=BinaryFog.NameParser&version=3.2.4

// Install BinaryFog.NameParser as a Cake Tool
#tool nuget:?package=BinaryFog.NameParser&version=3.2.4                

NameParser

Join the chat at https://gitter.im/binaryfog/NameParser

Parses names using English conventions for persons names. Intended to be extendable, the library can be extended just by implement IFullNamePattern interface and assign a score to the returned result.

For the sake of performance, the assembly and types implementing IFullNamePattern must be loaded before the first attempt to use the NameParser.

If you have a person name that is not parsed correctly, please post a message on https://gitter.im/binaryfog/NameParser. I'll see what I can do.

Usage:

string fullName = "Mr. Jack Johnson"; 
FullNameParser target = new FullNameParser(fullName); 
target.Parse();
string firstName = target.FirstName;
string middleName = target.MiddleName;
string lastName = target.LastName;
string title = target.Title;
string nickName = target.NickName;
string suffix = target.Suffix;
string displayName = target.DisplayName;

Alternative usage:

string fullName = "Mr. Jack Johnson"; 
FullNameParser target = FullNameParser.Parse(fullName);
string firstName = target.FirstName;
string middleName = target.MiddleName;
string lastName = target.LastName;
string title = target.Title;
string nickName = target.NickName;
string suffix = target.Suffix;
string displayName = target.DisplayName;

Jun. 17, 2017: Started a new related project Nameparser.Dataset on github as a repository for names and parsed names. Feel free to add there names and parsed names.

Nov. 13 2015: More cases are now handled. These are the cases:

  • SR. John Henry William dela Vega, Jr Esq.
  • MANUEL ESQUIPULAS SOHOM
  • Maria Delores Esquivel-Moreno
  • PHILIP DEHART ESQ
  • DEHART, PHILIP
  • john 'jack' kennedy
  • john(jack) f kennedy
  • kennedy, john(jack) f
  • Mr.Jack Johnson, ESQ"
  • Jose Miguel De La Vega

Jan. 8 2016: 100% code coverage. More test cases. These are the cases:

  • Empty string and white space cases.
  • Mr. Jack Francis Van Der Waal Sr.
  • Mr. Jack Francis Marion Van Der Waal Sr.
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on BinaryFog.NameParser:

Package Downloads
CodeChange.Toolkit.Domain

A library containing domain interfaces, base classes and tools for Domain Driven Design (DDD) projects.

Mr.Cloud

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.2.4 4,961 10/12/2024
3.2.3 41,128 8/29/2021
3.2.2 434 8/15/2021
3.2.1 397 8/15/2021
3.2.0 22,917 12/29/2020
3.1.0 7,074 9/27/2020
2.5.1 45,174 8/10/2019
2.5.0 29,569 4/12/2019
2.4.0 19,771 9/10/2018
2.3.0 4,036 1/28/2018
2.2.0 1,264 1/3/2018
2.1.2 1,375 9/27/2017
2.1.1 1,522 9/24/2017
2.1.0 1,132 9/16/2017
2.0.0 1,201 6/17/2017
1.3.3 1,423 12/19/2016
1.3.2 1,256 11/6/2016
1.3.1 1,339 9/17/2016
1.3.0.1 1,065 9/16/2016
1.3.0 1,082 9/14/2016
1.2.5 1,422 6/12/2016
1.2.0 1,096 6/5/2016
1.1.0 1,710 11/14/2015
1.0.0.4 1,240 6/9/2015
1.0.0.3 1,190 5/1/2015
1.0.0.2 1,218 4/18/2015
1.0.0.1 1,237 4/9/2015
1.0.0 1,398 4/9/2015

Added patterns:
Two Hyphen Optionally Spaced Middle pattern