feat: add Turkish license plate (TR_LICENSE_PLATE) recognizer#1999
Merged
SharonHart merged 5 commits intoApr 27, 2026
Merged
Conversation
f4c7915 to
186ca27
Compare
Contributor
Author
|
@SharonHart This PR is ready for review. It follows the same pattern as merged PR #1995 and is part of #1973. |
SharonHart
previously approved these changes
Apr 26, 2026
- Add Turkey (TR) support to generic PhoneRecognizer - Extend TR_PHONE_NUMBER to support geographic numbers (2/3/4 prefix) - Implement ITU-T E.164 compliant validation with MNP awareness - Add Turkish context words for better detection accuracy - Update tests and documentation for enhanced coverage - Legal basis: KTK Madde 23, ITU-T E.164 compliance Addresses SharonHart's feedback on country-specific checks
….com/mrcuren/presidio into feat/turkey-license-plate-recognizer
…clean Separate TR_PHONE_NUMBER recognizer into its own branch/PR. PR microsoft#1999 should only contain TR_LICENSE_PLATE changes.
Contributor
Author
|
@SharonHart This PR has been cleaned up - it now contains only the TR_LICENSE_PLATE recognizer. The TR_PHONE_NUMBER changes have been moved to a separate PR (#2006) as discussed in #1973. Ready for re-review when you have a chance. |
SharonHart
approved these changes
Apr 27, 2026
mrcuren
added a commit
to mrcuren/presidio
that referenced
this pull request
Apr 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Turkish vehicle license plate recognizer to Presidio Analyzer.
The Turkish license plate (plaka) follows the format: [province_code 01-81] [1-3 letters] [2-4 digits].
It is considered PII under Turkish KVKK (Personal Data Protection Law) when linked to an identifiable vehicle owner.
Features:
validate_result()Legal basis: Karayolları Trafik Kanunu (KTK) Madde 23.
Issue reference
Part of #1973
Testing
test_tr_license_plate_recognizer.pywith comprehensive test coverageChecklist
default_recognizers.yamlwithenabled: false__init__.pyand__all__