Click here to Skip to main content
15,879,326 members
Articles / Programming Languages / C#

How to Create a Spam Filter or Automatic Category Sort Algorithm with Your Mail Application

Rate me:
Please Sign up or sign in to vote.
5.00/5 (9 votes)
29 Jul 2012MIT3 min read 39.9K   1.2K   19  
This article describes automatic category filters in mail applications.
In this article, you will learn how to create a spam filter on your mail application. You will also see how to filter your mail based on whether the mail tells about a particular topic or not.
    Mark Cavendish is confident that he can win gold at London 2012, with the help of his "dream team".

    The Manx-born cyclist is in action in Saturday's road race, 
    
less than a week after winning his third stage 

     at this year's Tour de France.

    "It's doable," he said. "I couldn't do it if I was doing this alone but I need four of the strongest bike riders in the world to help me.

    "And I have got four of the strongest bike readers in the world to help me."

    Bradley Wiggins, who made 
    
history in Paris when he became the first Briton to win the Tour, 

     Ian Stannard, 
    
the 2012 British National Road Race 

     Champion, 
    
David Millar 

     and Chris Froome, 
    
who both won stages at this year's 

     Tour de France, make up the Great Britain road race team.

    "We were out training today [Thursday] and it was like 'Oh my God this is the dream team'. Hopefully we can put that into practice and deliver the results," added Cavendish.

    "We have got four Tour de France stage winners in the team, first and second in the general classification and the British champion. 

    "They are incredibly loyal guys, incredibly patriotic guys and really want to do this."

    Cavendish, 27, missed out on a medal at the 2008 Olympics in Beijing 
    
