'Load an information content file from the wordnet_ic corpus
and return a dictionary.  This dictionary has just two keys,
NOUN and VERB, whose values are dictionaries that map from
synsets to information content values.
:type icfile: str
:param icfile: The name of the wordnet_ic file (e.g. "ic-brown.dat")
:return: An information content dictionary'

def ic(self, icfile):

    ic = {}
    ic[NOUN] = defaultdict(float)
    ic[VERB] = defaultdict(float)
    for (num, line) in enumerate(self.open(icfile)):
        if (num == 0):
            continue
        fields = line.split()
        offset = int(fields[0][:(-1)])
        value = float(fields[1])
        pos = _get_pos(fields[0])
        if ((len(fields) == 3) and (fields[2] == u'ROOT')):
            ic[pos][0] += value
        if (value != 0):
            ic[pos][offset] = value
    return ic
