patrickfrey / strusAnalyzer

Library for document analysis (segmentation, tokenization, normalization, aggregation) with the goal to get a set of items that can be inserted into a strus storage. Also some functions for analysing tokens or phrases of the strus query are provided.
http://www.project-strus.net
Mozilla Public License 2.0
3 stars 0 forks source link

Meaning of ~ in analyzer xpath selector #50

Open andreasbaumann opened 7 years ago

andreasbaumann commented 7 years ago
    sent = empty content /doc/title~;

What does '~' mean?

andreasbaumann commented 7 years ago

How would I do the same in the JSON segmenter?

patrickfrey commented 7 years ago

The '~' operator means a token for the end of the tag.