when he and Wiggins finished eighth in the madison 

    .

    He vowed after that never to return to track racing, instead preferring to focus his efforts on road racing.

    "Every time I pull on the jersey to represent the union flag it's a big honour for me," he added.

    "To represent my country, to ride as part of a team who are doing it for their country and not for a commercial wage is a big, big thing. 

    "On a personal level it will be one of the biggest things if not the biggest thing that we can do."

    Saturday's road race, which gets underway at 10:00 BST, is a 250km route, taking riders from the heart of London to the Surrey countryside and back.

    "It's narrow and it's dangerous on the approach in," said Wiggins.

    "You're going to have to be in the front because if there is a crash then it will block the road so there's all those things to contend with. 

    "It's going to be difficult and it's a long race as well but I think other teams will be looking at us and thinking, 'How are we going to compete with these guys?'.

    "And we're just sitting here not really worrying about the rest, we're just concentrating on ourselves."


    Andy Murray believes he has a strong chance of winning the men's singles gold medal at London 2012 if he recaptures the form that led him to the Wimbledon final.

    Murray was runner-up to Roger Federer in the season's third Grand Slam and returns to the All England Club for the Olympic tennis event.

    "I want to try and win a gold medal, win the tournament," he said.

    "If I play like I did at Wimbledon, I won't be far off." 

    Murray's projected draw includes Richard Gasquet, Tomas Berdych and Novak Djokovic, before a possible rematch with Federer in the final.


		“The draw was always going to be tough because you've got the best players in the world and only 16 seeds, so you're going to get tough draws early in the tournament”
	
    But first up is 26th-ranked Swiss player Stanislas Wawrinka, who won doubles gold with Federer at the 2008 Olympics in Beijing and took Murray to five sets at Wimbledon a year later.

    The Scot's route looks hazardous but the same was said at Wimbledon, where after three successive semi-finals he went one better for the first time.

    "Everyone said the Wimbledon draw was unbelievably tough so it doesn't make any difference," Murray, who was upset by 77th-ranked Yen-Hsun Lu of Taiwan in round one at the last Games, said.

    "You can play the best players in the first round, sometimes draws open up after a couple of rounds or matches you expect to be comfortable aren't. 

    "The draw was always going to be tough because you've got the best players in the world and only 16 seeds, so you're going to get tough draws early in the tournament."

    Murray will contest the men's doubles with his brother Jamie - they start against Austria's Jurgen Melzer and Alexander Peya - and may also feature in the mixed doubles.

    "We have four Grand Slams every year, so we'll have 16 Grand Slams before the next Olympics, and that's why you want to try and make the most of it," he explained.

    "I've never played doubles in a Grand Slam but this is a once-in-a-lifetime opportunity; to get the chance to play singles and doubles and try to win a medal for your country. It's great." 

    Having taken five days off after his defeat by Federer, Murray has been back training for two weeks and says he is clear of any injuries or niggles. 

    He has spent time at the athlete's village on the Olympic Park in Stratford, but will base himself at home in Surrey while involved in the tennis event.

    "We stayed in the Olympic village on Tuesday night," he added. "It was cool walking around, just being among all the guys, playing pool, mixing with other athletes, having dinner with them, speaking about different sports and their training and preparations.

    "It's such a huge event and there are so many different countries and cultures. I was taking pictures with guys from all over, from Cameroon to China.

    "I chatted to a couple of the boxers from the British team, met guys doing horse riding, the handball team. You don't get that at any other event.

    "There are so many different people from completely different sports with completely different skills, and having them all in one big village is pretty special."



    Japan pulled off the first shock of the Olympic football competition by beating 10-man Spain 1-0 at Hampden Park.

    Spain were second favourites for gold having won the last three major tournaments, as well as last year's European Under-21 Championship.

    But Yuki Otsu's 34th-minute strike was enough for Japan's first win over Spain at any level after Inigo Martinez was sent off in the 41st minute.

    Earlier in Glasgow, 
        Honduras

     drew 2-2 with 
        Morocco

     in the other Group D game.

    Spain now go into Sunday's match with Honduras bottom of the group, despite starting with Euro 2012 winners Jordi Alba, Javi Martinez and Chelsea midfielder Juan Mata.

    In similar style to the senior side, Spain dominated possession early on, with Mata forcing a fine save from Shuichi Gonda, but Japan threatened more often and were rewarded when Otsu lost Martin Montoya to turn in Takahiro Ohgihara's corner.

    Hiroshi Kiyotake should have doubled Japan's lead after pouncing on a wayward Alvaro Dominguez backpass and Inigo Martinez was then shown a straight red card for pulling down Kensuke Nagai just outside the area.

Highlights: Honduras 2-2 Morocco
    Manchester United goalkeeper David de Gea was called into action just after the break to deny Keigo Higashi, before Nagai fired wide when through on goal.

    Kiyotake spurned a similar chance after a fine run through the Spanish defence and although Spain brought on Chelsea midfielder Oriol Romeu, Japan could have made victory more emphatic on the counter-attack, with De Gea denying Nagai before Hotaru Yamaguchi fired wide in stoppage time.

    Abdelaziz Barrada had earlier given Morocco a 39th-minute lead with a superb volley, before Jerry Bengtson's tap-in gave Honduras a 56th-minute equaliser.

    Bengtson put Honduras in front with a 65th-minute penalty but Zakaria Labyad levelled two minutes later and Morocco held on for a point after Zakarya Bergdich was sent off for kicking out at Mario Martinez with 18 minutes left.


    Sir Chris Hoy is still frustrated at the one rider per sprint event rule at London 2012.

    Hoy will defend his team sprint and keirin gold medals but not the individual sprint, which he won in Beijing 2008, after team-mate 
    
Jason Kenny was selected ahead of him. 


    Hoy remains unhappy with the stance of the International Cycling Union (UCI).

    "You accept the UCI make decisions out of the blue and you expect the unexpected with them," said the Scot.

    The kilometre time trial, the madison, the individual pursuit and the points race have all been removed.

    "There's often decisions made that I don't think are made for the right reasons and for the benefit of the sport, but all you can do as an athlete is speak out about it when the decisions are made and then get on with it," added Hoy.

    The 36-year-old beat Kenny to individual sprint gold in Beijing but his team-mate has been allowed to focus on that event.

    
