--
You received this message because you are subscribed to the Google Groups "Unitex-GramLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unitex-gramla...@googlegroups.com.
To post to this group, send email to unitex-...@googlegroups.com.
Visit this group at https://groups.google.com/group/unitex-gramlab.
To view this discussion on the web visit https://groups.google.com/d/msgid/unitex-gramlab/92c9bb9e-3940-4aad-97cc-0d0e24f5f331%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For the moment I don't quite see yet how to put together pattern detection (what I'm quite familiar with) and normalisation in replace mode (from inflexion to lemma, what is quite new for me in Unitex).
Do you have any examples of it, or previous topics with something similar? I'm trying to detect a pattern and then output it in a normalised form. Does it make sense? Is it possible?
I can see on page 106 we should be able to use several variables in a row in output but the manual does not tell me how I should write them. In manual's example, how are $year$ $month$ written?
I tried it in two separate boxes or the same box with a space in between
but I only get the last one in the output (with two boxes)
In graphs like that of Figure 6.15, the negative right context does not need to match the same number of tokens as the box after it. For example, before the graph of Figure 6.16 recognizes too, the negative right context checks if it occurs in a phrase like too early or too many.
Figure 6.17: Advanced use of right contexts
I'm getting there with inflexion > lemma output for N+Adj., it is working now. The only difference with the previous graph is hat I put my Noun and Adjective each in a separate surround box with morphological tags. That's probably what you meant talking about two lexical masks. If it can help anybody in future... I'm posting the screenshot with a comparison.
Is it compatible with negative left context?
BTW, there might be an error in the manual or am I getting it wrong? Page 130 isn't a left context rather than right? That's what the manual says:In graphs like that of Figure 6.15, the negative right context does not need to match the same number of tokens as the box after it. For example, before the graph of Figure 6.16 recognizes too, the negative right context checks if it occurs in a phrase like too early or too many.Same here:Figure 6.17: Advanced use of right contexts
I'm using Dictionary-entry variables and am wondering if I can specify the specific inflexion I want to output.
Let's say I have 'Administrativo/a' in the input text, I can now get the output 'Administrativo' (with $xxx.INFLECTED$ or $xxx.LEMMA$, it's the same here) but not 'Administrativa': it looks like the option $xxx.INFLECTED$ only allows you to output the original inflexion, is this correct? I had a look on inflexion dictionaries but I don't think I can use them here... What would be a way to get a feminine inflexion in output from a lemma in input in a grammar? I can provide more details if necessary.
Thank you for all your help,