VOOZH about

URL: https://www.nuget.org/packages/BinaryFog.NameParser/

⇱ NuGet Gallery | BinaryFog.NameParser 3.2.4




👁 Image
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.
<PackageVersion Include="BinaryFog.NameParser" Version="3.2.4" />
 
Directory.Packages.props
<PackageReference Include="BinaryFog.NameParser" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add BinaryFog.NameParser --version 3.2.4
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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.
#:package BinaryFog.NameParser@3.2.4
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=BinaryFog.NameParser&version=3.2.4
 
Install as a Cake Addin
#tool nuget:?package=BinaryFog.NameParser&version=3.2.4
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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 Versions Compatible and additional computed target framework versions.
.NET net5.0 net5.0 was computed.  net5.0-windows net5.0-windows was computed.  net6.0 net6.0 was computed.  net6.0-android net6.0-android was computed.  net6.0-ios net6.0-ios was computed.  net6.0-maccatalyst net6.0-maccatalyst was computed.  net6.0-macos net6.0-macos was computed.  net6.0-tvos net6.0-tvos was computed.  net6.0-windows net6.0-windows was computed.  net7.0 net7.0 was computed.  net7.0-android net7.0-android was computed.  net7.0-ios net7.0-ios was computed.  net7.0-maccatalyst net7.0-maccatalyst was computed.  net7.0-macos net7.0-macos was computed.  net7.0-tvos net7.0-tvos was computed.  net7.0-windows net7.0-windows was computed.  net8.0 net8.0 was computed.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
.NET Core netcoreapp3.0 netcoreapp3.0 was computed.  netcoreapp3.1 netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 netstandard2.1 is compatible. 
MonoAndroid monoandroid monoandroid was computed. 
MonoMac monomac monomac was computed. 
MonoTouch monotouch monotouch was computed. 
Tizen tizen60 tizen60 was computed. 
Xamarin.iOS xamarinios xamarinios was computed. 
Xamarin.Mac xamarinmac xamarinmac was computed. 
Xamarin.TVOS xamarintvos xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 (1)

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

Package Downloads
Mr.Cloud

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.2.4 46,915 10/12/2024
3.2.3 68,656 8/29/2021
3.2.2 658 8/15/2021
3.2.1 613 8/15/2021
3.2.0 23,382 12/29/2020
3.1.0 10,050 9/27/2020
2.5.1 55,661 8/10/2019
2.5.0 29,825 4/12/2019
2.4.0 20,705 9/10/2018
2.3.0 4,818 1/28/2018
2.2.0 2,009 1/3/2018
2.1.2 1,794 9/27/2017
2.1.1 2,128 9/24/2017
2.1.0 1,715 9/16/2017
2.0.0 1,775 6/17/2017
1.3.3 1,948 12/19/2016
1.3.2 1,711 11/6/2016
1.3.1 1,743 9/17/2016
1.3.0.1 1,507 9/16/2016
1.3.0 1,509 9/14/2016
Loading failed

Added patterns:
Two Hyphen Optionally Spaced Middle pattern