When the changes were first announced, 

     Hoy said: "You could find a situation where it's maybe easier to win a bronze medal or make a top-five finish than it would be at the World Championships."


    West Ham have stepped up their interest in Liverpool striker Andy Carroll by making a ??17m bid that would break the club's transfer record.


		“We've got a number of very, very talented players in the group, of which Andy is one”
	
    The fresh offer would see England forward Carroll initially move on loan with a commitment to buy the 23-year-old next summer. 

    However, it is understood he does not view West Ham as a serious option. 

    The former Newcastle United player would prefer a return to the North East if forced to leave Anfield. 

    The Tyneside club, who retain a strong interest in the player, are monitoring the situation. 

    Owner Mike Ashley saw an initial bid for Carroll dismissed out of hand by Liverpool, who remain determined to secure the permanent sale of a player 
    
they bought for ??35m in January 2011. 

     The Anfield club insist 
    
they are not prepared to countenance offers below ??20m for the 23-year-old. 


    West Ham are understood to be prepared to build their team around Carroll, but with the player indicating an uncertaintly to move to there, despite a strong friendship with former Newcastle team-mate Kevin Nolan, it does little to clarify his future. 

    
The ??7.5m West Ham paid Liverpool for Craig Bellamy in 2007 

     remains the club's transfer record, although Brescia striker 
    
Savio Nsereko agreed a deal that could potentially have been worth ??9m, 

     but he failed to trigger a number of performance-based clauses. 

    Jack Sullivan, son of David Sullivan, the West Ham co-owner, added to the speculation by tweeting:  "Dad is working on the biggest signing in the history of the club - twice as big as anything the club have done before!" 

    
Having indicated that Liverpool would be open to offers for Carroll, 

     manager Brendan Rodgers insisted any criticism of the player had been unfair earlier this week. 

    "Andy is a terrific young player," Rodgers said. "I had a brief chat with all the lads and over the next couple of weeks I'll be able to speak to them with more confidence and on a one-to-one basis.

    "There is no doubt he is a terrific talent. There has been a lot of unfair criticism aimed towards Andy. He is a player who can play in a number of styles and it was a wee bit unfair on him to say he couldn't fit into the way I would want to play.

    "We've got a number of very, very talented players in the group, of which Andy is one."


    Brazil held off an Egpyt fightback to open their Olympic campaign with a 3-2 win at the Millennium Stadium.

    Brazil came into the Games as favourites for gold and charged into a 3-0 lead inside half an hour through Rafael, Leandro Damiao and Neymar.

    Mohamed Aboutrika gave Egypt hope of an unlikely comeback and despite Mohamed Salah's 76th-minute strike, they failed to pull off a shock result.

    The other Group C game saw 
        Belarus

     beat 
        New Zealand

     1-0 in Coventry.

    Brazil are hoping to win their first football gold and turned on the style during the opening half-hour in Cardiff.

    Manchester United right-back Rafael latched onto a through-ball from 
    
