Unverified50% confidenceFactExact time
The choice of n in n-gram matching is a trade-off: too small an n (such as 3) produces many false positives due to common phrases; too large an n (such as 50) is overly sensitive to reasonable code rewrites and prone to missed detections; 13 is an empirically折中 choice in code scenarios.
1
Sources
50%
Confidence
Long-term
Relevance
10/13/2026
First Seen
Sources
Related Entities
Related Claims
Unverified当查询词较短而候选词较长时,重叠系数可能比 Jaccard 更合适,因为它不会因候选词的额外 N-gram 而过度惩罚相似度分数65% similarUnverifiedThe importance sampling optimization idea can compress the actual algorithmic complexity from O(N) to O(k), where k is much smaller than N.64% similarUnverifiedA similarity threshold that is too high may cause valid answers to be incorrectly filtered out, while one that is too low may introduce noise, requiring a trade-off between recall and precision.62% similarUnverifiedRule-based comparisons such as duplicate detection, numerical contradictions, and unit conversion inconsistencies are suitable for deterministic code, while LLMs should focus on semantic-level contradictions that require contextual understanding.62% similarUnverifiedThe choice of chunking granularity is essentially a trade-off between precision and contextual completeness: chunks that are too small allow precise location of code but lose context, while chunks that are too large retain context but degrade retrieval accuracy and vector representation quality.62% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1013065API
curl https://kongchang.com/api/v1/knowledge/claims/1013065MCP
get_claim(id=1013065)