예제 #1
0
파일: japanese.py 프로젝트: tazjel/metanl
def word_frequency(word, default_freq=0):
    """
    Looks up the word's frequency in the Leeds Internet Japanese corpus.
    """
    return get_frequency(word, 'ja', default_freq)
예제 #2
0
파일: freeling.py 프로젝트: tazjel/metanl
 def word_frequency(self, word, default_freq=0):
     """
     Looks up the word's frequency in the Leeds Internet corpus.
     """
     return get_frequency(word, self.lang, default_freq)
예제 #3
0
def word_frequency(word, default_freq=0):
    """
    Looks up the word's frequency in the Leeds Internet Japanese corpus.
    """
    return get_frequency(word, "ja", default_freq)