Evelina Gabasova (@evelgab)
Tomas Petricek (@tomaspetricek)
The mission of the non-profit F# Software Foundation is to promote, protect, and advance the F# programming language.
"F# empowers users to tackle complex computing problems with simple, maintainable and robust code."
Example using sample English text "the three"
|
|
|
Now calculate probabilities of the pairs
|
|
|
th |
e_ |
ee |
el |
|
English |
0.3 |
0.2 |
0.2 |
0.1 |
Portuguese |
0.0 |
0.2 |
0.1 |
0.3 |
Distance is the sum of squares of differences.
th |
e_ |
ee |
el |
|
English |
0.3 |
0.2 |
0.2 |
0.1 |
Portuguese |
0.0 |
0.2 |
0.1 |
0.3 |
Difference |
0.3 |
0.0 |
0.1 |
-0.2 |
Sum of squares: \(0.09+0.0+0.01+0.04 = 0.14\)
Portuguese |
Spanish |
English |
Czech |
|
Unknown text |
0.10 |
0.14 |
0.25 |
0.27 |
Personal: evelinag.com
| tomasp.net
Work: fsharpworks.com
| functional-programming.net