-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
32 lines (32 loc) · 1.12 KB
/
__init__.py
File metadata and controls
32 lines (32 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
ar_date_module/
├── regex_patterns/
│ ├── get_pattern.py # All get_*_pattern functions (era, month, day, year, etc.)
│ ├── keywords_to_regex.py # Helper for building regex from keywords
│ └── ... (other regex-related files)
│
├── extractors/
│ ├── get_base_pattern_by_lang.py # Logic for selecting base patterns
│ ├── get_calendar_variants.py # Calendar variant extraction logic
│ └── ... (other parsing/extraction logic)
│
├── normalizers/
│ ├── normalize_era.py
│ ├── normalize_month.py
│ ├── normalize_numeric_words.py
│ ├── normalize_separators.py
│ ├── calendar_yr_to_yr_cal.py # Calendar conversion routines
│ └── ... (other normalization/conversion logic)
│
├── utils/
│ ├── __init__.py
│ └── ... (general helpers, validation, fuzzy matching, etc.)
│
├── tests/
│ ├── test_code.py
│ ├── test_text.py
│ └── ... (all test files)
│
├── main.py
├── cli.py
├── README.md
── ...