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

int NUM_OF_CATEGORY = 6
 
int DONT_KNOW = -1
 
int ENOUGH_REL_THRESHOLD = 100
 
int MAX_REL_THRESHOLD = 1000
 
int MINIMUM_DATA_THRESHOLD = 4
 

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

int DONT_KNOW = -1
static

◆ ENOUGH_REL_THRESHOLD

int ENOUGH_REL_THRESHOLD = 100
static

◆ MAX_REL_THRESHOLD

int MAX_REL_THRESHOLD = 1000
static

◆ MINIMUM_DATA_THRESHOLD

int MINIMUM_DATA_THRESHOLD = 4
static

◆ NUM_OF_CATEGORY

int NUM_OF_CATEGORY = 6
static

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