summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortxh18 <[email protected]>2015-12-28 20:04:22 +0800
committertxh18 <[email protected]>2015-12-28 20:04:22 +0800
commit982c1e4c9c980273b65095d84705b085661ff680 (patch)
treed82f349bab6e46df4e812a7d5269369d28ad092e
parent9c3082ad7fcf4a409beb7662092da3c84ce88914 (diff)
parenta19bc6e923bbe7bed239d990ebd75f386c556f66 (diff)
Merge branch 'txh18/rnnlm' of github.com:cloudygoose/nerv into txh18/rnnlm
-rw-r--r--nerv/examples/lmptb/lmptb/lmutil.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nerv/examples/lmptb/lmptb/lmutil.lua b/nerv/examples/lmptb/lmptb/lmutil.lua
index 27b4b10..6d66d6e 100644
--- a/nerv/examples/lmptb/lmptb/lmutil.lua
+++ b/nerv/examples/lmptb/lmptb/lmutil.lua
@@ -141,7 +141,7 @@ function Result:logp_sample(cla)
end
function Result:status(cla)
- return "LMResult status of " .. cla .. ": " .. "<SEN_CN " .. self[cla].cn_sen .. "> <W_CN " .. self[cla].cn_w .. "> <PPL_NET " .. self:ppl_net(cla) .. "> <PPL_OOV " .. self:ppl_all(cla) .. "> <LOGP " .. self[cla].logp_all .. ">"
+ return "LMResult status of " .. cla .. ": " .. "<SEN_CN " .. self[cla].cn_sen .. "> <W_CN " .. self[cla].cn_w .. "> <UNK_CN " .. self[cla].cn_unk .. "> <PPL_NET " .. self:ppl_net(cla) .. "> <PPL_OOV " .. self:ppl_all(cla) .. "> <LOGP " .. self[cla].logp_all .. ">"
end
local Timer = nerv.class("nerv.Timer")