Links: drop what the scanner computed or accepted for nobody
scan() also built a Related list that no caller reads (the page asks /links/related, which related() answers); the `within` option was never sent; near() was only ever given a vector, so its embed-the-text fallback and null answer could not happen. extract.ts and words.ts re-exported phraseKey and singular from src/core/links, where they now come from directly. The suggestions are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014yB6q4BHMwptTX3YFtkRab
This commit is contained in:
1 parent
7f6b9d8e77
commit
9f8245e6d7
6 files changed
+20
-38
No files matched your search
@@ -9,10 +9,8 @@
|
||||
* lookups per node bounded.
|
||||
*/
|
||||
import type { Mark } from "../../src/core/marks";
|
||||
import { phraseKey } from "../../src/core/links";
|
||||
import { UNLISTED, listed, rank, singular } from "./words";
|
||||
|
||||
export { phraseKey };
|
||||
import { phraseKey, singular } from "../../src/core/links";
|
||||
import { UNLISTED, listed, rank } from "./words";
|
||||
|
||||
export type Kind = "forced" | "name" | "term" | "noun";
|
||||
|
||||
@@ -117,7 +115,7 @@ interface ExtractOptions {
|
||||
exclude?: [number, number][];
|
||||
/** Marked phrases ([[…]] already taken out): candidates whatever they look like. */
|
||||
forced?: Mark[];
|
||||
/** Normalised phrases never to offer (the node's own title, its document's, rejected ones). */
|
||||
/** Normalised phrases never to offer (the node's own title, rejected ones). */
|
||||
skip?: Set<string>;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user