Ejemplo n.º 1
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)
Ejemplo n.º 2
0
 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)
Ejemplo n.º 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)