CherubNLP Save

Natural Language Processing in .NET Core

Project README

CherubNLP

Natural Language Processing in .NET Standard.

PM > Install-Package CherubNLP

Word Vector

Text Vector

Text Similarity

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<double>(similarities));
Open Source Agenda is not affiliated with "CherubNLP" Project. README Source: SciSharp/CherubNLP
Stars
113
Open Issues
6
Last Commit
1 year ago
Repository
License

Open Source Agenda Badge

Open Source Agenda Rating