From 3e37f1079967fa737514a11c69c9534f480753cd Mon Sep 17 00:00:00 2001 From: Adam Markiewicz <adamm24680@gmail.com> Date: Sun, 3 Jun 2018 19:18:23 +0200 Subject: [PATCH] fn --- disambiguation/ENIAMmstFeatures.ml | 3 +-- exec/dep.model.json.zip | Bin 10618793 -> 0 bytes 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/disambiguation/ENIAMmstFeatures.ml b/disambiguation/ENIAMmstFeatures.ml index af8ac07..7c6b6b9 100644 --- a/disambiguation/ENIAMmstFeatures.ml +++ b/disambiguation/ENIAMmstFeatures.ml @@ -76,8 +76,7 @@ let correct_for_frequency (score: float) (parent: node) (child: node) = else None in let freq_score = Freq_Model.get_freq_score child.lemma child.pos case in - let scaled = (max 0.0 score) *. freq_score |> sqrt in - score +. scaled + score +. 4.0 *. freq_score let score_edge (data: disamb_info) (parent: node) (child: node) = let fv = MST_Model.empty_fv in diff --git a/exec/dep.model.json.zip b/exec/dep.model.json.zip index 1edeeeb..a2a1b1b 100644 Binary files a/exec/dep.model.json.zip and b/exec/dep.model.json.zip differ -- libgit2 0.22.2