Relaxlife.net released a self-developed Chinese word segmentation program

Source: Internet
Author: User

Recently, because of my previous work, I studied Chinese Word Segmentation and wrote a program for Chinese word segmentation, using the inverse maximum matching algorithm.
Example:
<% @ Page Language = "C #" %>
<% @ Import Namespace = "Relaxlife. Xiaokui" %>
<! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<Script runat = "server">
Protected void Page_Load (object sender, EventArgs e)
{
String content = "1999 a few days ago, Zhao Wei reported that his new boyfriend is a sports coach. Zhao Wei denied that he was resolute and thorough:" I don't know any sports coaches. Recently ...... No, I have never liked exercise ." (Reporter Chen Lingyan) in yesterday's surging winter rain, Zhao Wei made an image endorsement in Wu Guangyi's down jacket. Wei fans who heard the news crowded into a piece, and the atmosphere was warm. Zhao Wei, who returned to campus, said that he would focus on his studies during his studies and that his business activities should be arranged on weekends as much as possible. Maybe the weekend may be quite exhausting. At yesterday's press conference, Zhao Wei's face was worn out with pale makeup. When she was seated, many people realized that the main character had arrived, and Wei fan immediately gave a "one-stop" cheer. Zhao Wei, the current boyfriend of Zhao Wei, is a sports coach. Zhao Wei, a sports coach, is denied that he fell in love with Zhao Wei. He flew to Jiangcheng the afternoon before, because of the rain and a cold, he could only ride a car in the Yellow Crane Tower. In the evening, the staff also brought her a famous duck neck from Jiqing Street. "I really want to see this city as much as possible ." A few days ago, it was reported that Zhao Wei's new boyfriend was a sports coach. Zhao Wei denied that he was resolute and thorough: "I don't know any sports coach. Recently ...... No, I have never liked exercise ." After graduation, she will still be an actress. For some reports that she wants to stay in school after graduation, she also makes it clear that she will still be an actress first. As for the Director profession she has learned, she has to think that she can't do it step by step. ";
Splitter splitter = new Splitter ();
String Result = splitter. GetResult (content );
This. Label1.Text = Result;
}
</Script>
<Html xmlns = "http://www.w3.org/1999/xhtml">
<Head runat = "server">
<Title> No title page </title>
</Head>
<Body>
<Form id = "form1" runat = "server">
<Div>
<Asp: Label ID = "Label1" runat = "server" Text = "Label"> </asp: Label>
<Br/>
</Div>
</Form>
</Body>
</Html>
Click here to download
I also wrote a dictionary production program by the way:
Click here to download

You are welcome to discuss related technologies with me.
QQ: 4341998
QQ: 38377160
MSN: bqrm@livexy.com

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.