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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user