$result=@mysql_query("SELECT str, count(str) as cnt FROM `형태소` where 1 group by str having cnt >=1 order by cnt desc") or die(mysql_error());
while($row=mysql_fetch_array($result))
{
echo $row[0].":".$row[1]."<br>";
}
http://kin.diinside.co.kr/형태소.php?str=풋사과
풋사과 = 풋 + 사과
어근 : 사과
접사 : 풋
댓글 0