From bb28676b1ca4705bc71e3652dbfb91f2d70079c6 Mon Sep 17 00:00:00 2001 From: Robert Vacareanu Date: Mon, 29 Apr 2024 11:19:51 -0700 Subject: [PATCH] Comments --- .../ml4ai/skema/text_reading/grounding/GrounderFactory.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skema/text_reading/scala/src/main/scala/org/ml4ai/skema/text_reading/grounding/GrounderFactory.scala b/skema/text_reading/scala/src/main/scala/org/ml4ai/skema/text_reading/grounding/GrounderFactory.scala index 0cebb037f7..63a3fa5010 100644 --- a/skema/text_reading/scala/src/main/scala/org/ml4ai/skema/text_reading/grounding/GrounderFactory.scala +++ b/skema/text_reading/scala/src/main/scala/org/ml4ai/skema/text_reading/grounding/GrounderFactory.scala @@ -57,9 +57,9 @@ object GrounderFactory { grounder case "manual" => manualGrounder case "scala-grounders" => + // Similar to `miraembeddings` val ontologyFilePath = domainConfig.getString("ontologyPath") - ScalaGroundersAdapter.fromFile(groundingConceptsPath=ontologyFilePath) // See `miraembeddings` above - // ??? + ScalaGroundersAdapter.fromFile(groundingConceptsPath=ontologyFilePath) case other => throw new RuntimeException(s"$other - is not implemented as a grounding engine") }