(The product is in the release candidate phase. Contact: getting help or support@polarsoftware.com)
The Polar Name Explorer SDK enables .NET developers to easily work with Polar Name Explorer .NET Core Component.
The SDK is an easy-to-use infrastructure containing developer focused examples, documentation (GitHub Wiki) and official bug tracker (GitHub Issues).
Polar Name Explorer .NET Core Component is a class library that allows your .NET applications to extract and parse names and surnames from text, get the gender of the name, and country of origin.
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:
- Getting started
- Examples
- Getting Help
- Opening Issues
- Trial version and commercial license
- SDK Developer Guide, documentation
- SDK Examples
Install the package via .NET CLI,use the following command:
dotnet add package PolarNameExplorer
To include the package directly into project file:
<PackageReference Include="PolarNameExplorer" Version="0.8.7" />
Within Visual Studio, use the Package Manager Console command:
Install-Package PolarNameExplorer
The following sections provide several code snippets covering some of the most common Polar Name Explorer tasks, including:
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}");
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}");
Try the functionality of the component through this demo website that uses the relase version of the component:
https://nameapp.polarsoftware.com
Polar Name Explorer .NET Core Component A exception is triggered when an operation specific to Polar Name Explorer has encountered an issue. The exception includes some contextual information to assist in understanding the context of the error and its relative severity.
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.
If you encounter a bug with Polar Name Explorer SDK we would like to hear about it. Search the existing issues and try to make sure your problem doesn’t already exist before opening a new issue. It’s helpful if you include the version of Polar Name Explorer SDK and the OS you’re using. Please include a stack trace and reduced repro case when appropriate, too.
The GitHub issues are intended for bug reports and feature requests. For help and questions with using Polar Name Explorer SDK please make use of the resources listed in the Getting Help section. There are limited resources available for handling issues and by keeping the list of open issues clean we can respond in a timely manner.
Polar Name Explorer .NET Core Component is a commercial library. You are welcome to explore its functionality and get technical support from the team when you download this trial version.
Trial version has some limits such as: 30 days, uses only US name list, etc.
To use it commercially, you need to purchase a license (when we launch the release version). Feel free to review the Polar License Agreement to get acquainted with the full terms of use.
The libraries are subject of the license under which you've obtained the assemblies.
Website with a fully functional version of the component
You can try the full functionality of the component, release version, no trial version, on the website:
https://nameapp.polarsoftware.com
Currently, the product is in the release candidate phase.
This repository does not contain the actual source code of the components.
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.
Commercial, 100% royalty free distribution, for desktop and server.
Polar Name Explorer .NET Core Component is a commercial class library: License link