⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.aspx

📁 实现中文切词功能,应用lucene.net和中科院的切词算法
💻 ASPX
字号:
<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div style="text-align: center">
            <div style="text-align: center">
                <table border="0" cellpadding="0" cellspacing="0" style="width: 90%; height: 50%">
                    <tr>
                        <td align="left" colspan="2" style="height: 5px; background-color: white">
                            <asp:Label ID="Label1" runat="server" BorderStyle="None" Text="请输入要切分的句子或文章"></asp:Label></td>
                    </tr>
                    <tr>
                        <td colspan="2" style="background-color: white">
                            <asp:TextBox ID="TextBox1" runat="server" Height="107px" TextMode="MultiLine" Width="649px" ></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td align="left" style="width: 162px; height: 25px; background-color: white">
                            <asp:Label ID="Label3" runat="server" Text="请输入你想过滤的词" Width="148px"></asp:Label></td>
                        <td style="width: 78px; height: 25px; background-color: white">
                            <asp:TextBox ID="TextBox4" runat="server"  Width="489px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 162px; height: 95px; background-color: white" align="left">
                            <asp:Button ID="Button1" runat="server" Text="切词" OnClick="Button1_Click" /></td>
                        <td style="width: 78px; height: 95px; background-color: white">
                            <asp:TextBox ID="TextBox2" runat="server" Height="82px" TextMode="MultiLine" Width="507px"></asp:TextBox></td>
                    
                    </tr>
                    <tr>
                        <td align="left" style="width: 162px; height: 21px; background-color: white">
                            <asp:Label ID="Label2" runat="server" Text="请输入未识别的词"></asp:Label></td>
                        <td style="width: 78px; height: 21px; background-color: white">
                            <asp:TextBox ID="TextBox3" runat="server" Width="503px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="width: 162px; height: 95px; background-color: white" align="left">
                            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="未识别词入库" /></td>
                        <td style="width: 78px; height: 95px; background-color: white">
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    
    </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -