https://github.com/scisharp/cherubnlp
Natural Language Processing in .NET Core
https://github.com/scisharp/cherubnlp
machine-learning nlp nlu
Last synced: 4 months ago
JSON representation
Natural Language Processing in .NET Core
- Host: GitHub
- URL: https://github.com/scisharp/cherubnlp
- Owner: SciSharp
- License: apache-2.0
- Created: 2018-10-14T13:10:29.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-06T02:47:29.000Z (over 2 years ago)
- Last Synced: 2025-06-11T19:53:14.263Z (4 months ago)
- Topics: machine-learning, nlp, nlu
- Language: C#
- Size: 3.04 MB
- Stars: 116
- Watchers: 13
- Forks: 33
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CherubNLP
Natural Language Processing in .NET Standard.```powershell
PM > Install-Package CherubNLP
```#### Word Vector
#### Text Vector#### Text Similarity
```csharp
using NumSharp;var similarities = Similarity.Cosine("We can use Cosine to compute the similarity of two hardcoded lists.", new[]
{
"Cosine Similarity algorithm function sample.",
"The Cosine Similarity function computes the similarity of two lists of numbers.",
"Compute the similarity of two hardcoded lists.",
"We can compute the similarity of two hardcoded lists.",
"Coronavirus app could trace your contacts without sacrificing your privacy"
}, "dbpedia.ftz"));Assert.AreEqual(new[] { 0, 4, 1, 3, 2 }, np.argsort(similarities));
```