Sherlock is a neural network trained on real-world datasets collected from the web. Unlike rule-based approaches based on hard-coded regular expressions and values, Sherlock detects types using word embeddings and distributions of characters.
Because Sherlock is trained on real data, it is robust to messy entries (e.g. blanks, mispellings, malformatted values) and includes over 20 semantic types. See for yourself by changing table values:
Country | Head of Government | Capital City | Latitude | Longitude | Continent | Birth of Current Form of Government | One Day Δ in USD Exchange Rate | As Of |
|---|---|---|---|---|---|---|---|---|
| Japan | Tokyo | 35.68333333 | 139.75 | Asia | 194? | 0.0001 | Aug 19 2018 | |
| Theresa May | London | 51.5 | -0.083333 | Europe | 18XX | 0 | 2018.08.19 | |
| SWE | Alain Berset | Bern | 46.91666667 | LONGITUDE | Europe | 1947 | ? | 08/19/2018 |
| Canada | TODO | TODO | TODO | TODO | North America | 1867 | -0.0005 | 08/19/2018 |
| Australia | TODO | TODO | TODO | TODO | OCE | 1900 +/ 1 | .2 pct | 08/19/2018 |
| New Zealand | Jacinda Ardern | \t\t\t | OCE | 1840 | -0.36% | 08/19/2018 | ||
| Sweden | Stefan Löfven | Stockholm | 59.33333333 | 18.05 | Europe | 1974 | 0.0016 | |
| Norway | Erna Solberg | Oslo | 59.91666667 | 10.75 | 1814 | 0.0008 | 08/19/2018 | |
| 中国 | Xi Jinping | Beijing | 39 +/ 10 | 116.383333 | Asia | 194? | 08/19/2018 | |
| Росси́я | Moscow | 55.75 | 37.6 | Europe | 1993 | 0.59% | 08/19/2018 | |
| IND | Narendra Modi | New Delhi | 28.6 | 77.2 | Asia | 20th century | 0.0026 | 2018-?-? |
| Turkey | Recep Tayyip Erdoğan | Ankara | 39.93333333 | 32.866667 | 0.0092 | 08/19/2018 | ||
| Prayut Chan-o-cha | Bangkok | 13.75 | 100.516667 | Asia | 0.44% | 08/19/2018 | ||
| Indonesia | Joko Widodo | Jakarta | -6.166666667 | 106.816667 | Asia | -0.0009 | 08/19/2018 | |
| Myanmar | \n | \n | Asia | 2011 | 0.001 | 2018-08-19 | ||
| Mexico | Enrique Peña Nieto | ? | 19.43333333-99.133333 | CA | 1917 | 0.0017 | 08/19/2018 | |
| Argentina | Mauricio Macri | ? | -34.58333333 | -58.666667 | SA | 1853 | .11 pct | Aug 19 2018 |
| Lars Løkke Rasmussen | 55.66666667 | 12.583333 | EU | 1953 | 0.0025 | 08/19/2018 | ||
| Israel | Benjamin Netanyahu | Jerusalem | Asia | 1948 +/- 5 | ? | August 2018 | ||
| Philippines | Rodrigo Duterte | Manila | 14.6 | 120.966667 | 1835 | 0.0012 | 08/19/2018 |