Before I get to the problem, I reflect that not everyone knows you can 'delete' parts in transfer, by setting them to an empty <lit>:
<let> <clip pos="1" side="tl" part="attr"/> <lit v=""/> </let> Recently, I hit a problem with verbs in eu-en, where I was getting the Basque tag after I'd thought I'd deleted the person information from the verb. After checking the usual brain errors, like copying a tag onto itself, or taking from sl instead of tl, etc., I found that, because of the overlapping attributes, even after deleting the value, the value cached from one of the other parts was being used in subsequent evaluations of the part. So, to avoid this, if you want to delete a tag, you either 1) have to delete it from each part where it could appear, or, 2) manually set the built-in 'tags' part with a concatenation of the parts you're interested in. Hope this saves someone else a few hours of frustrated debugging! -- <Sefam> Are any of the mentors around? <jimregan> yes, they're the ones trolling you ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
