RecursiveAI.OneContact
1.1.0
Prefix Reserved
dotnet add package RecursiveAI.OneContact --version 1.1.0
NuGet\Install-Package RecursiveAI.OneContact -Version 1.1.0
<PackageReference Include="RecursiveAI.OneContact" Version="1.1.0" />
<PackageVersion Include="RecursiveAI.OneContact" Version="1.1.0" />
<PackageReference Include="RecursiveAI.OneContact" />
paket add RecursiveAI.OneContact --version 1.1.0
#r "nuget: RecursiveAI.OneContact, 1.1.0"
#:package RecursiveAI.OneContact@1.1.0
#addin nuget:?package=RecursiveAI.OneContact&version=1.1.0
#tool nuget:?package=RecursiveAI.OneContact&version=1.1.0
RecursiveAI.OneContact
Contact data for .NET.
A clean-room library for .NET 10 with no native code and no network, NativeAOT and trim clean. It turns a phone number, email address, web address, postal address, person name or company name into a canonical form, a versioned comparison key, flags and offsets back into the input.
PhoneNumber phone = PhoneNumber.Parse("(202) 456-1111", Region.US); // national input needs a region
string e164 = phone.E164; // +12024561111
EmailAddress email = EmailAddress.Parse("J.Smith+crm@GoogleMail.com");
string canonical = email.Canonical; // J.Smith+crm@googlemail.com
string key = email.Key; // jsmith@gmail.com
PostalAddress address = PostalAddress.Parse("1 main street apt 4, springfield, va 22162");
string label = address.ToString(AddressStyle.Display, AddressLayout.SingleLine); // 1 Main St Apt 4, Springfield, VA 22162
- Phones for every region: parse, validate, type, every format, as-you-type formatter, matcher with leniency levels, short numbers, examples.
- Email (RFC 5322, RFC 6531), web addresses (WHATWG URL, Public Suffix List), addresses (a structural layer for every country; parsing, postal-authority standardization, validation and expansion for the United States, Canada and the Tier 2 countries), person and company names (ISO 20275 legal forms).
- Free-text address and name parsing runs on rules. They never read a text in the wrong country and never print a value the text does not contain; text they cannot read is refused with a reason.
- Related packages:
RecursiveAI.OneContact.Phones.Geo(geocoder, carrier and time zones) andRecursiveAI.OneContact.Extraction(people, organizations and contact fields from pages and text).
It depends on the .NET base class library only. Nothing opens a socket or downloads a file.
- Documentation: https://github.com/recursive-ai-oss/onecontact-csharp/blob/main/docs/index.md
- Migrating from libphonenumber, libpostal, python-nameparser or probablepeople: https://github.com/recursive-ai-oss/onecontact-csharp/blob/main/docs/migrating.md
- Changelog: https://github.com/recursive-ai-oss/onecontact-csharp/blob/main/CHANGELOG.md
- Source: https://github.com/recursive-ai-oss/onecontact-csharp
- Home: https://recursiveai.org/onecontact/
Licensed MIT OR Apache-2.0. Copyright (c) Recursive AI, LLC. Third-party data and its notices: https://github.com/recursive-ai-oss/onecontact-csharp/blob/main/THIRD-PARTY-NOTICES.md
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (4)
Showing the top 4 NuGet packages that depend on RecursiveAI.OneContact:
| Package | Downloads |
|---|---|
|
RecursiveAI.OneContact.Extraction
Contact data for .NET: contact extraction for OneContact. Reads structured markup (JSON-LD, microdata, RDFa Lite, h-card, mailto and tel links, address elements) and visible text from web pages, plain text and sets of pages from one site into person and organization records, every field with its source, offsets, confidence and normalized value. |
|
|
RecursiveAI.OneContact.Phones.Geo
Contact data for .NET: Geocoder, carrier and time-zone mappers for phone numbers, an add-on to RecursiveAI.OneContact. The carrier mapper names the carrier a number range was first assigned to, which may not be its carrier today. |
|
|
RecursiveAI.OneContact.Models
Trained models for RecursiveAI.OneContact that read what its rules leave open in address and name text for the United States, Canada, Mexico, Australia, the United Kingdom and the Latin-script countries of Europe: address fields, person and company names, and contact details in running text. One shared encoder with an address-field head, a name head and a contact-span head, with the weights embedded in the assembly. No downloads. |
|
|
RecursiveAI.OneContact.Models.Tier1
Trained models for RecursiveAI.OneContact that read what its rules leave open in United States and Canadian text: address fields, person and company names, and contact details in running text. One small shared encoder with an address-field head, a name head and a contact-span head, with the weights embedded in the assembly. No downloads. |
GitHub repositories
This package is not used by any popular GitHub repositories.
See CHANGELOG.md in the repository.