Description
<bag id= schoolbag name Act=2words[name=key] [gap= characters] [quotes= quotes]> Chinese-English mixed content </Bag>
Example 0:
Default participle (no gap and quotes parameters)
<bagid=ppage act=2words name=words> I like the yellow turtleneck t-shirt </bag>
Output Word Segmentation results
<p><b> result phrases: </b>@{pPage:words}</p>
Effect:
Full code
(sample file: _samples/2words.html)
Just a line of code to implement the Chinese + English mixed intelligent word segmentation. Pretty easy.
Download and description of light-open platform resources
Platform and Latest Development Brochure free Download: http://download.csdn.net/detail/tx18/8464425
Development example: Light Open e-commerce site , free download: http://download.csdn.net/detail/tx18/8318585
The light-open platform will be upgraded from time to time to provide you with many other powerful and easy features. Please pay attention to Download the latest version
Copyright notice: This article blog original articles, blogs, without consent, may not be reproduced.
Bag tag into a line of code to implement Chinese characters