Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a central scss file for annis-theme #2

Merged
merged 1 commit into from
Feb 13, 2013

Conversation

pixeldrama
Copy link

Set back default font-size from 13px to 10px.

Set back default font-size from 13px to 10px.
@thomaskrause thomaskrause merged commit 7215ba4 into thomaskrause:vaadin7 Feb 13, 2013
thomaskrause added a commit that referenced this pull request Sep 29, 2013
Precedence optimization fails when applied to spans which cover more than one token

Take e.g. this query on pcc2
NP & NP & NP &  #1 . #2 & #2 . #3

In ANNIS 2 this gave us 2 results, but since ANNIS 3 incorrectly applies the precedence optimization the query gets translated to

NP & NP & NP &  #1 . #2 & #2 . #3 & #1 . #3

and has only 1 match. The correct optimization would be

NP & NP & NP &  #1 . #2 & #2 . #3 & #1 .* #3

This commit adds proper test cases for this situation and gives a fix
thomaskrause added a commit that referenced this pull request Nov 5, 2013
thomaskrause added a commit that referenced this pull request Nov 19, 2013
like

tok . pos="NN"

instead of

tok & pos="NN" & # 1 . #2
thomaskrause added a commit that referenced this pull request Nov 20, 2013
tok="abc" . node

which could be either

tok="abc" & node & #1 . #2
or
tok & "abc" & node &  #1 = #2 & #2 . #3
thomaskrause pushed a commit that referenced this pull request Sep 24, 2014
Merge into amir-zeldes:develop
thomaskrause pushed a commit that referenced this pull request Sep 13, 2015
korpling changes 04/17/15
thomaskrause added a commit that referenced this pull request Feb 15, 2016
… node definitions.

This removes an ambiquity for the "!=" token. E.g.

tok!="the"

could be interpreted as "All token which don't have "the" as value" or as

tok & "the" & #1 != #2

The latter one is semantically invalid (no binding) so the ambiquity is solved by not allowing the AQL operator "!=" and "==" in short AQL definitions.

This fixes korpling#494.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants