知识卡片
格式检测不同于真实身份验证
正则可发现符合某种外观的候选标识符,校验和可排除部分格式错误;通过二者仍不证明号码已实际分配、属于某人或应予公开。检测、格式校验与真实身份核实是不同职责。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
- · 预训练数据
原书出处 · 1 处
- · 查看原书依据
detection is not the same as validation. Not all nine-digit numbers of the form XXX-XX-XXXX are SSNs! Validation is the process of checking if a sequence of characters maps to a valid identifier. For example, the Canadian equivalent of SSN, the social insurance number (SIN) contains a checksum digit that can be used to validate it:
参考来源
- 位置:《Designing Large Language Model Applications》第02章《预训练数据》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Designing Large Language Model Applications/_epub-src/OEBPS/ch02.html)
- 结论依据:摘录中关于格式检测不同于真实身份验证的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。
- 原始内容:detection is not the same as validation. Not all nine-digit numbers of the form XXX-XX-XXXX are SSNs! Validation is the process of checking if a sequence of characters maps to a valid identifier. For example, the Canadian equivalent of SSN, the social insurance number (SIN) contains a checksum digit that can be used to validate it: