ZHUMAO给出的词频统计

ZHUMAO给出的词频统计
 cat advsh12.txt |tr -cs A-Za-z' 'n' | tr A-Z a-z | sort|uniq -c |sort -k1,1nr -k2 | head
   5711 the
   3044 and
   2961 i
   2810 to
   2719 of
   2671 a
   1790 in
   1746 that
   1710 it
   1510 you

Leave a Reply

Your email address will not be published. Required fields are marked *