Introducing AskCricinfo

Remember the stats scrapbook?

The question is a giveaway to my vintage. How many of you will know how it was to keep track of cricket before ESPNcricinfo came along?

I kept my own database: pages and pages of averages and records clipped from magazines and newspapers and pasted into large notebooks. Because everything got outdated quickly, my little project soon occupied a shelf and threatened to consume many more.

You had to have been there in that long-ago age to know how magical it felt to see averages tick over live, and to watch record pages update themselves on ESPNcricinfo. A few years after, along came Statsguru to spoil numbers geeks. It still remains the cricket world’s default tool to search, dice and zoom in and out of stats across players, teams, eras and formats. Early in my job as editor of the site, I remember the utter panic in a media box once when Statsguru went down for a while towards the end of a game. I could feel eyes on me, but instead of feeling awkward, I was quietly chuffed.

AskCricinfo is a natural, and if I may say, slightly giddy, step forward in that journey: another breakthrough, a little more magic. For all its wonders, Statsguru, with all those filters that allow you to drill and drill, can be a bit overwhelming for the newbie. But what if you could get Virat Kolhi’s record against legspinners in the last two seasons in the IPL by just typing out a query about it in regular English?

© ESPNcricinfo Ltd Rohit Sharma versus David Warner in T20 powerplays © ESPNcricinfo Ltd

Or the answers to other queries, like these:

Who hit the most sixes in the powerplays in IPL 2020?

What is Dale Steyn’s record against AB de Villiers in all T20s?

What is Babar Azam’s strike rate against Shahid Afridi in the PSL?

Which bowler has the most wickets in death overs in the men’s T20 World Cups?

Which batter has the most 50-plus scores in women’s T20Is?

Who has the most sixes in an innings in the T20 Blast/T20 Cup in England?

Who has scored the most runs in the death overs in an innings in the IPL?

What is the highest total by a team in a women’s T20I?

Who has scored the most runs against Rashid Khan in the BBL?

What is the highest partnership in a successful run-chase in the BPL?

Just AskCricinfo. Get to the page. Key in the question. Or ask it aloud if you have voice input enabled for your phone browser. The answer will flash in a few seconds.

© ESPNcricinfo Ltd What’s the highest sixth-wicket stand in the CPL when the five wickets have fallen for under 50 runs? © ESPNcricinfo Ltd

Of course it’s not all that simple at our end. First, the AskCricinfo engine needs to think like a cricket fan and interpret “Which opening batter has faced the most dot balls in the powerplays in an innings in IPL?” or “What is the highest partnership for the sixth wicket after five wickets down for less than 50 in the CPL?” correctly. Next, it has to translate that into language that computers understand, and also correctly identify which database to send the question to – our Statsguru engine, the ball-by-ball database, or the records pages. After these tasks, it needs to return the exact answers to those questions.

These are not static web pages called up by keyword-matching, as with normal search engines. Here, each question is unique, there are millions of questions that our databases can answer, and a million ways the engine can go wrong. The enormous complexity of this task is why you haven’t seen anything like this – not for cricket, not for any sport, not for anything else – where a natural language question returns a precise answer from a database.

Since a lot of these answers are derived from ball-by-ball data, this version of AskCricinfo only fully supports top-flight international cricket, both men’s and women’s, and all the major leagues. We have started with the newest format simply because there is relatively more ball-by-ball data available for T20 as a whole. Our aim is to build AskCricinfo tournament by tournament, and then format by format.

Artificial intelligence, as most of us know by now, gets better with use. Like with the discovery algorithms on streaming apps, AskCricinfo will get smarter the more questions it is asked.

In the period leading up to this launch, we have endured as much frustration as we have experienced exhilaration. When the first answer came through, it felt like magic. But as expectations and ambition grew, there were days when the task felt hopeless. Accepting the pursuit of accuracy as a more realistic goal freed us from the burden of trying to achieve perfection – unattainable in this case.

© Satish Bate / © Hindustan Times/Getty Images A handy tool for those cricket debates with friends Satish Bate / © Hindustan Times/Getty Images