new Chelsea signing Oscar 

     to beat one man before firing in a 16th-minute opener.

    Oscar then went round the keeper to pull the ball back for Damiao to double Brazil's lead in the 26th minute and Egypt looked dead and buried four minutes later when Neymar found Hulk on the left before heading home the return ball.

    Captain Aboutrika pulled one back in the 52nd minute after Meteab Emad had hit a post and substitute Salah produced a well-taken strike from just inside the box.

    But Brazil saw out the victory to top the group with Belarus, who they play in Sunday's double-header at Old Trafford.

    Belarus dominated the first half against New Zealand, with Sergei Kornilenko firing wide in the opening minute, before the Kiwis replied with a header from West Brom striker Chris Wood testing Belarus keeper Aleksandr Gutor.

    New Zealand keeper Michael O'Keefe then denied Renan Bardini Bressan and Dmitry Baga, but he could not prevent Baga heading home on the stroke of half-time.

    Although New Zealand came out stronger in the second half, they were unable to break through the Belarus defence.


    Everton midfielder Tim Cahill has completed his move to Major League Soccer side New York Red Bulls, subject to international clearance.

    The fee is believed to be in the region of ??1m for the 32-year-old.

    The Australian spent eight years at Goodison Park, scoring 56 goals in 226 league games.

    "We are absolutely thrilled to bring in a player of Tim's calibre ," said New York Red Bulls general manager and sporting director Erik Soler.

    "I'm not overly surprised. I don't think his form over the last six months has been what it used to be. He's been a fantastic servant for Everton - a bargain buy. He scored some very important goals.  I've nothing but admiration for him. I'm sure he goes with everyone's best wishes and I think it suits all parties. No-one likes to see a legend or a top player leave a club but there comes a time when we all have to move on."

    "He is the technical, physical presence we have been looking to add in our team and he brings a wealth of experience to our club having played in some of the highest levels of international soccer," he added.

    Cahill, who 
    
joined Everton in 2004 for ??1.5m from Millwall, 

     said: "I am very happy to start a new chapter of my career with the New York Red Bulls.

    "I also want to thank everyone at Everton, from the club to tremendous supporters. It has been a privilege to be an Everton player for the past eight years and it was a very difficult decision to leave."

    The club will officially introduce Cahill to the media at a press conference on Monday.

    Cahill moved to England in August 1997, joining Millwall from hometown side Sydney United on a free transfer.

    The Australian scored three goals in Millwall's run to the FA Cup final, including the winning strike against Sunderland in the semi-final. The London side 
    
lost 3-0 to Manchester United in the Millennium Stadium final. 


    An attacking midfielder, he made his international debut in 2004 and has played for Australia at the last two World Cups in Germany and South Africa.

    Cahill, who signed a four-year contract with the Toffees as recently as May 2010, was a fans' favourite at Goodison Park but only scored three goals last season after going the whole of 2011 without finding the net.


    Raul Jimenez went within inches of a last-gasp winner as Mexico had to settle for a 0-0 draw with South Korea.

    The Mexican striker hit the outside of a post after being put through by fellow substitute Giovani dos Santos in the Group B opener.

    Marco Fabian missed a great second-half chance for Mexico while Jacheol Koo's shot clipped the bar for South Korea.

    The later Group B game in Newcastle saw 10-man 
        Switzerland

     hold on for a 1-1 draw against 
        Gabon

    .

    South Korea had enjoyed the better of the first half against Mexico, with Nam Taehee and Park Jongwoo going close, while Mexico's Hector Herrera tested South Korea keeper Jung Sungryong.

    Koo's lay-off then saw Ki Sungyueng force a fine save from Mexico keeper Jose Corona before Wolfsburg midfielder Koo headed Kim Changsoo's cross wide with 10 minutes left.

    But Mexico also had chances in the second half, Jung keeping out Javier Aquino's well-struck effort while Tottenham forward Giovani went close before setting up Jimenez's chance in stoppage time.

Highlights: Gabon 1-1 Switzerland
    Switzerland made a dream start in their match as Innocent Emeghara was fouled in the area by defender Henri Ndong in the fifth minute. Dynamo Kiev forward Admir Mehmedi then held his nerve to convert the penalty, which had to be re-taken because of encroachment.

    The Swiss continued to break through the Gabon defence but failed to take advantage and Gabon replied with Jerry Obiang hitting the bar.

    The African side then drew level on the stroke of half-time, St Etienne striker Pierre-Emerick Aubameyang producing a neat finish from an Alexander Ndoumbou cross.

    Aubameyang then headed Levy Madinda's corner straight at keeper Diego Benaglio, while Gabon keeper Didier Ovono denied Swiss substitute Pajtim Kasami.

    And although Switzerland had Oliver Buff sent off for a second bookable offence with 12 minutes remaining, Gabon were unable to claim a winner.


    Uruguay came from behind to open their Olympic football campaign with a narrow victory over an impressive UAE.

    Ismaeil Matar gave the Asian side a deserved lead with a composed finish, while Martin Campana made several saves for an out-of-sorts Uruguay.

    Gaston Ramirez levelled with a free-kick close to the break before substitute Nicolas Lodeiro struck the winner.

    Ahmed Khalil had a chance to level for UAE but dragged his effort wide.

    Nonetheless, his team were clapped off the pitch after a spirited and skilful performance that showed they aim to do more than simply make up the numbers in Group A. 

    Uruguay's two Olympic gold medals came at the football competitions in 1924 and 1928 and, having qualified for the first time in 84 years, they went into the 2012 tournament as one of the favourites.

    But on a day when another heavily fancied team in 
    
