Extend.NET.NLP 2024.9.9.1320

There is a newer version of this package available.
See the version list below for details.
dotnet add package Extend.NET.NLP --version 2024.9.9.1320                
NuGet\Install-Package Extend.NET.NLP -Version 2024.9.9.1320                
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="Extend.NET.NLP" Version="2024.9.9.1320" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Extend.NET.NLP --version 2024.9.9.1320                
#r "nuget: Extend.NET.NLP, 2024.9.9.1320"                
#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 Extend.NET.NLP as a Cake Addin
#addin nuget:?package=Extend.NET.NLP&version=2024.9.9.1320

// Install Extend.NET.NLP as a Cake Tool
#tool nuget:?package=Extend.NET.NLP&version=2024.9.9.1320                

Extend.NET.NLP

Last Updated: 2024-09-09 13:20:10

📖 Overview

Extend.NET.NLP is part of the Extend.NET suite, providing a collection of powerful and easy-to-use extension methods for NLP types in .NET applications. These extensions aim to simplify common tasks and enhance developer productivity.

🧰 Extension Methods

CalculateJaccardSimilarity

Calculates the Jaccard similarity between two strings.

CalculateLevenshteinDistance

Calculates the Levenshtein distance between two strings.

CalculateReadabilityScore

Calculates a simple readability score (Flesch-Kincaid Grade Level) for the input text.

CalculateSentimentScore

Calculates a simple sentiment score for the input text.

CalculateTextComplexity

Calculates a simple text complexity score based on average word length and sentence length.

CalculateTfIdf

Calculates the TF-IDF (Term Frequency-Inverse Document Frequency) score for a term in a document.

CalculateWordSimilarity

Calculates the similarity between two words using the Jaro-Winkler distance.

ConvertToCamelCase

Converts the input text to camelCase.

ConvertToPhonetic

Converts the input text to its phonetic representation using a simplified Soundex algorithm.

ConvertToSnakeCase

Converts the input text to snake_case.

ConvertToTitleCase

Converts the input text to title case.

CountSyllables

Estimates the number of syllables in a word.

CountUniqueWords

Counts the number of unique words in the input text.

CountWords

Counts the number of words in the input text.

DetectLanguage

Attempts to detect the language of the input text based on common words.

ExpandContractions

Expands common English contractions in the input text.

ExtractAcronyms

Extracts potential acronyms from the input text.

ExtractDateTimes

Extracts potential date and time strings from the input text.

ExtractEmailAddresses

Extracts email addresses from the input text.

ExtractHashtags

Extracts hashtags from the input text.

ExtractKeywords

Extracts potential keywords from the input text based on word frequency.

ExtractNumbers

Extracts numbers from the input text.

ExtractSentences

Extracts sentences from the input text.

ExtractUrls

Extracts URLs from the input text.

int

Finds potential collocations (frequently co-occurring word pairs) in the input text.

FindLongestCommonSubstring

Finds the longest common substring between two strings.

FindNamedEntities

Finds potential named entities in the input text using simple heuristics.

GenerateNGrams

Generates n-grams from the input text.

int

Calculates the frequency of each word in the input text.

NormalizeText

Normalizes the input text by removing special characters, extra spaces, and converting to lowercase.

RemoveDiacritics

Removes diacritics (accent marks) from the input text.

RemoveHtmlTags

Removes HTML tags from the input text.

RemovePunctuation

Removes punctuation from the input text.

RemoveStopWords

Removes common stop words from the input text.

ReverseWords

Reverses the order of words in the input text.

StemWord

Performs simple stemming on the input word using the Porter Stemming Algorithm.

TokenizeIntoSentences

Tokenizes the input text into sentences using a more sophisticated approach.

TokenizeText

Tokenizes the input text into individual words.

TruncateText

Truncates the input text to a specified length, ensuring it doesn't cut off in the middle of a word.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.
  • net8.0

    • No dependencies.

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
2024.9.9.1414 96 9/9/2024
2024.9.9.1402 85 9/9/2024
2024.9.9.1338 89 9/9/2024
2024.9.9.1335 95 9/9/2024
2024.9.9.1320 90 9/9/2024
2024.9.9.1225 88 9/9/2024
2024.9.9.1052 94 9/9/2024
2024.9.9.1044 89 9/9/2024
2024.9.9.1004 96 9/9/2024
2024.9.8.1721 89 9/8/2024