PolarNameExplorer 0.8.9

dotnet add package PolarNameExplorer --version 0.8.9                
NuGet\Install-Package PolarNameExplorer -Version 0.8.9                
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="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                
#r "nuget: PolarNameExplorer, 0.8.9"                
#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.
// 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}");

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
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 759 11/7/2021
0.8.7 738 11/5/2021