So let’s set our expectations. AskCricinfo is designed to answer queries based on scoring data. It doesn’t have opinions: you can ask who has taken the most wickets in the death overs, but not “Who is the best bowler in the death overs?” It doesn’t deal in trivia (How many batters have scored hundreds on their birthday? How many sets of brothers currently play in the IPL?) And there is some data it doesn’t process yet. (Who was the fastest bowler? Who has scored the most runs from cover drives?)

Since the tool is in learning mode, the more specific the questions, the better the answers. Try to spell things right, particularly names; use specific terms like “batting”, “bowling”, “in an innings”, “in a match”, “in a season”; “Ben Stokes’ bowling record” instead of “Ben Stokes’ record”. Use “versus” or “vs” or “v” for batter-versus-bowler queries, and “and” to compare two players ( “Kohli vs Rashid”, “Compare Warner and Rohit Sharma strike rates in powerplays”).

Those inclined to help, please make sure to click the thumb icons at the bottom of the AskCricinfo page. Particularly the “thumbs down” one if you think the result is incorrect. And if you can, tell us what went wrong in the text field below. Every mistake is an opportunity to learn.

The AskCricinfo project reunited us with one of ESPNcricinfo’s original co-founders, and it began, true to tradition, with a chance conversation online. Vishal Misra, whose most famous contribution to the site is re-engineering the live scorecard overnight during the 1996 World Cup, but who stopped working for Cricinfo long before I came on board, tagged me in a tweet that suggested someone should create an interface for Statsguru using an AI tool that he had come across. “I am waiting for you to do it,” I replied.

That little chat lit a spark. In a few days Vishal, who has been a professor, entrepreneur and consultant, and a cricket nut at his core, sent me a prototype, and in a matter of a couple of months he had put together a small team that has worked with a small team of ours to bring AskCricinfo to life.

Come and share the adventure with us. And let’s take to it to the places it can go.

News Related

OTHER NEWS

Yogi govt's claims full of lies & air: Oppn

© Provided by The Indian Express As the BJP government of Uttar Pradesh listed its “achievements” on the completion of its four-and-a-half years, the Opposition on Sunday hit out at ... Read more »

India's Covid-19 vaccination coverage surpasses landmark 80 crore mark

© Provided by The Statesman India’s Covid-19 vaccination coverage surpasses landmark 80 crore mark With the administration of 85,42,732 vaccine doses in the last 24 hours, India’s Covid-19 vaccination coverage ... Read more »

Haryana MC employees gherao CM Khattar's camp office for pending demands

© Provided by Hindustan Times The MC employees gheraoed chief minister Manohar Lal Khattar’s camp office on Sunday. (HT FILE) Hundreds of employees of various municipal corporation (MC) of Haryana ... Read more »

IPL 2021: CSK off to a flying restart after beating MI by 20 runs

© Provided by The Indian Express For the first 10 overs, the game followed a predictable script before it changed and shifted towards Chennai Super Kings’ direction. Ruturaj Gaikwad was ... Read more »

Energy prices: Companies demand end to price cap as crisis deepens

Household bills could soar even higher than feared as energy giants call for the price cap to be lifted amid a crisis which has left smaller firms supplying up to ... Read more »

After paying $600 for her own kitchen composting system, Madison hopes Australia lifts its FOGO bin game

© Provided by ABC NEWS Rockingham resident Madison Key paid $600 to avoid sending her food scraps to landfill and compost them in her kitchen. (ABC News: Evelyn Manfield) While most ... Read more »

Victoria's roadmap to freedom leaves many 'despondent'

© Getty Degraves Street is deserted in Melbourne during coroanvirus lockdowns. Melbourne’s Lord Mayor said a planned roadmap out of lockdown has seen many react with “despondency”, feeling the announcement ... Read more »

Teen boy critical after stabbing during a fight on NSW north coast

© AAP Image/Joel Carrett A teenage boy is fighting for his life after suffering critical wounds during a stabbing on the New South Wales north coast. Emergency services were called ... Read more »

ALEX BRUMMER: UK supermarkets are weak

