Ice-hockey predictions today (2025-12-19)
Austria
ICE Hockey League
- 19:15 EHC Black Wings vs Red Bull Salzburg -Over 4.5 Goals: 68.50%Odd: Make Bet
- 18:30 Graz 99ers vs Fehervar AV19 -Over 4.5 Goals: 71.70%Odd: Make Bet
- 19:15 Klagenfurter AC vs Vorarlberg -Over 4.5 Goals: 91.00%Odd: Make Bet
- 19:15 Olimpija Ljubljana vs Val Pusteria -Over 4.5 Goals: 84.00%Odd: Make Bet
- 19:15 VSV Villach vs Ferencvaros -Over 4.5 Goals: 70.70%Odd: Make Bet
Canada
OHL
- 00:00 Barrie Colts vs Sudbury Wolves -Over 5.5 Goals: 64.90%Odd: Make Bet
- 00:00 North Bay Battalion vs Guelph Storm -Over 4.5 Goals: 74.80%Odd: Make Bet
- 00:05 Peterborough Petes vs Niagara Icedogs -Over 4.5 Goals: 74.10%Odd: Make Bet
- 00:05 Windsor Spitfires vs Sault Greyhounds -Over 4.5 Goals: 71.70%Odd: Make Bet
QMJHL
- 00:00 Blainville Boisbriand vs Rouyn Noranda -Over 4.5 Goals: 71.90%Odd: Make Bet
- 00:00 Chicoutimi Sagueneens vs Rimouski Oceanic -Over 4.5 Goals: 67.00%Odd: Make Bet
- 00:00 Drummondville Voltigeurs vs Gatineau Olympiques -Over 4.5 Goals: 88.70%Odd: Make Bet
- 00:00 Quebec Remparts vs Baie-Comeau Drakkar -Over 4.5 Goals: 74.00%Odd: Make Bet
- 00:00 Shawinigan Cataractes vs Val-d'Or Foreurs -Over 4.5 Goals: 94.60%Odd: Make Bet
- 00:00 Victoriaville Tigres vs Sherbrooke Phoenix -Over 4.5 Goals: 83.00%Odd: Make Bet
WHL
- 20:00 Calgary Hitmen vs Brandon Wheat Kings -Over 4.5 Goals: 90.60%Odd: Make Bet
- 03:05 Victoria Royals vs Vancouver Giants -Over 4.5 Goals: 93.90%Odd: Make Bet
Czech Republic
Extraliga
- 17:00 Karlovy Vary vs Mountfield -Under 5.5 Goals: 64.50%Odd: 1.53 Make Bet
- 17:00 Kladno vs Ceske Budejovice -Over 4.5 Goals: 77.70%Odd: Make Bet
- 17:00 Kometa Brno vs Liberec -Over 4.5 Goals: 59.00%Odd: Make Bet
- 16:30 Litvinov vs Sparta Praha -Over 4.5 Goals: 63.70%Odd: Make Bet
- 16:00 Trinec vs Plzen -Under 1.5 Goals in 1P: 59.10%Odd: Make Bet
- 16:30 Vitkovice vs Mlada Boleslav -Under 5.5 Goals: 62.90%Odd: 1.53 Make Bet
Denmark
Metal Ligaen
- 18:30 Herlev vs Frederikshavn White Hawks -Over 4.5 Goals: 95.00%Odd: Make Bet
- 18:30 Herning Blue Fox vs Odense Bulldogs -Over 4.5 Goals: 85.70%Odd: Make Bet
- 18:30 Roedovre Mighty Bulls vs Sonderjyske Ishockey -Over 4.5 Goals: 93.80%Odd: Make Bet
- 18:00 Rungsted Cobras vs Esbjerg -Over 4.5 Goals: 86.00%Odd: Make Bet
Finland
Liiga
- 16:30 Assat vs Pelicans -Over 4.5 Goals: 71.70%Odd: Make Bet
- 16:30 Hameenlinna vs JYP -Over 4.5 Goals: 67.20%Odd: Make Bet
- 16:30 IFK Helsinki vs TPS Turku -Over 4.5 Goals: 75.60%Odd: Make Bet
- 17:30 Ilves vs Kiekko-Espoo -Over 4.5 Goals: 77.30%Odd: Make Bet
- 16:30 KalPa vs KooKoo -Over 4.5 Goals: 75.30%Odd: Make Bet
- 16:30 SaiPa vs Lukko -Over 4.5 Goals: 74.40%Odd: Make Bet
- 16:30 Vaasan Sport vs Tappara -Over 4.5 Goals: 71.30%Odd: Make Bet
Mestis
- 16:30 Hermes vs TuTo -Over 4.5 Goals: 89.90%Odd: Make Bet
- 16:30 K-Vantaa vs Jokipojat -Over 4.5 Goals: 98.90%Odd: Make Bet
- 16:30 KeuPa HT vs Jokerit -Over 4.5 Goals: 86.10%Odd: Make Bet
- 16:30 RoKi vs IPK -Over 4.5 Goals: 77.50%Odd: Make Bet
France
Ligue Magnus
- 19:15 Amiens vs Chamonix -Over 4.5 Goals: 86.00%Odd: Make Bet
- 19:30 Cergy Pontoise vs Bordeaux -Over 1.5 Goals in 1P: 68.50%Odd: Make Bet
- 19:15 Grenoble vs GAP -Over 4.5 Goals: 94.30%Odd: Make Bet
- 19:15 Marseille vs Anglet Hormadi -Over 4.5 Goals: 76.80%Odd: Make Bet
- 19:00 Nice vs Angers -Over 4.5 Goals: 81.80%Odd: Make Bet
Germany
DEL 1 Bundesliga
- 18:30 Adler Mannheim vs Iserlohn Roosters -Under 5.5 Goals: 72.30%Odd: 1.95 Make Bet
- 18:30 Frankfurt Löwen vs Augsburg Panther -Over 4.5 Goals: 76.30%Odd: Make Bet
- 18:30 Nurnberg Ice Tigers vs Dresdner Eislowen -Over 4.5 Goals: 85.50%Odd: Make Bet
- 18:30 Straubing Tigers vs Bremerhaven Fischtown Pinguins -Over 4.5 Goals: 69.70%Odd: Make Bet
DEL 2 Bundesliga
- 18:30 ESV Kaufbeuren vs Bad Nauheim -Over 4.5 Goals: 89.80%Odd: Make Bet
- 18:30 Kassel Huskies vs EV Landshut -Over 4.5 Goals: 72.40%Odd: Make Bet
- 18:30 Krefeld Pinguine vs Bietigheim Steelers -Over 4.5 Goals: 85.00%Odd: Make Bet
- 18:30 Lausitzer Fuchse vs Dusseldorfer EG -Over 4.5 Goals: 95.70%Odd: Make Bet
- 19:00 Ravensburg EVR Tower Stars vs Regensburg -Over 4.5 Goals: 79.10%Odd: Make Bet
- 18:30 Starbulls Rosenheim vs Weiden -Under 1.5 Goals in 1P: 74.00%Odd: Make Bet
- 18:30 Wolfe Freiburg vs Eispiraten Crimmitschau -Over 5.5 Goals: 62.70%Odd: 2.05 Make Bet
Great Britain
Elite League
- 19:30 Glasgow Clan vs Fife Flyers -Under 6.5 Goals: 76.90%Odd: 1.83 Make Bet
Hungary
Erste Liga
- 17:30 Debreceni EAC vs DVTK Jegesmedvek -Over 4.5 Goals: 80.00%Odd: Make Bet
- 17:00 Dunaujvaros vs Gyergyoi -Over 4.5 Goals: 65.30%Odd: Make Bet
- 17:30 Fehervari Titanok vs Csikszereda -Over 4.5 Goals: 81.30%Odd: Make Bet
- 17:00 Ujpest vs Brasov -Over 5.5 Goals: 78.60%Odd: Make Bet
Kazakhstan
Championship
- 14:30 Almaty vs HC Saryarka Karaganda -Over 4.5 Goals: 74.00%Odd: Make Bet
- 14:00 Beibarys Atyrau vs Kulager Petropavl -Over 4.5 Goals: 72.70%Odd: Make Bet
- 14:00 Nomad Astana vs Torpedo Oskemen -Over 4.5 Goals: 81.30%Odd: Make Bet
- 14:00 Yertis Pavlodar vs Aktobe -Over 4.5 Goals: 76.80%Odd: Make Bet
Poland
PHL
- 17:00 Aksam Unia Oswiecim vs Ciarko Sanok -Over 4.5 Goals: 83.30%Odd: Make Bet
- 17:30 Katowice GKS vs Tychy -Over 4.5 Goals: 79.30%Odd: Make Bet
- 17:00 Polonia Bytom vs Jastrzebie -Over 4.5 Goals: 65.90%Odd: Make Bet
- 17:30 TKH Torun vs Zaglebie Sosnowiec -Over 4.5 Goals: 63.90%Odd: Make Bet
Russia
KHL
- 16:30 Kunlun Red Star vs Lada Togliatti -Over 4.5 Goals: 81.50%Odd: Make Bet
- 12:30 Sibir Novosibirsk vs Admiral Vladivostok -Over 4.5 Goals: 74.40%Odd: Make Bet
- 14:00 Traktor Chelyabinsk vs M. Magnitogorsk -Over 4.5 Goals: 78.90%Odd: Make Bet
MHL
- 15:30 MHC Spartak vs Mikhaylov Academy U20 -Over 4.5 Goals: 65.00%Odd: Make Bet
- 16:00 SKA Yunior vs Red Mashine -Over 4.5 Goals: 70.80%Odd: Make Bet
- 16:00 SKA-Karelia vs Atlanty -Over 4.5 Goals: 75.90%Odd: Make Bet
- 08:00 Sakhalinskie Akuly vs AKM Junior -Under 5.5 Goals: 62.90%Odd: Make Bet
- 09:00 Tayfun vs Kapitan Stupino -Over 4.5 Goals: 75.60%Odd: Make Bet
- 14:30 Tyumensky Legion vs Avto Yekaterinburg -Over 4.5 Goals: 77.90%Odd: Make Bet
VHL
- 16:00 Chelny vs HK Norilsk -Under 5.5 Goals: 74.60%Odd: Make Bet
- 13:30 Gornyak Uchaly vs Torpedo Gorky -Over 4.5 Goals: 70.40%Odd: Make Bet
- 15:30 Neftyanik Almetyevsk vs Sokol Krasnoyarsk -Under 5.5 Goals: 67.90%Odd: Make Bet
- 13:00 Omskie Krylia vs AKM -Over 4.5 Goals: 63.80%Odd: Make Bet
- 10:00 Zvezda Chekhov vs Toros Neftekamsk -Under 5.5 Goals: 75.10%Odd: Make Bet
Slovakia
1. Liga
- 17:00 Dubnica vs HK Detva -Over 4.5 Goals: 87.80%Odd: Make Bet
- 17:00 HC 19 Humenne vs Skalica -Over 4.5 Goals: 77.80%Odd: Make Bet
- 17:00 Nove Zamky vs Topolcany -Over 4.5 Goals: 95.60%Odd: Make Bet
- 17:00 Pov. Bystrica vs Martin -Over 4.5 Goals: 98.30%Odd: Make Bet
- 16:30 Trnava vs TEBS Bratislava -Over 4.5 Goals: 78.20%Odd: Make Bet
- 17:00 Ziar nad Hronom vs HK Levice -Over 4.5 Goals: 85.50%Odd: Make Bet
Extraliga
- 16:30 B. Bystrica vs Slovan Bratislava -Over 4.5 Goals: 63.00%Odd: Make Bet
- 17:00 Liptovsky Mikulas vs Michalovce -Over 4.5 Goals: 87.60%Odd: Make Bet
- 17:00 Poprad vs Spisska N. Ves -Over 4.5 Goals: 67.20%Odd: Make Bet
- 17:00 Presov vs Kosice -Over 4.5 Goals: 77.90%Odd: Make Bet
- 16:30 Zilina vs Trencin -Under 5.5 Goals: 73.90%Odd: 1.57 Make Bet
- 17:00 Zvolen vs Nitra -Over 4.5 Goals: 76.30%Odd: Make Bet
Sweden
Hockeyallsvenskan
- 19:30 AIK vs Bjorkloven -Under 5.5 Goals: 53.80%Odd: 1.80 Make Bet
- 18:00 Almtuna vs Nybro -Over 4.5 Goals: 76.60%Odd: Make Bet
- 18:00 Mora vs Ostersund -Under 1.5 Goals in 1P: 66.70%Odd: Make Bet
- 17:00 Sodertalje vs Modo -Under 5.5 Goals: 70.00%Odd: 1.62 Make Bet
- 18:00 Troja/Ljungby vs BIK Karlskoga -Under 5.5 Goals: 72.80%Odd: 1.67 Make Bet
- 18:00 Vasteras vs Oskarshamn -Under 5.5 Goals: 70.20%Odd: 1.70 Make Bet
- 18:00 Vimmerby vs Kalmar HC -Over 4.5 Goals: 64.40%Odd: Make Bet
Switzerland
National League
- 19:45 Ajoie vs Lausanne -Under 1.5 Goals in 1P: 62.30%Odd: Make Bet
- 19:45 Ambri vs Fribourg -Over 4.5 Goals: 78.30%Odd: Make Bet
- 19:45 Bern vs Davos -Under 1.5 Goals in 1P: 58.80%Odd: Make Bet
- 19:45 Kloten vs Rapperswil -Over 4.5 Goals: 69.50%Odd: Make Bet
- 19:45 Servette vs SC Langnau Tigers -Over 4.5 Goals: 80.30%Odd: Make Bet
- 19:45 Zug vs Biel -Over 4.5 Goals: 74.00%Odd: Make Bet
Swiss League
- 18:45 Basel vs Arosa -Over 4.5 Goals: 64.40%Odd: Make Bet
- 19:00 Chur vs Bellinzona Snakes -Over 4.5 Goals: 71.50%Odd: Make Bet
- 19:00 GCK Lions vs La Chaux-de-Fonds -Over 4.5 Goals: 68.50%Odd: Make Bet
- 18:45 Thurgau vs HC Sierre -Over 4.5 Goals: 83.70%Odd: Make Bet
- 18:45 Visp vs Olten -Over 4.5 Goals: 70.40%Odd: Make Bet
USA
AHL
- 00:00 Cleveland Monsters vs Laval Rocket -Over 4.5 Goals: 74.80%Odd: Make Bet
NHL
- 00:00 Boston Bruins vs Edmonton Oilers -Over 4.5 Goals: 80.20%Odd: Make Bet
- 00:30 Buffalo Sabres vs Philadelphia Flyers -Under 6.5 Goals: 75.90%Odd: 1.77 Make Bet
- 02:00 Calgary Flames vs Seattle Kraken -Over 4.5 Goals: 69.70%Odd: Make Bet
- 00:00 Columbus Blue Jackets vs Minnesota Wild -Over 4.5 Goals: 86.40%Odd: Make Bet
- 00:00 Montreal Canadiens vs Chicago Blackhawks -Over 4.5 Goals: 88.10%Odd: Make Bet
- 00:00 Ottawa Senators vs Pittsburgh Penguins -Over 4.5 Goals: 74.20%Odd: Make Bet
- 03:00 San Jose Sharks vs Dallas Stars -Over 4.5 Goals: 72.90%Odd: Make Bet
- 01:00 St Louis Blues vs New York Rangers -Over 4.5 Goals: 78.90%Odd: Make Bet
- 00:00 Tampa Bay Lightning vs Los Angeles Kings -Over 4.5 Goals: 75.70%Odd: Make Bet
- 00:00 Washington Capitals vs Toronto Maple Leafs -Over 4.5 Goals: 84.50%Odd: Make Bet
Le Migliori Partite di Hockey su Ghiaccio Oggi
Benvenuti appassionati di hockey su ghiaccio! Oggi vi offriamo un'analisi dettagliata delle partite di oggi, con aggiornamenti in tempo reale e previsioni esperte per i vostri scommesse. Scoprite le squadre in evidenza, le formazioni e le statistiche chiave che potrebbero influenzare l'esito delle partite. Preparatevi a immergervi nel mondo del hockey su ghiaccio con contenuti esclusivi e approfondimenti che non troverete da nessun'altra parte.
Aggiornamenti in Tempo Reale
Gli aggiornamenti delle partite di oggi sono fondamentali per chiunque sia interessato alle scommesse o semplicemente voglia seguire il proprio team preferito. Le nostre fonti forniscono informazioni in tempo reale, assicurando che voi non perdiate mai un'azione importante. Seguiteci per rimanere sempre informati!
Previsioni Esperte per le Scommesse
Le previsioni esperte sono il cuore della nostra piattaforma. Basate su analisi approfondite delle statistiche delle squadre, delle prestazioni dei giocatori e delle condizioni di gioco, le nostre previsioni vi offrono un vantaggio competitivo. Scoprite le probabilità calcolate dai nostri esperti e fatevi un'idea di quali scommesse potrebbero rivelarsi vincenti.
Analisi delle Squadre
- Squadra A: Analizziamo la forza della squadra A, i loro punti di forza e le aree di miglioramento. Conoscere le dinamiche interne può fare la differenza tra una vittoria e una sconfitta.
- Squadra B: La squadra B ha mostrato una crescita significativa nelle ultime partite. Esaminiamo i motivi di questa ascesa e come potrebbe influenzare il match di oggi.
Statistiche Chiave
Le statistiche sono fondamentali per comprendere le prestazioni delle squadre. Ecco alcuni dati importanti da considerare:
- Punti Segnati: Quante reti hanno segnato in media nelle ultime partite?
- Portieri: Qual è stato il rendimento dei portieri? La loro efficienza può essere decisiva.
- Penalità: Le penalità possono cambiare l'andamento di una partita. Analizziamo quante penalità sono state commesse dalle squadre.
Formazioni e Infortuni
Le formazioni possono variare a causa di infortuni o strategie tattiche. Ecco le ultime notizie sulle formazioni delle squadre:
- Infortuni Chiave: Quali giocatori sono fuori per infortunio? Questo può avere un impatto significativo sulle prestazioni della squadra.
- Nuove Assunzioni: Quali nuovi giocatori sono stati aggiunti alla squadra? Le loro abilità potrebbero essere cruciali nel match di oggi.
Tendenze del Gioco
Ogni stagione porta con sé nuove tendenze nel mondo dell'hockey su ghiaccio. Ecco alcune tendenze attuali che stanno influenzando il gioco:
- Tattiche Offensive: Le squadre stanno adottando nuove strategie offensive? Esploriamo come queste possono cambiare l'andamento delle partite.
- Difesa Rinforzata: Alcune squadre stanno puntando su una difesa più solida. Come sta influenzando questo le loro prestazioni complessive?
Gestione del Tempo
Gestire il tempo è cruciale in ogni partita di hockey su ghiaccio. Ecco come le squadre stanno gestendo questo aspetto:
- Power Play: Quante volte la squadra riesce a sfruttare il power play a suo favore?
- Penalità Minus: Come gestiscono le squadre il tempo trascorso in inferiorità numerica?
Tattiche di Gioco
Ogni squadra ha la sua filosofia tattica. Scopriamo quali tattiche stanno dominando il campo oggi:
- Sistema Offensivo: Qual è il sistema offensivo preferito dalle squadre? Come si adatta alle situazioni di gioco?
- Difesa a Zona vs. Difesa Personale: Qual è la preferenza delle squadre in termini di strategia difensiva?
Predizioni Dettagliate per Ogni Partita
Ogni partita ha le sue peculiarità. Ecco una panoramica dettagliata delle nostre previsioni per le partite di oggi:
Partita 1: Squadra A vs Squadra B
Analizziamo la sfida tra Squadra A e Squadra B, due formazioni che si affrontano con ambizioni elevate. La Squadra A ha mostrato una forte solidità difensiva, mentre la Squadra B punta su un attacco rapido e imprevedibile.
- Possibile Risultato: Una vittoria della Squadra A sembra probabile grazie alla loro difesa solida, ma non sottovalutate l'offensiva della Squadra B.
- Scommesse Consigliate: Considerate scommesse sul totale dei gol basso, dato l'equilibrio tra attacco e difesa.
Anche gli aspetti psicologici giocano un ruolo importante. La pressione della competizione può influenzare le prestazioni dei giocatori, specialmente nei momenti cruciali della partita.
- Sviluppi Potenziali: Attenzione agli eventuali cambiamenti di formazione durante la partita, che potrebbero ribaltare l'esito previsto.
- Influenza del Clima: Le condizioni climatiche possono influenzare il comportamento della pista, quindi tenete d'occhio eventuali cambiamenti improvvisi.
Grazie alla nostra analisi approfondita, avete tutte le informazioni necessarie per fare scommesse consapevoli e godervi al massimo lo spettacolo dell'hockey su ghiaccio.
Partita 2: Squadra C vs Squadra D
Nella seconda partita del giorno, assistiamo a un confronto tra la giovane energia della Squadra C e l'esperienza consolidata della Squadra D. La Squadra C ha dimostrato una crescita esponenziale nelle ultime settimane, mentre la Squadra D continua a fare affidamento sulla sua solida tradizione vincente.
- Possibile Risultato: La Squadra D parte favorita grazie alla sua esperienza, ma non sottovalutate la freschezza e la determinazione della Squadra C.
- Scommesse Consigliate: Valutate scommesse sugli over dei gol, considerando l'aggressività dell'approccio offensivo della Squadra C.
L'aspetto mentale è cruciale in queste sfide ad alta posta in gioco. La capacità di mantenere la concentrazione sotto pressione può fare la differenza tra una vittoria schiacciante e una sconfitta umiliante.
- Sviluppi Potenziali: Prestare attenzione alle sostituzioni tattiche che potrebbero cambiare l'andamento del match.
- Influenza del Pubblico: Il supporto del pubblico può dare un boost significativo ai giocatori, specialmente in casa.
Nel nostro impegno per fornire contenuti di qualità superiore, vi offriamo queste previsioni dettagliate per aiutarvi a navigare nel mondo delle scommesse sportive con maggiore sicurezza.
Partita 3: Squadra E vs Squadra F
Nel terzo match della giornata, osserviamo uno scontro tra la tecnica raffinata della Squadra E e la fisicità imponente della Squadra F. La Squadra E punta su movimenti eleganti e passaggi precisi, mentre la Squadra F cerca di imporre il proprio ritmo con una forte presenza fisica sul ghiaccio.
- Possibile Risultato: La sfida promette equilibrio tra tecnica e forza fisica; entrambe le squadre hanno possibilità concrete di vincere.
- Scommesse Consigliate: Considerate scommesse sul primo gol segnato dalla prima linea, data l'intensità dell'incontro sin dall'inizio.
L'equilibrio mentale sarà fondamentale in questa sfida. La capacità di adattarsi rapidamente alle mosse dell'avversario potrebbe determinare chi avrà la meglio nella battaglia sul ghiaccio.
- Sviluppi Potenziali: Attenzione ai possibili cambiamenti nella strategia difensiva che potrebbero ribaltare il risultato atteso.
- Influenza dello Stadio: Le caratteristiche specifiche dello stadio possono favorire uno stile di gioco rispetto all'altro; considerate questo fattore nelle vostre valutazioni.
Grazie alla nostra analisi dettagliata, vi forniamo queste previsioni per supportarvi nelle vostre decisioni riguardo alle scommesse sportive e per aumentare il vostro godimento dello spettacolo dell'hockey su ghiaccio.
Frequently Asked Questions (FAQ)
Cosa Devo Considerare Quando Faccio Scommesse?
Ecco alcuni consigli utili per affrontare al meglio il mondo delle scommesse sportive nell'hockey su ghiaccio:
- Analizzate sempre le statistiche recenti delle squadre coinvolte nella partita.
- Tenete conto degli infortuni dei giocatori chiave che potrebbero influenzare l'esito della partita.miguelmoralesmendez/linguistics<|file_sep|>/wordlist.py #!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c)2010-2011 by Miguel Morales-Méndez # # This file is released under the terms of the MIT License """ This module provides a class to store and manipulate wordlists. Classes: WordList -- Represents a list of words. """ import codecs import os import sys import re __author__ = "Miguel Morales-Méndez" __email__ = "[email protected]" __license__ = "MIT" __version__ = "0.1" class WordList: """ This class represents a list of words. Attributes: wordlist -- list of words """ def __init__(self): """Initialize the object.""" self.wordlist = [] def load(self,filename): """ Reads the wordlist from filename. Arguments: filename -- name of the file containing the wordlist """ if not os.path.isfile(filename): print "File '%s' does not exist." % filename sys.exit(1) f = codecs.open(filename,"r","utf-8") for line in f: self.wordlist.append(line.strip()) def dump(self,filename): """ Saves the wordlist to filename. Arguments: filename -- name of the file where to save the wordlist """ f = codecs.open(filename,"w","utf-8") for word in self.wordlist: f.write(word+"\n") def filter(self,criteria): """ Returns a new WordList with words that satisfy criteria. criteria is a function that takes one argument and returns True if the argument satisfies the criteria or False otherwise. The function must return True for every element that is to be included and False for every element that is not to be included. If no criteria is specified (None), all elements are returned. The criteria can be used to apply some filtering to the elements. For example: l.filter(lambda x: len(x)>5) # Words longer than five characters l.filter(lambda x: len(x)%2==0) # Words with even length l.filter(lambda x: x[0]=="a") # Words starting with 'a' l.filter(lambda x: x[-1]=="s") # Words ending with 's' l.filter(lambda x: "a" not in x) # Words without 'a' l.filter(lambda x: x.islower()) # Words consisting only of lowercase letters l.filter(lambda x: not re.search("[^aeiouy]",x)) # Words consisting only of vowels l.filter(lambda x: re.search("^[aeiouy]",x)) # Words starting with a vowel l.filter(lambda x: re.search("[aeiouy]$",x)) # Words ending with a vowel The function can also be used to transform the elements. For example: l.filter(len) # List of lengths of words l.filter(str.upper) # List of uppercase words l.filter(re.sub("[aeiouy]","*")) # List with vowels replaced by '*' l.filter(re.sub("([aeiouy])","\g<1>*",r)) # List with vowels followed by '*' The filter method returns an iterator over all elements that satisfy criteria or over all transformed elements if criteria is specified. To obtain all elements that do not satisfy criteria use negate. Arguments: criteria -- function used to select or transform elements Returns: A new WordList containing all elements that satisfy criteria. If no criteria is specified (None), all elements are returned. The function returns an iterator over all elements that satisfy criteria or over all transformed elements if criteria is specified. The function can also be used to transform the elements. In this case it returns an iterator over all transformed element if criteria is specified. The filter method returns an iterator over all elements that satisfy criteria or over all transformed elements if criteria is specified. If you want to get back an ordinary list use list(). Example: >>> w=WordList() >>> w.load("words.txt") >>> print w.wordlist[:5] ['a', 'aa', 'aaa', 'aaaa', 'aaaaa'] >>> w_filtered=w.filter(len) >>> print w_filtered.wordlist[:5] [1,2,3,4,5] >>> print list(w_filtered) [1,2,3,4,...] >>> print w_filtered.wordlist[:5] [1,2,3,4,...] Note that WordLists are immutable so w_filtered.wordlist remains unchanged when we iterate through it or convert it to another type (e.g., list). To obtain all elements that do not satisfy criteria use negate(). >>> w_not_filtered=w.negate(len) >>> print w_not_filtered.wordlist[:5] ['aa', 'aaa', 'aaaa', 'aaaaa', 'aaaaaa'] Note that negate() does not take any argument but returns an iterator over all elements that do not satisfy criteria specified by the last call to filter(). The filter() method can also be used to transform the elements: >>> w_upper=w.filter(str.upper) >>> print w_upper.wordlist[:5] ['A', 'AA', 'AAA', 'AAAA', 'AAAAA'] >>> print list(w_upper) ['A','AA','AAA','AAAA','AAAAA'] If you want to get back an ordinary list use list(). Note: The filter() method returns an iterator which can be iterated several times and converted into other