예제 #1
0
파일: spectrum.py 프로젝트: gpka/autotagger
def normalizedLogUniqueness(title, smooth=1, returntype=collections.Counter):
    return getLogUnisonUniqueness(getWordCountWiki(title), title.lower(), smooth, returntype)
예제 #2
0
파일: spectrum.py 프로젝트: gpka/autotagger
def getWikiPairUniqueness(title1, title2, smooth=1, returntype=collections.Counter):
    return getLogPairUniqueness(getWordCountWiki(title1), getWordCountWiki(title2), smooth, returntype)