Repository navigation
Help: nlp -STDIN and how the KB carries across a multi-file run (engine 4.2.6) - #229
Merged
Merged
Conversation
…ne 4.2.6) $isdirrun, $isfirstfile and $islastfile only said "in a directory". They now explain that a directory run loads the analyzer and KB once and keeps the KB from file to file, and document nlp -STDIN (engine 4.2.6, #548): one input path per stdin line, blank line or EOF ends the stream, and the one-line read-ahead that lets $islastfile be set. Also fixes "analzyed". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents
nlp -STDINfrom VisualText/nlp-engine#757 (closes VisualText/nlp-engine#548) on the three pages an analyzer writer reads for multi-file runs.Merge after the engine v4.2.6 release is published — the pages are marked NEW 4.2.6.
-STDINdoes the same for files that arrive over time. Usage for Windows and Unix, the one-line read-ahead (fine for piping a list, not request/response), missing-path and relative-path handling, and the measured gain (parse-en-us, 5 files: 40.8s separate vs 8.0s streamed).check-help-docs.ps1: 0 broken links, 0 table/index drift.🤖 Generated with Claude Code