Example 1:
Participle ( returns a comma-delimited phrase with quotation marks for each word, gap= ",", quotes= "'" or quotes= ' ")
Single quotation marks
<bag id=ppage act=2words name=words gap= "," quotes= "'" > I like the yellow turtleneck t-shirt </bag>
Output Word Segmentation results
<p><b> result phrases: </b>@{pPage:words}</p>
Double quotes
<bag id=ppage act=2words name=words gap= "," quotes= ' "' > I like the yellow turtleneck t-shirt </bag>
Output Word Segmentation results
<p><b> result phrases: </b>@{pPage:words}</p>
Effect
Full code
(example file: _samples/2words2.html)
Such participle can be directly used as a query condition of SQL, such as: where Word in (@{ppage:words}), Convenient!Download and description of light-open platform resources
Platform and Latest development Manuals free Download: http://download.csdn.net/detail/tx18/8464425
Development example: Light Open e-commerce website , free download: http://download.csdn.net/detail/tx18/8318585
Light open platform will be upgraded to provide you with more powerful and easy features, please pay attention to Download the latest version
The line code of the bag label implements Chinese word breaker Instance 2