Description
Now, to create TypoMiner object you must pass precise algorithm param as algo. But it looks strange, since I have to pull out the preciseAlgorithm from the config, because this is a parameter, not the name of the algorithm (For example, TANE mines FDs, Apriori mines ARs). The real name of the algorithm is TypoMiner (for mining typo FDs).
Secondly, I need to create tasks for mining clusters and specific clusters.
It can be useful to have different constructors:
- Create object for mining TypoFDs (need to provide info about the file, precise algorithm, approximate algorithm)
- Create object for mining clusters (need to provide info about the file, ratio, radius, typo FD)
Thirdly, I need to mine different representations of the same cluster. Is it possible to add FD creating without table parsing? If it's true, I won't create TypoMiner object in this case and use only TypoMiner static functions. (These functions must be static: FindClustersWithTypos
, SquashCluster
, FindClustersAndLinesWithTypos
). If it isn't possible to create FD without table parsing, I need a third constructor, but that seems odd.