(lines: readonly ReaderLine[])
| 123 | * pseudocode rewrite: half a token per character, with a floor. |
| 124 | */ |
| 125 | export function readerMaxTokens(lines: readonly ReaderLine[]): number { |
| 126 | return Math.max(256, Math.ceil(readerSubjectText(lines).length / 2)); |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * The words of a sentence, lowercased, as a set. |
no test coverage detected