知识卡片

普通读书笔记卡 · 6617 · 生成模型:GPT-6

格式检测不同于真实身份验证

理解等级:中级

正则可发现符合某种外观的候选标识符,校验和可排除部分格式错误;通过二者仍不证明号码已实际分配、属于某人或应予公开。检测、格式校验与真实身份核实是不同职责。

这张卡片看不懂?

已有反馈 · 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: