El dl 08 de 10 de 2012 a les 07:04 +0200, en/na Mikel Forcada va
escriure:
> Fran,
> 
> >
> > I'd like to include the possibility for lists in the LRX format. This
> > would involve adding a couple of new tags,
> That should not be a problem as long as the old format works in the new 
> definition
> > and changing the root tag,
> You would have to give a good reason for it.

Unfortunately the current root tag is <rules> ... :/

> > the idea is to have something like:
> >
> > http://pastebin.com/GGzfM5qc
> OK. I would have appreciated comments in the .lrx file...

Sorry, next time I'll add some!

> > Calling a <list> would just involve putting it's contents in the rule.
> > So with <or> it would work like an OR, but without, it would work like a
> > sequence.
> I don't like this at all. This is very opaque. I would not use the tag 
> <list>. If it is a set from where you choose, call it <set> or 
> <option>... if it is a <sequence> define it as a sequence. But don't 
> overload something called a <list> that really isn't.
> 
> Another option would be to have a named macro that can contain anything 
> that a rule can contain. Then you would use <or> for lists, etc. But 
> <or><list>...</list></or> does not read well.
> 
> Hope this helps.

Yep thanks! I think it deserves further thought before being
implemented, so I'll leave it to an XSL for now. 

Fran


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to