| Recommend this page to a friend! |
| All class groups | > | All authors | > | Packages of Ravindu Taveesha (3) | > | Mission progress status | > | Reputation |
|
|||||||||||||||||||||||||||||||
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
| ||||
| This class can detect incorrectly spelled words and suggest fixes. It takes a given text string and checks its words against a dictionary of words known to be valid to determine if they are correct. For words that seem to be incorrect, it suggest words that are similar and seem to be correct versions of those words. This package comes with a Python script that can be used to build a dictionary from sources of texts with correctly spelled words. |
| ||||
| This class can be used to optimize order of sequences with Genetic algorithm. It can take an array with a sequence of objects to optimize and it applies genetic algorithm to evolve the sequence. The class applies a given number of generations to perform elitistic selection with a given fitness function, applies cross-over and mutation. The resulting sequence of objects is stored as an array class variable. An example is provided to optimize a sequence of cities to travel. |
| |||||||||
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |