- Feb 14, 2013
-
-
Pawel Orlowicz authored
-
- Sep 26, 2012
-
-
Adam Radziszewski authored
-
- Jul 17, 2012
-
-
Pawel Orlowicz authored
-
- Apr 20, 2012
-
-
Adam Radziszewski authored
-
- Mar 11, 2012
-
-
ilor authored
This is a workaround for lovely boost 1.48 incompatibility causing compile errors on assignment to StrSet from a temporary StrSet, see https://svn.boost.org/trac/boost/ticket/6167 for more details.
-
- Dec 06, 2011
-
-
Paweł Kędzia authored
-
- Sep 26, 2011
-
-
Adam Radziszewski authored
-
- Jul 18, 2011
-
-
Adam Radziszewski authored
-
- Jun 09, 2011
-
-
ilor authored
-
- Jun 06, 2011
-
-
ilor authored
-
- May 06, 2011
-
-
Adam Wardynski authored
This reflects the fact that positions stored in matches are absolute positions, while Position type is used in the language as position relative to current position in the sentence context. So mixing the two was confusing at the very least. This also actually fits the most recent version of spec, which no longer mentions Position, either.
-
- Apr 26, 2011
-
-
Adam Wardynski authored
It was looking for minimum value and Position::Nowhere is the smallest you can get value-wise (min_int). So if there was an empty Match in a vector, first_token for the vector would always end up returning Position::Nowhere, which was wrong (empty submatches should've been ignored and Position::Nowhere returned only if there were no non-empty alternatives).
-
- Apr 21, 2011
-
-
Adam Wardynski authored
-
Adam Wardynski authored
-
Adam Wardynski authored
-
Adam Wardynski authored
-
Adam Wardynski authored
-
Adam Wardynski authored
Also, adding M in grammar to be shorthand for $m:_M (vargetter) op in match context.
-
ilor authored
-
- Apr 19, 2011
-
-
Adam Wardynski authored
-
Adam Wardynski authored
-
Adam Wardynski authored
-
Adam Wardynski authored
MatchVector, AnnotationMatch, TokenMatch are now MatchData MatchData is value_type of Match which now has get_value/set_value Match has also copy construction working properly now Default value for Match holds MatchVector so adding $m:_M var in grammar works as intended.
-
- Mar 11, 2011
-
-
Adam Wardynski authored
-
- Mar 09, 2011
- Mar 03, 2011
-
-
ilor authored
First draft of Match value type with some tests. MatchVector does not yet properly implement first/last token, hence a test fails, and AnnotationMatch is pretty much a stub.
-
- Feb 09, 2011
- Dec 10, 2010
-
-
Adam Wardynski authored
It is coherent now with the SentenceContext::is_inside(int abs_pos) - SentenceContext::is_inside(Position pos) is added, while Position::is_inside(SentenceContext) is removed
-
- Dec 09, 2010
-
-
Adam Wardynski authored
-
Adam Wardynski authored
-
- Dec 08, 2010
- Nov 30, 2010
-
-
ilor authored
Add the tagset-symbol-getter operator (GetSymbols), bump required Corpus2 version to 1.0.2 since new features are needed.
-
Adam Wardynski authored
It is more intuitive that way, e.g. equal(2,3) is never true, equal(3,3) is always true. Nowhere is only equal to Nowhere, and Begin or End are equal to nonspecial positions depending on current position in the sentence context.
-
- Nov 29, 2010
-
-
ilor authored
-