找出兼类词并计算兼类词占整个词表的百分比

xiaoxiao2021-02-28  79

open(In,"dict.txt"); $i=0; $j=0; while(<In>){ chomp; if(/@/){ #print "$_\n"; $j++; } $i++; } close(In); print $j/$i;
转载请注明原文地址: https://www.6miu.com/read-84957.html

最新回复(0)