-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
full json and nested parameters update
- Loading branch information
Showing
18 changed files
with
1,136 additions
and
651 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,55 @@ | ||
module FastLink | ||
using DataFrames | ||
import PooledArrays: PooledVector | ||
import Distributions: Dirichlet,rand | ||
|
||
# match constants | ||
const nonmatch::UInt8 = UInt8(0) | ||
const match1::UInt8 = UInt8(1) | ||
const match2::UInt8 = UInt8(2) | ||
const missingval::UInt8 = UInt8(3) | ||
|
||
const STRING_DISTANCE_METHODS = Dict("jw" => "jw", | ||
"jarowinkler" => "jw", | ||
"jaro winkler" => "jw", | ||
"jaro-winkler" => "jw", | ||
"jaro" => "jaro", | ||
"dl" => "dl", | ||
"dameraulevenshtein" => "dl", | ||
"damerau levenshtein" => "dl", | ||
"damerau-levenshtein" => "dl", | ||
"lv" => "lv", | ||
"levenshtein" => "lv", | ||
"hamming" => "hamming", | ||
"ro" => "ro", | ||
"ratcliffobershelp" => "ro", | ||
"ratcliff obershelp" => "ro", | ||
"ratcliff-obershelp" => "ro", | ||
"osa" => "osa", | ||
"optimal string alignment" => "osa", | ||
"optimalstringalignment" => "osa" | ||
) | ||
|
||
include("settings/settings.jl") | ||
include("DiBitMatrix.jl") | ||
using .DiBitMat | ||
include("matchPatterns.jl") | ||
include("gammas/Gammas.jl") | ||
include("term_frequency_adjustment.jl") | ||
include("emlink.jl") | ||
include("patterns.jl") | ||
|
||
using .settings | ||
using .DiBitMat | ||
using .matchpatterns | ||
using .Gammas | ||
using .emlink | ||
using .tf | ||
using .patterns | ||
|
||
include("matchPatterns.jl") | ||
include("emlink.jl") | ||
include("getMatches.jl") | ||
include("fastlink/fastlink.jl") | ||
|
||
export(fastLink) | ||
export gammaCKpar!, gammaKpar!, gammaCKfuzzy!, gammaNUMCKpar!, DiBitMatrix, namedtuple, fetch_parameters, retrieve, parse_configuration, remove_keys, emlinkMARmov, STRING_DISTANCE_METHODS, match1, match2, missingval, nonmatch, indices_to_uids, process_comparisons, fastLink | ||
|
||
#export(fastLink) | ||
|
||
|
||
end # module FastLink |
Oops, something went wrong.