RecursiveAI.OneNlp.Models.Portuguese
1.0.0
Prefix Reserved
dotnet add package RecursiveAI.OneNlp.Models.Portuguese --version 1.0.0
NuGet\Install-Package RecursiveAI.OneNlp.Models.Portuguese -Version 1.0.0
<PackageReference Include="RecursiveAI.OneNlp.Models.Portuguese" Version="1.0.0" />
<PackageVersion Include="RecursiveAI.OneNlp.Models.Portuguese" Version="1.0.0" />
<PackageReference Include="RecursiveAI.OneNlp.Models.Portuguese" />
paket add RecursiveAI.OneNlp.Models.Portuguese --version 1.0.0
#r "nuget: RecursiveAI.OneNlp.Models.Portuguese, 1.0.0"
#:package RecursiveAI.OneNlp.Models.Portuguese@1.0.0
#addin nuget:?package=RecursiveAI.OneNlp.Models.Portuguese&version=1.0.0
#tool nuget:?package=RecursiveAI.OneNlp.Models.Portuguese&version=1.0.0
RecursiveAI.OneNLP.Models.Portuguese
spaCy-class NLP for .NET. The Portuguese fast-tier model for RecursiveAI.OneNlp: add this package and the Nlp verbs analyze Portuguese text with tags, morphology, lemmas, a dependency parse and named entities. No downloads, no native code, NativeAOT and trim clean. Unaffiliated with other projects named OneNLP.
Measured. UD Portuguese-Bosque r2.18 test (and UNER Portuguese-Bosque test for entities), against spaCy 3.8.18 trained with its default configuration on the same data (95% paired bootstrap intervals are in the results table). Gold words: UPOS 95.89 against 95.92, UFeats 94.51 against 94.11, lemmas 97.30 against 96.90 and LAS 81.80 against 81.96 (all within noise). Raw text: UPOS 95.35 against 84.15 and LAS 81.14 against 65.85 (ahead). Entities micro F1 73.48 against 75.27 (within noise). Entity precision is 75.46 against 76.96 (paired -1.50 [-3.76, 0.83], within noise). Data lineage: UD Portuguese-Bosque and UNER Portuguese-Bosque (CC BY-SA 4.0); the weights carry share-alike lineage where the data does. Size: 104.8 MiB of weights. Speed against the managed reference is measured at the release gate.
using RecursiveAI.OneNlp;
Doc doc = Nlp.Analyze("Maria Silva visitou a cidade de Lisboa em maio.");
foreach (Token t in doc)
{
Console.WriteLine($"{t} {t.Pos} {t.Lemma} {t.Dep}");
}
foreach (Span e in Nlp.Entities("Maria Silva mora em Lisboa."))
{
Console.WriteLine($"{e.Label} {e}");
}
Tokens follow Universal Dependencies Portuguese-Bosque. A contraction of a preposition with an article or pronoun (do, na, pelo, nesse) is two tokens, because the treebank writes it as a multiword token of two words: do is the tokens d and o (the words de o). A pronoun after a verb is its own token with its hyphen: trata-se is trata and -se. à is one token (the words a a). Bosque has no XPOS column, so Token.Tag is empty; Pos and Morph come from the morphologizer.
The package adds a small source file to the project that references it; that file registers the model when the program starts. Programs that cannot compile it call PortugueseModel.Register() once.
The weights are trained on Universal Dependencies Portuguese-Bosque and Universal NER Portuguese-Bosque (both CC BY-SA 4.0), credited in THIRD-PARTY-NOTICES.md; PROVENANCE.md lists every dataset, recipe and seed. The weights are licensed MIT OR Apache-2.0.
- Measured results against spaCy and others: https://github.com/recursive-ai-oss/onenlp-csharp/blob/main/docs/results-table.md
- Source and documentation: https://github.com/recursive-ai-oss/onenlp-csharp
- Home: https://recursiveai.org/onenlp/
Copyright (c) Recursive AI, LLC.
| 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
- RecursiveAI.OneNlp.Neural (>= 1.0.0)
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 |
|---|---|---|
| 1.0.0 | 145 | 11/8/2026 |
See CHANGELOG.md in the repository.