© Provided by This Is Money MailOnline logo Private equity ownership of the supermarket chain Morrisons, employer of 110,000 people, will move a step closer this week.  The favoured suitor ... Read more »

World famous Fraser Island set to be renamed to the Aboriginal name

© Provided by Daily Mail MailOnline logo World-famous Fraser Island is set to be renamed after activists won a campaign to give the tourist hotspot its original Indigenous name. The ... Read more »

UK energy provider Bulb seeks funds to avoid collapse

© Provided by City AM The UK’s sixth largest energy company, Bulb, is racing to secure an emergency cash injection to avoid collapse, amid a record spike in energy prices ... Read more »

Chiranjeevi REVEALS he ‘prayed' for Sai Pallavi to decline ‘Bhola Shankar': Felt extremely happy

© Provided by Pinkvilla Sai Pallavi will be starring alongside Naga Chaitanya in the upcoming Telugu release ‘Love Story’. The makers decided to organize a grand pre-release launch of the ... Read more »

Zach Wilson: There will be games like this, I just have to keep getting better

© Provided by NBC Sports After a bad first half against the Panthers in Week One, Jets quarterback Zach Wilson was able to get the team back into the game ... Read more »

Further 11 Irish citizens moved out of Afghanistan

A further 11 Irish citizens and their direct family members have been moved out of Afghanistan. © EPA There are still some Irish citizens in Afghanistan They are currently in ... Read more »

Good Baker edges out Bad Baker, barely, as Browns take down Texans

Start with this: the Cleveland Browns won on Sunday. Yes, Cleveland’s a playoff team and projected to remain that way, but Cleveland is still, you know, Cleveland, so we still ... Read more »

Not much happened at the “Justice for J6” rally. But the far right's focus is elsewhere.

On Saturday, a rally by supporters of former President Donald Trump came and went peacefully, with a heavy police and media presence and only a handful of arrests. Before the ... Read more »

Unidentified body found near area of search for Gabby Petito

An unidentified body has been discovered in the Bridger-Teton National Forest in Wyoming, near the general area police have been searching for Gabby Petito, the 22-year-old woman who went missing ... Read more »

Wider approval of COVID booster jabs expected, US officials say

© Provided by Al Jazeera A woman receives a booster dose of Pfizer-BioNTech’s COVID-19 vaccine in the US state of Pennsylvania on August 14 [File: Hannah Beier/Reuters] Top health officials ... Read more »

Boris Johnson to tell Joe Biden: 'Lift travel ban and let Britons back into America'

Boris Johnson will meet the US President on Tuesday – Stefan Rousseau/PA Wire Boris Johnson will push Joe Biden to change Covid-19 travel rules and let Britons fly to America ... Read more »

Man with information on body found in river killed in SWAT shootout, Tennessee cops say

A man who police said had information on a body found in a Tennessee river was killed in a shootout with SWAT officers. Around 7:45 p.m. Saturday, the SWAT team ... Read more »

Gardaí called to protest outside home of Tánaiste Leo Varadkar

Fine Gael ministers have criticised a protest held outside Tánaiste and party leader Leo Varadkar’s home earlier today describing it as “vile” and “repulsive”. Gardaí confirmed they attended the protest ... Read more »

Folic acid to be added to non-wholemeal flour under new UK rules

Photograph: Alamy Stock Photo Folic acid is to be added to the most commonly consumed flours in the UK to help prevent spinal conditions in babies, the government has announced. ... Read more »

Boris Johnson to address Amazon's tax record with Jeff Bezos on US visit

Photograph: Stefan Rousseau/PA Boris Johnson plans to press Amazon boss Jeff Bezos on the tech giant’s tax record when the pair meet face to face in New York on Monday, ... Read more »

Man in stable condition after being shot three times in east Fort Worth, police say

One man was in stable condition after being shot three times Saturday night, according to Fort Worth police. The man, who was not identified, was shot around 11:20 p.m. Saturday ... Read more »

Body found in Wyoming forest where authorities searched for Gabby Petito

