feat(03-02): add MLS to canonicalization pipeline

- Import MLS_TEAMS from mls module
- Add MLS_DIVISIONS dict (Eastern/Western conferences)
- Add MLS to sport_mappings for team canonicalization
- Add MLS team abbreviation aliases (LA, NYC, RBNY, etc.)
- Add MLS stadium historical aliases (BMO, PayPal Park, Shell Energy, etc.)

Total teams: 154 (30 MLS teams added)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Trey t
2026-01-10 09:40:39 -06:00
parent 3e9bd24214
commit b6a913df1d
3 changed files with 83 additions and 0 deletions

View File

@@ -97,6 +97,18 @@ TEAM_ABBREV_ALIASES = {
('NFL', 'TAM'): 'team_nfl_tb', # Tampa Bay alternate
('NFL', 'SFO'): 'team_nfl_sf', # San Francisco alternate
('NFL', 'WAS'): 'team_nfl_was', # Washington (direct match but include for completeness)
# MLS
('MLS', 'LA'): 'team_mls_lag', # LA Galaxy
('MLS', 'NYC'): 'team_mls_nycfc', # NYC FC
('MLS', 'RBNY'): 'team_mls_nyrb', # NY Red Bulls
('MLS', 'NYR'): 'team_mls_nyrb', # NY Red Bulls alt
('MLS', 'SJE'): 'team_mls_sj', # San Jose Earthquakes
('MLS', 'KC'): 'team_mls_skc', # Sporting KC
('MLS', 'DCU'): 'team_mls_dc', # DC United
('MLS', 'FCD'): 'team_mls_dal', # FC Dallas
('MLS', 'MON'): 'team_mls_mtl', # Montreal
('MLS', 'LAF'): 'team_mls_lafc', # LAFC alt
}