# ============================================================
# TELEPHONE NUMBER VARIATIONS - test corpus for the NLP++ analyzer
# One candidate per line. Lines beginning with # are section
# headers / notes (not real numbers). Use these to widen and
# harden the telephone rules in spec/Telep1.nlp.
# ============================================================

# ------------------------------------------------------------
# US / North American (NANP) - 10 digit, no country code
# ------------------------------------------------------------
2124567890
212-456-7890
212.456.7890
212 456 7890
212/456/7890
(212)456-7890
(212)-456-7890
(212) 456-7890
(212) 456 7890
(212) 456.7890
(212)4567890
212 456-7890
212-456.7890

# ------------------------------------------------------------
# US local - 7 digit, no area code
# ------------------------------------------------------------
456-7890
456.7890
456 7890
4567890

# ------------------------------------------------------------
# US with leading 1 (long distance)
# ------------------------------------------------------------
12124567890
1-212-456-7890
1.212.456.7890
1 212 456 7890
1 (212) 456-7890
1(212)456-7890
1-(212)-456-7890

# ------------------------------------------------------------
# US with +1 country code
# ------------------------------------------------------------
+12124567890
+1 212 456 7890
+1-212-456-7890
+1.212.456.7890
+1 (212) 456-7890
+1 212.456.7890
+1 212-456-7890
+1 (212) 456 7890

# ------------------------------------------------------------
# International dialing prefixes (00 / 011)
# ------------------------------------------------------------
001-212-456-7890
011-1-212-456-7890
011 44 20 1234 1234
191-212-456-7890

# ------------------------------------------------------------
# Toll-free / special / vanity
# ------------------------------------------------------------
1-800-555-0199
1 (800) 555-0199
(800) 555-0199
800-555-0199
1-888-555-0199
1-877-555-0199
+1-866-555-0199
1-800-FLOWERS
1-800-GOT-JUNK

# ------------------------------------------------------------
# Short codes / emergency / directory
# ------------------------------------------------------------
911
411
311
112
999
55512
84444

# ------------------------------------------------------------
# Extensions
# ------------------------------------------------------------
212-456-7890 ext. 123
212-456-7890 ext 123
212-456-7890 x123
212-456-7890 x.123
212-456-7890 extension 123
(212) 456-7890 ext 4567
+1 212 456 7890 #123

# ------------------------------------------------------------
# Labelled numbers (inline context)
# ------------------------------------------------------------
Phone: 212-456-7890
Tel: 212.456.7890
Tel. (212) 456-7890
Fax: 212-456-7891
Mobile: +1 212 456 7890
Cell: 212.456.7890
Call us at 212-456-7890 today.
You can reach me at (212) 456-7890 anytime.
tel:+12124567890
TEL +1-212-456-7890

# ------------------------------------------------------------
# United Kingdom (+44)
# ------------------------------------------------------------
020 1234 1234
+44 20 1234 1234
+442012341234
(020) 1234 1234
0044 20 1234 1234
07911 123456
+44 7911 123456
+447911123456
0161 496 0000
+44 161 496 0000

# ------------------------------------------------------------
# France (+33)
# ------------------------------------------------------------
01 23 45 67 89
0123456789
+33 1 23 45 67 89
+33123456789
+33 (0)1 23 45 67 89
06 12 34 56 78
+33 6 12 34 56 78

# ------------------------------------------------------------
# Germany (+49)
# ------------------------------------------------------------
030 12345678
+49 30 12345678
+4930123456 78
0049 30 12345678
0151 23456789
+49 151 23456789

# ------------------------------------------------------------
# India (+91)
# ------------------------------------------------------------
+91 98765 43210
098765 43210
+919876543210
91-9876543210
+91-98765-43210
022 2345 6789
+91 22 2345 6789

# ------------------------------------------------------------
# Lithuania (+370)
# ------------------------------------------------------------
8 601 12345
+370 601 12345
+37060112345
8-601-12345

# ------------------------------------------------------------
# Japan (+81)
# ------------------------------------------------------------
03-1234-5678
+81 3-1234-5678
+81 3 1234 5678
090-1234-5678
+81 90 1234 5678

# ------------------------------------------------------------
# China (+86)
# ------------------------------------------------------------
138 0013 8000
+86 138 0013 8000
+8613800138000
010 1234 5678
+86 10 1234 5678

# ------------------------------------------------------------
# Australia (+61)
# ------------------------------------------------------------
02 1234 5678
+61 2 1234 5678
0412 345 678
+61 412 345 678
(02) 1234 5678

# ------------------------------------------------------------
# Brazil (+55)
# ------------------------------------------------------------
(11) 91234-5678
+55 11 91234-5678
+5511912345678
11 91234 5678

# ------------------------------------------------------------
# Mexico (+52)
# ------------------------------------------------------------
55 1234 5678
+52 55 1234 5678
+52 1 55 1234 5678
(55) 1234-5678

# ------------------------------------------------------------
# Russia (+7)
# ------------------------------------------------------------
8 495 123-45-67
+7 495 123 45 67
+7 (495) 123-45-67
8 (495) 123 45 67

# ------------------------------------------------------------
# Other European
# ------------------------------------------------------------
+39 06 1234 5678
06 1234 5678
+34 612 34 56 78
612 34 56 78
+34 91 234 56 78
+31 20 123 4567
020 123 4567
+41 44 123 45 67
+353 1 234 5678

# ------------------------------------------------------------
# Morocco / Africa
# ------------------------------------------------------------
+212-456-7890
+212 5 24 12 34 56
+27 21 123 4567
+234 1 234 5678

# ------------------------------------------------------------
# Tricky / edge cases (should these match or NOT?)
# ------------------------------------------------------------
4151231234
415 123 1234
+14151231234
+1 (415) 123-1234
1-415-123-1234 (cell)
1-415-123-1234, 1-415-123-5678
Two numbers: 212-456-7890 and 415-123-1234
212 - 456 - 7890
212–456–7890
(212) 456-7890.
"212-456-7890"
<212-456-7890>
212.456.7890,
Ph#212-456-7890
+1 212 456 7890 (work)
ext only: x4567
not a phone: 2023-06-06
not a phone: 12345
not a phone: 99.99.99.99
date-like: 06/06/2026
zip+phone: 10001 212-456-7890