Spain were defeated by Japan, 

     La Celeste were clearly rattled by their opponents and they endured a far from straightforward return to the Games.

    Liverpool forward and Uruguay skipper Luis Suarez, last season 
    
found guilty of racially abusing Manchester United's Patrice Evra, 

     was booed by sections of the Old Trafford crowd every time he touched the ball, while the UAE really took the game to their opponents.

    UAE had a penalty appeal turned down when Sebastian Coates tangled with the impressive Omar Abdulrahman before Ismaeil Matar scored - latching on to a through ball from Abdulrahman and evading Campana before placing his strike into the bottom corner.

    The Asian side continued to press and Khalil had a shot smothered by the keeper, who also denied Rashed Eisa after he tore down the left and into the Uruguay box with almost embarrassing ease.

    The South American side were in disarray, lacking cohesion in attack and starting to show signs of discontent. Their neat, intricate passing moves were breaking down and it was no surprise when their equaliser came from a free-kick.

    Edinson Cavani had already struck one over the crossbar but Bologna's Ramirez made no mistake shortly before the interval with a strike from 25 yards.

    Uruguay coach Oscar Tabarez brought on Lodeiro at the break and it proved to be a shrewd decision as he smashed the ball home from a tight angle after an assist from Suarez.

    Ali Khaseif had already made an acrobatic finger-tip save shortly after the restart to tip over Egidio Arevalo's thunderous effort but he was powerless against Lodeiro's low first-time strike.

    Uruguay had finally assumed a measure of control but UAE did create one final chance when Abdulrahman played an inch-perfect through ball to Khalil, who could not find the target with his first-time strike.



    The British Olympic Association have received the details of the injury suffered by Phillips Idowu.

    The BOA made a public request to see his medical records after the triple jumper pulled out of Team GB's pre-Olympic training camp in Portugal.

    Idowu was "incredibly disappointed and surprised" by the initial request.

    "This information will be kept confidential with the Team GB chief medical officer [Dr Ian McCurdie]," said a statement from the BOA.

    "We will continue to liaise with and support the professionals who are working with Phillips to ensure he has the support he needs in his treatment."

    Gold medal hope Idowu has competed only three times in 2012 and has not been in action since he injured his foot after landing awkwardly at a meeting in Eugene, Oregon, on June 2.

    But his latest problems reportedly relate to a hip injury which forced him to pull out of the Aviva Grand Prix at Crystal Palace 10 days ago.

    "He's incredibly disappointed and surprised as to why the BOA has chosen to do this," Idowu's agent, Jonathan Marks, said.

    "I can't understand the benefit to the athlete."

    "Our office has even had a call from a member of the BOA medical team who has also expressed surprise at the organisation's decision to go public with the request.

    "Phillips is an athlete who's proven that if he gets to the start line then he is one of those athletes who can win a medal."

    The 2009 world champion has struggled to hit top form this season, registering leaps of 16.43m and 17.05m, well short of his personal best of 17.81m. The 
    
