legal-summarization changedabout-claude/use-case-guides/legal-summarization
Nearest release: v2.1.304, published 6 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+6added
Lines−8removed
From line
84
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits9to this page, all time
The whole hunk
from line 84, old and new numbered
/
from line 84
8484 "Consent and notices (landlord's consent, and notice requirements)",
8585 "Special provisions (furniture, parking, and subletting restrictions)",
8686 }
87
8887 ```
8988
9089 ```java Java
from line 374
375374 }
376375 fmt.Println(documentText[:min(50000, len(documentText))])
377376 }
378
379377 ```
380378
381379 ```java Java
from line 417
419417 ```
420418
421419 ```php PHP
420 use Smalot\PdfParser\Parser;
421
422422 $getLlmText = function (string $pdfData): string {
423 $document = (new \Smalot\PdfParser\Parser())->parseContent($pdfData);
423 $document = (new Parser())->parseContent($pdfData);
424424 $text = implode("\n", array_map(fn ($page) => $page->getText(), $document->getPages()));
425425
426426 // Remove page numbers
from line 689
689689 subleaseSummary := summarizeDocument(documentText, detailsToExtract, anthropic.ModelClaudeOpus5_5, 16000)
690690 fmt.Println(subleaseSummary)
691691 }
692
693692 ```
694693
695694 ```java Java
from line 742
743742
744743 ```php PHP
745744 // Initialize the Anthropic client
746 $client = new \Anthropic\Client();
745 $client = new Client();
747746
748747 $summarizeDocument = function (
749748 string $text,
750749 array $detailsToExtract,
751 \Anthropic\Messages\Model $model = \Anthropic\Messages\Model::CLAUDE_OPUS_5_5,
750 Model $model = Model::CLAUDE_OPUS_5_5,
752751 int $maxTokens = 16000,
753752 ) use ($client): string {
754753 // Format the details to extract to be placed within the prompt's context
from line 1152
11531152 longSummary := summarizeLongDocument(documentText, detailsToExtract, anthropic.ModelClaudeOpus5_5, 16000)
11541153 fmt.Println(longSummary)
11551154 }
1156
11571155 ```
11581156
11591157 ```java Java
from line 1220
12221220 $summarizeLongDocument = function (
12231221 string $text,
12241222 array $detailsToExtract,
1225 \Anthropic\Messages\Model $model = \Anthropic\Messages\Model::CLAUDE_OPUS_5_5,
1223 Model $model = Model::CLAUDE_OPUS_5_5,
12261224 int $maxTokens = 16000,
12271225 ) use ($client, $chunkText, $summarizeDocument): string {
12281226 // Format the details to extract to be placed within the prompt's context
No line in this hunk matches that.