BinaryFog.NameParser
3.2.4
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" />
<PackageReference Include="BinaryFog.NameParser" />
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.4
#tool nuget:?package=BinaryFog.NameParser&version=3.2.4
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 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.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. |
-
.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 | 41,370 | 10/12/2024 |
| 3.2.3 | 63,539 | 8/29/2021 |
| 3.2.2 | 641 | 8/15/2021 |
| 3.2.1 | 597 | 8/15/2021 |
| 3.2.0 | 23,348 | 12/29/2020 |
| 3.1.0 | 9,565 | 9/27/2020 |
| 2.5.1 | 54,275 | 8/10/2019 |
| 2.5.0 | 29,810 | 4/12/2019 |
| 2.4.0 | 20,640 | 9/10/2018 |
| 2.3.0 | 4,787 | 1/28/2018 |
| 2.2.0 | 1,988 | 1/3/2018 |
| 2.1.2 | 1,778 | 9/27/2017 |
| 2.1.1 | 2,110 | 9/24/2017 |
| 2.1.0 | 1,696 | 9/16/2017 |
| 2.0.0 | 1,752 | 6/17/2017 |
| 1.3.3 | 1,925 | 12/19/2016 |
| 1.3.2 | 1,687 | 11/6/2016 |
| 1.3.1 | 1,728 | 9/17/2016 |
| 1.3.0.1 | 1,486 | 9/16/2016 |
| 1.3.0 | 1,492 | 9/14/2016 |
Added patterns:
Two Hyphen Optionally Spaced Middle pattern