Public Member Functions | |
add ($str, $count, $weight=1) | |
updateScores () | |
getMergedSamples () | |
getCandidate ($minConfidence=0) | |
dump ($merged=true) | |
Data Fields | |
$samples = array() | |
Protected Member Functions | |
sortByScore (&$samples) | |
Definition at line 24 of file Class.Dcp_Utils_CSVFormatDetector.php.
add | ( | $str, | |
$count, | |||
$weight = 1 |
|||
) |
Definition at line 31 of file Class.Dcp_Utils_CSVFormatDetector.php.
dump | ( | $merged = true | ) |
Definition at line 102 of file Class.Dcp_Utils_CSVFormatDetector.php.
getCandidate | ( | $minConfidence = 0 | ) |
Return sample with highest confidence score or NULL if there is no samples
Definition at line 79 of file Class.Dcp_Utils_CSVFormatDetector.php.
getMergedSamples | ( | ) |
Definition at line 53 of file Class.Dcp_Utils_CSVFormatDetector.php.
|
protected |
Definition at line 91 of file Class.Dcp_Utils_CSVFormatDetector.php.
updateScores | ( | ) |
Definition at line 36 of file Class.Dcp_Utils_CSVFormatDetector.php.
$samples = array() |
Definition at line 29 of file Class.Dcp_Utils_CSVFormatDetector.php.