<commit_before>--------------------------------------------
--------------------------------------------
-- @Desc  : ƽѪUI
--          ֻUI κ߼ж
-- @Author: һ @tinymins
-- @Date  : 2015-03-02 10:08:35
-- @Email : <EMAIL>
-- @Last Modified by:   һ @tinymins
-- @Last Modified time: 2015-03-02 19:49:48
--------------------------------------------
XLifeBar = XLifeBar or {}
XLifeBar.HP = class()
local HP = XLifeBar.HP
local _C = {}

function XLifeBar.OnFrameCreate()
	if JH and JH.GetShadowHandle then
		_C.Handle = JH.GetShadowHandle("XLifeBar")
	else
		_C.Handle = this:Lookup('', '')
	end
end

function XLifeBar.GetHandle()
	return _C.Handle
end

function HP:ctor(dwID) -- KGobject
	self.dwID = dwID
	self.handle = _C.Handle:Lookup(tostring(self.dwID))<commit_msg>头顶血条：代码微调<commit_after>--------------------------------------------
-- @Desc  : ƽѪUI
--          ֻUI κ߼ж
-- @Author: һ @tinymins
-- @Date  : 2015-03-02 10:08:35
-- @Email : <EMAIL>
-- @Last Modified by:   һ @tinymins
-- @Last Modified time: 2015-03-02 20:14:06
--------------------------------------------
XLifeBar = XLifeBar or {}
XLifeBar.HP = class()
local HP = XLifeBar.HP
local _C = {}

function XLifeBar.OnFrameCreate()
	if JH and JH.GetShadowHandle then
		_C.Handle = JH.GetShadowHandle("XLifeBar")
	else
		_C.Handle = this:Lookup('', '')
	end
end

function XLifeBar.GetHandle()
	return _C.Handle
end

function HP:ctor(dwID) -- KGobject
	self.dwID = dwID
	self.handle = _C.Handle:Lookup(tostring(self.dwID))
{'fraction_non_alphanumeric': 0.2796208530805687, 'fraction_numerical': 0.037914691943127965, 'mean_word_length': 1.9442231075697212, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5491896', 'n_tokens_mistral': 585, 'n_tokens_neox': 535, 'n_words': 117}