Beijing silver medallist  

    is ranked 10th in this season's global rankings. He is due to compete at the Olympics on 7 August.

    BOA spokesman Darryl Seibel said on Tuesday: "Our chief medical officer had a discussion this afternoon with Phillips' representatives and we are awaiting the information that has been requested.

    "We are fulfilling the duty of care responsibility we have to every athlete in the delegation."

    Dr McCurdie wrote to Phillips and his agent on Monday asking that he provide the relevant medical records relating to his injury and the treatment he is currently receiving.

    "The basis for doing this is a clause in our team members' agreement that says athletes are required to provide details of any injury or illness that may impact on their performance during the Games," said Seibel.

    "[We need] to make certain we are in a position to provide all the support necessary to help him in his rehabilitation and get him back to full fitness as quickly as possible."

    Team GB chef de mission Andy Hunt told BBC News: "The situation is he hasn't gone to the preparation camp in Portugal.

    "Let's understand the nature of the injury first. There's no decision to be taken yet."

    "My take on it is that he doesn't fancy going away for two weeks to a training camp. He's chosen his own path to get to London 2012 and I hope that's what it is, rather than a serious injury. It would be really, really sad if he wasn't fit enough to compete. But this is what Phillips' character is all about. Everyone's questioning his fitness and then he'll show up and prove to everyone he was fine all along."

    Idowu's coach Aston Moore said on Monday that the athlete had decided to stay in London for treatment from a private physiotherapist rather than travel to Portugal.

    Moore said: "In training recently Phillips has had an ongoing injury problem and we have not been able to go at things 100%.

    "At the weekend, Phillips told me he would continue to seek treatment from a private physio in London and would not travel to prepare in Portugal, although he may join us here later."

    Idowu took three jumps on his last outing in Oregon before sitting out the rest of the competition, telling BBC Sport that he withdrew as a precaution due to wet conditions.

    After that, he withdrew from meetings in Oslo and Paris and the Olympic trials in Birmingham, with UK Athletics head coach Charles van Commenee declining to clarify Idowu's situation due to issues of "medical confidentiality".

    Idowu claimed before the London Grand Prix that he had never mentioned an injury and was happy to let the "rumour mill stir itself", but pulled out of the competition at Crystal Palace with a hip problem he felt while warming up.

    He later wrote on Twitter: "Hey guys, sorry to have to pull out of #ALGP, slight bit of muscle tightness. I will be fine in a day or two. Hope the other jumpers put on a great show for you. See you 7 August. Thanks for your support."


    Snooker player Joe Jogia has protested his innocence 
    
after being banned from the game following a probe into suspicious betting patterns 

     - but claims corruption is rife in the sport.

    Jogia, 36, insists he was made "a scapegoat" for widespread corruption in snooker which he says he will expose.


		“I would be keen to hear from anyone who believes there are corrupt practices going on but we do not believe this is widespread and strongly refute what Joe has said”
	
    The player said: "I'm going to go and tell my stories now, about people on the tour and what they get up to."

    World Snooker said it "strongly refuted" the claims.

    Jogia was banned for two years and ordered to pay ??2,000 costs by the World Professional Billiards and Snooker Association (WPBSA).

    The suspension, until after the 2014 World Championship, comes after a large amount of small bets were placed on Matthew Selt to win their shoot-out match in January.

    The investigation found that 19 bets were made or attempted at betting shops in the Leicester area on Selt to win.

    Jogia, who is based in Leicester, pulled out of the tournament with injury before the game went ahead.

    The world number 57 told BBC Sport: "I've done nothing wrong, I didn't even play the match, it's shocking.

    "With everything that's going on in snooker - the corruption - they couldn't take it out on the top boys because of where they are in the world but I've done nothing wrong and all of a sudden they take it out on me. I've been made a scapegoat."

    The WPBSA said that Jogia was "in repeated contact with two persons placing the bets who were known to him as associates".

    Records showed that 33 text messages were sent and three calls were made to one of the persons placing the bets and 42 text messages and one call to the other by Jogia.

    But he claimed: "I know everyone, there's nothing in it.

    "They said mine wasn't a serious case which is why the police were not involved but I get the biggest punishment, why's that?

    "I wasn't expecting a ban at all  - the match never happened. [At the hearing] they mentioned me in the same league as the 
    
