You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In morphological mode, the lexical mask <!DIC> has the same effect as <DIC>.
What steps will reproduce the problem?
Open 80jours in French
Set dela-fr-public as morphological-mode dictionary
Search the corpus for test-not-dic.grf (attached graph, bug-not-dic.zip ) and generate a concordance
Repeat step 3 with test-dic.grf (attached)
What is the expected output?
No occurrence should be present in both concordances.
In the default mode, <!DIC> means 'a word not in any of the current dictionaries'. In the morphological mode, it should logically mean 'a sequence of letters not in any of the morphological-mode dictionaries'.
What do you see instead?
The two concordances are identical and contain several occurrences.
More info
The easy solution is to reject <!DIC> when in the morphological mode.
A user contacted me to ask for an implementation of the expected behaviour of <!DIC> in the morphological mode. There is a solution without <!DIC> (replace <!DIC> with a <LETTER> loop and name the graph with a name ending in +), but it is different: it checks that the complete word has not been found in dictionaries before.
A negation of a lexical mask, e.g. <!N:ms>, also has the same effect as <DIC>.
Unitex/GramLab IDE version: 3.2.59 alpha
UnitexToolLogger version: 3.2.59 alpha
Did this work before?: probably not
Forum thread:
Log file (.ulp):
The text was updated successfully, but these errors were encountered:
In morphological mode, the lexical mask <!DIC> has the same effect as <DIC>.
What steps will reproduce the problem?
Open 80jours in French
Set dela-fr-public as morphological-mode dictionary
Search the corpus for test-not-dic.grf (attached graph, bug-not-dic.zip ) and generate a concordance
Repeat step 3 with test-dic.grf (attached)
What is the expected output?
No occurrence should be present in both concordances.
In the default mode, <!DIC> means 'a word not in any of the current dictionaries'. In the morphological mode, it should logically mean 'a sequence of letters not in any of the morphological-mode dictionaries'.
What do you see instead?
The two concordances are identical and contain several occurrences.
More info
The easy solution is to reject <!DIC> when in the morphological mode.
A user contacted me to ask for an implementation of the expected behaviour of <!DIC> in the morphological mode. There is a solution without <!DIC> (replace <!DIC> with a <LETTER> loop and name the graph with a name ending in +), but it is different: it checks that the complete word has not been found in dictionaries before.
A negation of a lexical mask, e.g. <!N:ms>, also has the same effect as <DIC>.
Unitex/GramLab IDE version: 3.2.59 alpha
UnitexToolLogger version: 3.2.59 alpha
Did this work before?: probably not
Forum thread:
Log file (.ulp):
The text was updated successfully, but these errors were encountered: