OpenQuizz
Une application de gestion des contenus pédagogiques
JapaneseContextAnalysis Class Reference
Inheritance diagram for JapaneseContextAnalysis:
Collaboration diagram for JapaneseContextAnalysis:

Public Member Functions

def __init__ (self)
 
def reset (self)
 
def feed (self, byte_str, num_bytes)
 
def got_enough_data (self)
 
def get_confidence (self)
 
def get_order (self, byte_str)
 

Static Public Attributes

 NUM_OF_CATEGORY
 
 DONT_KNOW
 
 ENOUGH_REL_THRESHOLD
 
 MAX_REL_THRESHOLD
 
 MINIMUM_DATA_THRESHOLD
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self)

Reimplemented in SJISContextAnalysis.

Member Function Documentation

◆ feed()

def feed (   self,
  byte_str,
  num_bytes 
)

◆ get_confidence()

def get_confidence (   self)

◆ get_order()

def get_order (   self,
  byte_str 
)

Reimplemented in EUCJPContextAnalysis, and SJISContextAnalysis.

◆ got_enough_data()

def got_enough_data (   self)

◆ reset()

def reset (   self)

Field Documentation

◆ DONT_KNOW

DONT_KNOW
static

◆ ENOUGH_REL_THRESHOLD

ENOUGH_REL_THRESHOLD
static

◆ MAX_REL_THRESHOLD

MAX_REL_THRESHOLD
static

◆ MINIMUM_DATA_THRESHOLD

MINIMUM_DATA_THRESHOLD
static

◆ NUM_OF_CATEGORY

NUM_OF_CATEGORY
static

The documentation for this class was generated from the following file: