#NEWLINE# def get_charset_name( self ) : #NEWLINE# #INDENT# finalsub = ( self . _mFinalCharLogicalScore - self . _mFinalCharVisualScore ) #NEWLINE# if ( finalsub >= MIN_FINAL_CHAR_DISTANCE ) : #NEWLINE# #INDENT# return LOGICAL_HEBREW_NAME #NEWLINE# #UNINDENT# if ( finalsub <= ( - MIN_FINAL_CHAR_DISTANCE ) ) : #NEWLINE# #INDENT# return VISUAL_HEBREW_NAME #NEWLINE# #UNINDENT# modelsub = ( self . _mLogicalProber . get_confidence ( ) - self . _mVisualProber . get_confidence ( ) ) #NEWLINE# if ( modelsub > MIN_MODEL_DISTANCE ) : #NEWLINE# #INDENT# return LOGICAL_HEBREW_NAME #NEWLINE# #UNINDENT# if ( self < ( - MIN_MODEL_DISTANCE ) ) : #NEWLINE# #INDENT# return VISUAL_HEBREW_NAME #NEWLINE# #UNINDENT# if ( finalsub < 0.0 ) : #NEWLINE# #INDENT# return VISUAL_HEBREW_NAME #NEWLINE# #UNINDENT# return LOGICAL_HEBREW_NAME