FILE PHOTO: Handout photo of Gabrielle Petito (Reuters) – The coroner's office in Teton County, Wyoming, has been dispatched to recover a body found in the Bridger-Teton National Forest, the ... Read more »

Georgia WWII veteran receives French Legion of Honor

THOMSON, Ga. (AP) — A 98-year-old World War II veteran who took part in the D-Day invasion and the Battle of the Bulge and witnessed the German surrender during the ... Read more »

Pedestrian killed after crash on I-35 in Fort Worth, according to police

A pedestrian was killed Friday night after being hit by a car in the 4100 block of Interstate 35 West in Fort Worth near Seminary Road, police said. Police said ... Read more »

TSM out of NA VCT Last Chance Qualifier after Envy loss in Masters Berlin grand finals

© Provided by Dot Esports The VALORANT Champions Tour campaign for TSM is finished after a Team Envy loss in the Masters Berlin grand finals today statistically eliminated TSM from ... Read more »

Chris Evans Reveals He Can Play the Piano, Which Is Reason Enough for Him to Collab With Lizzo

© Vera Anderson/WireImage Saving the planet, loving dogs, and playing the piano? It’s easy like Sunday morning for Chris Evans. The 40-year-old Captain America star took to his Instagram Stories ... Read more »

John Challis 'would be overwhelmed' by heartfelt reaction to his death

© Bang Showbiz John Challis John Challis “would be overwhelmed” by the reaction to his death. The former ‘Only Fools and Horses’ star has passed away at the age of ... Read more »

Daesh claims attacks against Taliban in Jalalabad

© Provided by Khaleej Times Daesh claims attacks against Taliban in Jalalabad Daesh-Khorasan claimed weekend attacks against the Taliban in the Afghan city of Jalalabad, in two statements carried by ... Read more »

Early limited results in Russia show pro-Kremlin party leads

© Provided by Khaleej Times Early limited results in Russia show pro-Kremlin party leads Voting has ended in Russia’s parliamentary election and the country’s elections commission said early results on ... Read more »

Valencia 1-2 Real Madrid: Player ratings as Real leave it late to secure three points

© Provided by 90min Vinicius Junior was in fine form again | Aitor Alcalde/Getty Images Late goals from Vinicius Junior and Karim Benzema gave Real Madrid a dramatic 2-1 victory ... Read more »

Soccer-Real Madrid stage late comeback to win at Valencia

© Reuters/PABLO MORANO LaLiga – Valencia v Real Madrid VALENCIA (Reuters) -Real Madrid forwards Vinicius Jr and Karim Benzema scored within the space of three minutes deep in the second ... Read more »

Minix Zero Smartwatch: A watch with a long battery life

© Provided by The Financial Express The first thing that will appeal to you about Minix Zero is its elegant design and borderless display. One of the biggest concerns for ... Read more »

No sampling, vaccination at Ludhiana civil surgeon's office, patients hassled

© Provided by Hindustan Times Ludhiana, India – September 19, 2021 : Vaccination centre at Civil Surgeon office giving a deserted look in Ludhiana on Sunday, September 19, 2021. (Photo ... Read more »

Yeh Rishta Kya Kehlata Hai: Digangana Suryavanshi to enter Mohsin Khan and Shivangi Joshi starrer?

© Provided by BollywoodLife.com Yeh Rishta Kya Kehlata Hai’s new love story of Kartik and Sirat has grabbed all the attention. Just like Kartik and Naira had a crazy fan ... Read more »

Your Money: Know the various debt securities & the risks they carry

© Provided by The Financial Express One positive development is the increase in the insurance limit under Deposit Insurance Credit Guarantee Cooperation for bank deposits in India from Rs 1lakh ... Read more »

Talent track: Can technology help reduce gender bias in hiring?

© Provided by The Financial Express Uma Ganesh Portrait Many companies are on a high visibility campaign to recruit more women in line with their gender diversity policy. TCS, for ... Read more »

Sydney's former hotspot suburbs wake to new freedoms

© Getty A woman exercising in Parramatta Park, where restrictions have eased slightly due to rising vaccine rates. More than a million residents in Sydney’s coronavirus hotspots are waking to ... Read more »