Class LikelihoodUtils


  • public class LikelihoodUtils
    extends Object
    • Constructor Detail

      • LikelihoodUtils

        public LikelihoodUtils()
    • 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