Pakistani cricket player Salman Butt, 

     and Quinten Hann. It's a liberty, an absolute liberty what they've done."

    Jogia confirmed he will not be appealing the ban because he cannot afford it.

    "I don't know what I'm going to do now, I've got to find a job. I'm done, I'm finished with snooker. They've ruined me."

    Nigel Mawer, chairman of the WPBSA disciplinary committee, said: "We look very seriously at any claims of corruption. We want a clean sport and take all possible steps to do that. I would be keen to hear from anyone who believes there are corrupt practices going on but we do not believe this is widespread and strongly refute what Joe has said. 

        Rule 2.1.4.1:

     (It shall be a breach of these rules for a member) to engage in any other conduct that is corrupt or fraudulent, or creates an actual or apparent conflict of interest for the member, or otherwise risks impairing public confidence in the integrity and/or the honest and orderly conduct of the Tour and/or any Tournament or Match

    "Of course, we can understand how upset Joe is at the outcome but the fact remains we conducted a very thorough investigation, as we always do, and he was found to have breached the rules. It is something we take very seriously - the penalty for breaching the betting laws is a life ban.

    "In this case Joe received a two-year ban as it was felt his actions were at the lower end - he cast a shadow over the sport as opposed to gaining from corrupt practices."

    Mawer, a former Metropolitan Police detective chief superintendent who also 
    
ran a corruption enquiry into Pakistani cricketers, 

     added: "We do have a number of ways players can bring corruption to our attention - we have a confidential hotline and people can always go to the Gambling Commission if they don't want to go through us."

    The last player to be banned from snooker was Australian Quinten Hann in 2006 after he was found guilty of breaking match-fixing rules by agreeing to lose a match at the China Open in exchange for money.

    
He was given an eight-year ban and ??10,000 fine. 



    Former England manager Fabio Capello has been named as the new manager of the Russian national team.

    The Italian held talks with the Russian Football Union and is reported to have signed a two-year deal in succeeding Dick Advocaat.

    The 66-year-old has been out of work since leaving the England job in February and is targeting immediate success.

    "My next goal - to reach the finals of the World Cup in Brazil," he said.

    "After I had finished working in England, I was angry, and I wanted to continue working.

    "I really want to achieve your goals and fight for the Cup in Brazil.

    "I'll try to get my philosophy to match that which has brought the Russian national team success, and we will go to the World Cup in Brazil."

    Capello was part of a list of high-profile names, including Harry Redknapp, who the Russian FA had targeted.

    He had the highest win ratio of any England manager by winning 67% of his games, although the national team struggled at the 2010 World Cup in South Africa where they were knocked out in the last 16 stage by Germany. 

    He led England to qualification for Euro 2012 before 
    
resigning after the Football Association stripped John Terry of the captaincy. 


    During an illustrious career in club management, Capello won seven Serie A titles in Italy and another two league titles in Spain with Real Madrid. He also won the Champions League with AC Milan in 1994.




    Greek high jumper 
    
Dimitrios Chondrokoukis 

     has pulled out of London 2012 after testing positive for the banned substance stanozolol.

    The 2012 world indoor champion was one of Greece's best hopes of a medal.

    Chondrokoukis, 24, jumped a personal best of 2.33 metres when he took gold in Istanbul in March, beating Britain's Robbie Grabarz, who finished sixth.

    Hungarian discus thrower 
    
Zoltan Kovago 

     will also miss the Games after being handed a two-year doping ban.

    Stanozolol is the same substance taken by 
    
Canadian sprinter Ben Johnson 

     in 1988.

    Chondrokoukis will seek a retest according to his father and coach, Kyriakos Chondrokoukis, who said in a statement: "I will fight - we will fight - to respond and see exactly what happened.

    "Not only for us as a family, but for the sports fans who have embraced Dimitrios with so much love."

    Greece have now lost two athletes from their original squad after triple jumper 
    
