From 6c90285e9aead3e2fc1e50a5dbfb9406f8d0e070 Mon Sep 17 00:00:00 2001 From: Ahmad Alobaid Date: Mon, 23 Mar 2020 22:31:38 +0100 Subject: [PATCH] add recompute with tests --- Makefile | 2 +- src/entity.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index eaa6293..9491461 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # These are used for the library -VERSION = 1.1 +VERSION = 1.2 LIBNAME = libtadahdtentity.so.$(VERSION) LIBALIAS = libtadahdtentity.so HDIR = /usr/local/include/tada_hdt_entity diff --git a/src/entity.cpp b/src/entity.cpp index 96b6697..0dd5fe1 100644 --- a/src/entity.cpp +++ b/src/entity.cpp @@ -118,6 +118,7 @@ std::list* EntityAnn::annotate_semi_scored_column(unsigned long m, doubl std::list* EntityAnn::recompute_f(double alpha) { m_alpha = alpha; + m_logger->log("recompute_f> with alpha: "+to_string(alpha)); this->compute_f(); return this->get_candidates(); }