Extend.NET.NLP
2024.9.9.1402
See the version list below for details.
dotnet add package Extend.NET.NLP --version 2024.9.9.1402
NuGet\Install-Package Extend.NET.NLP -Version 2024.9.9.1402
<PackageReference Include="Extend.NET.NLP" Version="2024.9.9.1402" />
paket add Extend.NET.NLP --version 2024.9.9.1402
#r "nuget: Extend.NET.NLP, 2024.9.9.1402"
// Install Extend.NET.NLP as a Cake Addin #addin nuget:?package=Extend.NET.NLP&version=2024.9.9.1402 // Install Extend.NET.NLP as a Cake Tool #tool nuget:?package=Extend.NET.NLP&version=2024.9.9.1402
Extend.NET.NLP
Last Updated: 2024-09-09 14:02:02
📖 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 | Versions 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. |
-
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 | 104 | 9/9/2024 |
2024.9.9.1402 | 92 | 9/9/2024 |
2024.9.9.1338 | 94 | 9/9/2024 |
2024.9.9.1335 | 100 | 9/9/2024 |
2024.9.9.1320 | 97 | 9/9/2024 |
2024.9.9.1225 | 92 | 9/9/2024 |
2024.9.9.1052 | 98 | 9/9/2024 |
2024.9.9.1044 | 93 | 9/9/2024 |
2024.9.9.1004 | 103 | 9/9/2024 |
2024.9.8.1721 | 93 | 9/8/2024 |