PolarNameExplorer 0.8.9
dotnet add package PolarNameExplorer --version 0.8.9
NuGet\Install-Package PolarNameExplorer -Version 0.8.9
<PackageReference Include="PolarNameExplorer" Version="0.8.9" />
paket add PolarNameExplorer --version 0.8.9
#r "nuget: PolarNameExplorer, 0.8.9"
// Install PolarNameExplorer as a Cake Addin #addin nuget:?package=PolarNameExplorer&version=0.8.9 // Install PolarNameExplorer as a Cake Tool #tool nuget:?package=PolarNameExplorer&version=0.8.9
Polar Name Explorer .NET Core Component
Polar Name Explorer .NET Core Component is an class library allows your .NET applications to extract and parse names and surnames from text, get the gender of the name, and country of origine.
This is a paid commercial product.
You can try this NuGet package for free for 30 days, after which you will need to purchase a license key to continue using it.
Version below 1.0 is the release candidate version and is not for commercial use.
Supported platforms: .NET 5
Examples
The following sections provide several code snippets covering some of the most common Polar Name Explorer tasks, including:
Extract name from text
Analytics analytics = new Analytics();
ResultNames resultNames = analytics.ExtractNames("My name is Mary Johnson, I'm from London, England ex-Europe.");
ParseName parseName = resultNames.ParseNames.FirstOrDefault();
Console.WriteLine($"Full Name: {parseName.FirstName + " " + parseName.LastName}");//"Mary Johnson"
Console.WriteLine($"FirstName: {parseName.FirstName}");//"Mary"
Console.WriteLine($"LastName: {parseName.LastName}");//"Johnson"
//Gender:
Console.WriteLine($"Gender: {parseName.GenderData.Gender}");//"f"
Console.WriteLine($"FemalePercent: {parseName.GenderData.FemalePercent}");
Console.WriteLine($"MalePercent: {parseName.GenderData.MalePercent}");
Parse full name
Analytics analytics = new Analytics();
ResultNames resultNames = analytics.ParseName("Mary Johnson");
ParseName parseName = resultNames.ParseNames.FirstOrDefault();
Console.WriteLine($"Full Name: {parseName.FirstName + " " + parseName.LastName}");//"Mary Johnson"
Console.WriteLine($"FirstName: {parseName.FirstName}");//"Mary"
Console.WriteLine($"LastName: {parseName.LastName}");//"Johnson"
//Gender:
Console.WriteLine($"Gender: {parseName.GenderData.Gender}");//"f"
Console.WriteLine($"FemalePercent: {parseName.GenderData.FemalePercent}");
Console.WriteLine($"MalePercent: {parseName.GenderData.MalePercent}");
Console.WriteLine("\nCountry First Name:");
CountryElement countryElement = parseName.CountryData.FirstNameCountryPhrases.First().CountryElements.First();
Console.WriteLine($"Country: {countryElement.Country}");
Console.WriteLine($"Frequency: {countryElement.Frequency}");
Console.WriteLine($"Certainty: {countryElement.Certainty}");
Console.WriteLine($"Percent: {countryElement.Percent}");
Console.WriteLine("\nCountry Last Name:");
countryElement = parseName.CountryData.LastNameCountryPhrases.First().CountryElements.First();
Console.WriteLine($"Country: {countryElement.Country}");
Console.WriteLine($"Frequency: {countryElement.Frequency}");
Console.WriteLine($"Certainty: {countryElement.Certainty}");
Console.WriteLine($"Percent: {countryElement.Percent}");
Getting Help
Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests.
- If it turns out that you may have found a bug, please open an issue via Github Issues.
- Suggest an idea for this product, open feature request.
- For tutorials, quick starts, and other documentation, go to Wiki documentation.
- For Examples, go to examples.
- Ask a question on StackOverflow and tag it with polar-name-explorer.
Note
Follow the information here on the GitHub repository Polar Name Explorer SDK.
If you have any questions feel free to contact us: support@polarsoftware.com, or find anything you want to know here: issues.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. |
-
net5.0
- Catalyst (>= 1.0.22150)
- Catalyst.Models.Dutch (>= 1.0.21637)
- Catalyst.Models.English (>= 1.0.21637)
- Catalyst.Models.French (>= 1.0.21637)
- Catalyst.Models.German (>= 1.0.21637)
- Catalyst.Models.Italian (>= 1.0.21637)
- Catalyst.Models.Polish (>= 1.0.21637)
- Catalyst.Models.Portuguese (>= 1.0.21637)
- Catalyst.Models.Russian (>= 1.0.21637)
- Catalyst.Models.Spanish (>= 1.0.21637)
- CsvHelper (>= 27.1.1)
- NameParserSharp (>= 1.4.0)
- Newtonsoft.Json (>= 13.0.1)
- protobuf-net (>= 3.0.101)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.