(query: string)
| 346 | } |
| 347 | |
| 348 | private normalizeQueryTerms(query: string): string[] { |
| 349 | return query |
| 350 | .toLowerCase() |
| 351 | .split(/[^a-z0-9_]+/) |
| 352 | .filter((term) => term.length > 2 && !QUERY_STOP_WORDS.has(term)); |
| 353 | } |
| 354 | |
| 355 | /** |
| 356 | * Classify query intent based on heuristic patterns |
no test coverage detected