RecursiveAI.OneDiff.Documents
1.0.0
See the version list below for details.
dotnet add package RecursiveAI.OneDiff.Documents --version 1.0.0
NuGet\Install-Package RecursiveAI.OneDiff.Documents -Version 1.0.0
<PackageReference Include="RecursiveAI.OneDiff.Documents" Version="1.0.0" />
<PackageVersion Include="RecursiveAI.OneDiff.Documents" Version="1.0.0" />
<PackageReference Include="RecursiveAI.OneDiff.Documents" />
paket add RecursiveAI.OneDiff.Documents --version 1.0.0
#r "nuget: RecursiveAI.OneDiff.Documents, 1.0.0"
#:package RecursiveAI.OneDiff.Documents@1.0.0
#addin nuget:?package=RecursiveAI.OneDiff.Documents&version=1.0.0
#tool nuget:?package=RecursiveAI.OneDiff.Documents&version=1.0.0
RecursiveAI.OneDiff.Documents
Text diff and document comparison for .NET.
The document comparison engine: a compare model with source anchors, staged alignment (moves, splits, merges), an in-pair diff, grouping, typed changes with resolved values, cascades and defined-term renames, verification, a change ledger, combine and version chains, a change report, a versioned JSON form, and HTML redlines (inline and side by side). Every comparison is checked for completeness: old plus changes gives new, and new minus changes gives old; otherwise it falls back to a coarser complete grouping. Reads plain text; PDFs, scans and Word documents come from the adapter packages.
using OneDiff.Documents;
Redline.Create("v1.txt", "v2.txt", "redline.html"); // the form follows the extension
var cmp = Comparison.Of("v1.txt", "v2.txt");
foreach (var c in cmp.Changes.Where(c => c.IsSubstantive))
Console.WriteLine($"{c.Kind}: {c.Old.Text} -> {c.New.Text}");
Depends on RecursiveAI.OneDiff and RecursiveAI.OneFont.
More: the compare model and the guarantee, change semantics, outputs, migrating from WmlComparer
Source, issues and the full README: https://github.com/recursive-ai-oss/onediff-csharp. Measured results, including the rows that are pending or lose: https://github.com/recursive-ai-oss/onediff-csharp/blob/main/docs/results.md.
This project is unaffiliated with any other project named OneDiff.
Licensed under MIT OR Apache-2.0. © 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.OneDiff (>= 1.0.0)
- RecursiveAI.OneFont (>= 1.4.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on RecursiveAI.OneDiff.Documents:
| Package | Downloads |
|---|---|
|
RecursiveAI.OneDiff.Pdf
Text diff and document comparison for .NET. PDF comparison: a document source that reads digital PDFs into the compare model with glyph-quad anchors, and a writer that marks the changes on the original pages with real PDF annotations. |
GitHub repositories
This package is not used by any popular GitHub repositories.
See CHANGELOG.md in the repository.