Voula Papachristou, 23, was expelled by her own nation's Olympic committee 

     for writing a racist remark on Twitter.

    Kovago, 33, 
    
won silver at the 2004 Athens Olympics 

     and was also considered a medal contender at this summer's Games.

    The Hungarian Olympic Committee said in a statement on Thursday that the Court of Arbitration for Sport had upheld an appeal filed by athletics' governing body, the International Association of Athletics Federations.

    They said Kovago refused to provide a sample to doping officials last year. The IAAF filed an appeal after Hungarian doping officials had initially cleared Kovago.

    His silver medal in Athens came after another Hungarian discus thrower, 
    
Robert Fazekas, was disqualified for a doping offence after initially winning gold. 

     Kovago originally finished third but was upgraded to the silver medal position.

    It was announced on Tuesday that Moroccan 1500m runner 
    
Mariem Alaoui Selsouli will miss the Games after failing a drugs test. 



    Sebastian Vettel says Red Bull will not be significantly affected by a rule change banning a controversial engine setting used by them at the last race.

    
A new rule has been issued 

     ahead of Sunday's Hungarian GP to prevent Red Bull running specific settings aimed at improving cornering performance.

    Vettel said: "It's not as if the car doesn't work any more. I'm quite confident nothing will change.

    "There is probably more fuss outside the car than the difference is inside."

    Pressed on whether the changes would make no difference at all, he said: "I wouldn't say that. What we had in the car in Hockenheim we decided to race because we believed it was quickest. 

    "It is a little bit different for here. It is hard to give you, I don't know, 0.2secs, 0.05secs, nothing. We can't measure [the difference] either."

    Vettel's team-mate Mark Webber added: "[The difference will be] very, very small, I would say. The guys haven't really even spoken to me much about it. It seems pretty tame on our side, so we'll just get on with it."

    The rule change restricts the amount teams can change the torque - or pushing force - of the engine from race to race.

    Governing body the FIA was concerned that Renault were doing this to enhance the driveability - and therefore performance - of the engine in a fashion that attempted to go some way towards traction control.

    And rival teams felt that the maps also enhanced the degree to which exhausts could be used for aerodynamic effect, which has been severely restricted this year.

    But Renault said the engine "is in no way being used as a driver aid or traction control" and added that the effect of exhausts on aerodynamics this year was "incidental".

    The controversy over engine settings was one of three in which Vettel found himself embroiled at the German Grand Prix.

    The others were 
    
calling McLaren driver Lewis Hamilton's actions "stupid" 

     for unlapping himself on Vettel during the race and interfering with the lead battle, and then 
    
being demoted from second to fifth 

     for overtaking Hamilton's team-mate Jenson Button by going off the track.

    After the race in Germany, Vettel had said of Hamilton: "That was not nice of him. I don't see the point why he's trying to race us. 

    "If he wants to go fast he can drop back, find a gap and go fast there. But it's a bit stupid to disturb the leaders. He was a lap down so I don't see the point anyways. I think that potentially lost us the position to Jenson."

German GP 2012: Alonso wins at Hockenheim
    But after arriving in Hungary, Vettel denied calling Hamilton stupid and blamed the media, saying journalists had misheard him. 

    "If I say after the race that I thought it was unnecessary and then it gets quoted that I said he is stupid, it's quite disappointing because sometimes I have a mouth, I say a couple of words, you have ears, and in that process it seems mistakes sometimes happen," Vettel said. 

    "If you look at the rules, it's clear you are allowed to do it [unlap yourself]. I said it was unnecessary. 

    "I was hunting Fernando, it was a couple of laps to the stop, it didn't help me, it probably helped Jenson, but that's racing. 

    "I'm not complaining. I said it was unnecessary from a racing point of view to distract the leaders no matter who it was, and that's it."



By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The MIT License


Written By
CEO TinyBetter, Inc
Japan Japan
I'm a CEO of TinyBetter, Inc in Japan.

Comments and Discussions