![]() |
VOOZH | about |
dotnet add package BinaryFog.NameParser --version 3.2.4
NuGet\Install-Package BinaryFog.NameParser -Version 3.2.4
<PackageReference Include="BinaryFog.NameParser" Version="3.2.4" />
<PackageVersion Include="BinaryFog.NameParser" Version="3.2.4" />Directory.Packages.props
<PackageReference Include="BinaryFog.NameParser" />Project file
paket add BinaryFog.NameParser --version 3.2.4
#r "nuget: BinaryFog.NameParser, 3.2.4"
#:package BinaryFog.NameParser@3.2.4
#addin nuget:?package=BinaryFog.NameParser&version=3.2.4Install as a Cake Addin
#tool nuget:?package=BinaryFog.NameParser&version=3.2.4Install as a Cake Tool
👁 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:
Jan. 8 2016: 100% code coverage. More test cases. These are the cases:
| 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. |
Showing the top 1 NuGet packages that depend on BinaryFog.NameParser:
| Package | Downloads |
|---|---|
|
Mr.Cloud
Package Description |
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 |
Added patterns:
Two Hyphen Optionally Spaced Middle pattern