Re: [Apertium-stuff] part="tags"/

2019-02-24 Thread Francis Tyers

El 2019-02-24 21:38, Sevilay Bayatlı escribió:

The part attribute in clip tag has strange value of "tags" , which is
not one of the 4 literals in the documentation and not in def-attrs.
What shall we do ?



Sevilay
___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


The definition is in the transfer_data.cc file:

TransferData::TransferData()
{
  // adding fixed attr_items
  attr_items[L"lem"] = L"^(([^<]|\"\\<\")+)";
  attr_items[L"lemq"] = L"\\#[- _][^<]+";
  attr_items[L"lemh"] = L"^(([^<#]|\"\\<\"|\"\\#\")+)";
  attr_items[L"whole"] = L"(.+)";
  attr_items[L"tags"] = L"((<[^>]+>)+)";
  attr_items[L"chname"] = L"({([^/]+)\\/)"; // includes delimiters { and 
/ !!!

  attr_items[L"chcontent"] = L"(\\{.+)";
  attr_items[L"content"] = L"(\\{.+)";
}

  attr_items[L"tags"] = L"((<[^>]+>)+)";

Fran


___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff


[Apertium-stuff] part="tags"/

2019-02-24 Thread Sevilay Bayatlı
The part attribute in clip tag has strange value of "tags" , which is not
one of the 4 literals in the documentation and not in def-attrs. What shall
we do ?



Sevilay
___
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff