
看了完整的我猜想后面的字母是标注词性的(n名词,v动词等等),中间的数字嘛,跟拼音有关,比如6的都是s开头的字,其他没有深究,简单版的够用就行。如果要强大的分词还是建议用SCWS
添加搜索框代码如下:
<form method="post"
action="{dede:global.cfg_basehost/}/plus/search.php" name="formsearch"
class="search"><input type="hidden" value="www.dedecms.com" name="domains"><input type="hidden" value="0" name="kwtype">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="65"></td>
<td width="146" valign="middle"><input class="keywords" name="q" type="text" id="search" value="请输入搜索内容...">
<input type="hidden" value="titlekeyword" name="searchtype" >
</td>
<td width="5"></td>
<td><button type="submit" class="submit"></button></td>
</tr>
</table>
</form>
二、
<form method="post" action="{dede:global.cfg_basehost/}/plus/search.php" name="formsearch" class="search"><input type="hidden" value="www.dedecms.com" name="domains"><input type="hidden" value="0" name="kwtype">
<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="65">&nbsp</td>
<td width="146" valign="middle">
<input class="keywords" name="q" type="text" id="search" value="请输入搜索内容..." onFocus="if(this.value=='请输入搜索内容...'){this.value=''}" onBlur="if(this.value==''){this.value='请输入搜索内容...'}">
<input type="hidden" value="titlekeyword" name="searchtype" >
</td>
<td width="5">&nbsp</td>
<td> <button type="submit" class="submit"></button> </td>
</tr>
</table>
</form>
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)