We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
実行したコマンド
python -m trf -f sample.txt
テキストファイルの中身 (sample.txt)
ある日の暮方の事である。一人の下人げにんが、羅生門らしょうもんの下で雨やみを待っていた。 広い門の下には、この男のほかに誰もいない。ただ、所々丹塗にぬりの剥はげた、大きな円柱まるばしらに、蟋蟀きりぎりすが一匹とまっている。羅生門が、朱雀大路すざくおおじにある以上は、この男のほかにも、雨やみをする市女笠いちめがさや揉烏帽子もみえぼしが、もう二三人はありそうなものである。それが、この男のほかには誰もいない。
実行結果
[基本指標] 文数=1 平均文長=114.0 トークン数=48 タイプ数=58 [語彙に基づく指標] 品詞:動詞=0.08 品詞:名詞=0.29 品詞:助詞=0.27 品詞:未定義語=0.04 品詞:接尾辞=0.08 品詞:判定詞=0.02 品詞:特殊=0.15 品詞:形容詞=0.01 品詞:指示詞=0.04 品詞:副詞=0.03 品詞:連体詞=0.01 [統語情報に基づく指標] 係り受け木の深さ=9.00 仮定節=0.00 /opt/conda/envs/trf/lib/python3.7/site-packages/numpy/core/fromnumeric.py:3118: RuntimeWarning: Mean of empty slice. out=out, **kwargs) /opt/conda/envs/trf/lib/python3.7/site-packages/numpy/core/_methods.py:85: RuntimeWarning: invalid value encountered in double_scalars ret = ret.dtype.type(ret / rcount) [言語モデルに基づく指標] 容認度 (LogProb)=nan 容認度 (Mean LP)=nan 容認度 (Norm LP (Div))=nan 容認度 (Norm LP (Sub))=nan 容認度 (SLOR)=nan
The text was updated successfully, but these errors were encountered:
No branches or pull requests
実行したコマンド
テキストファイルの中身 (sample.txt)
実行結果
The text was updated successfully, but these errors were encountered: