Package de.julielab.jcore.ae.lingscope
Class LikelihoodUtils
- java.lang.Object
-
- de.julielab.jcore.ae.lingscope.LikelihoodUtils
-
public class LikelihoodUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description LikelihoodUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidloadLikelihoodDict(String dictFilePath, Map<String,String> likelihoodDict)Reads the dictionary the maps negation or hedge cues to a likelihood.
-
-
-
Method Detail
-
loadLikelihoodDict
public static void loadLikelihoodDict(String dictFilePath, Map<String,String> likelihoodDict)
Reads the dictionary the maps negation or hedge cues to a likelihood. This work is taken from the jcore-likelihood-detection-ae and might not always fit to the cues identified by Lingscope.- Parameters:
dictFilePath-likelihoodDict-- Throws:
IOException
-
-