VOOZH about

URL: https://www.nuget.org/packages/PolarNameExplorer/

⇱ NuGet Gallery | PolarNameExplorer 0.8.9




👁 Image
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.
<PackageVersion Include="PolarNameExplorer" Version="0.8.9" />
 
Directory.Packages.props
<PackageReference Include="PolarNameExplorer" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version 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 and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PolarNameExplorer@0.8.9
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PolarNameExplorer&version=0.8.9
 
Install as a Cake Addin
#tool nuget:?package=PolarNameExplorer&version=0.8.9
 
Install as a Cake Tool
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 Compatible and additional computed target framework versions.
.NET net5.0 net5.0 is compatible.  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. 
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 1,124 11/7/2021
0.8.7 983 11/5/2021