PolarNameExplorer 0.8.9

.NET 5.0
Install-Package PolarNameExplorer -Version 0.8.9
dotnet add package PolarNameExplorer --version 0.8.9
<PackageReference Include="PolarNameExplorer" Version="0.8.9" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PolarNameExplorer --version 0.8.9
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PolarNameExplorer, 0.8.9"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// 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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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}");

source of example

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}");

source of example

Getting Help

Please use these community resources for getting help. We use the GitHub issues for tracking bugs and feature requests.

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
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.8.9 259 11/7/2021
0.8.7 342 11/5/2021