<div dir="ltr">Hi Steve.<div><br></div><div>Thank you for your answer. </div><div>I'll write some code to convert my KSW data to FSW and after I will use your site to convert to SWU.</div><div>After your answer, I went to my data file and found some SignTexts wrote in a different format.</div><div>I.e.: AS10041S10049S20600M18x23S10041n3xn7S10049n17xn7S20600n11xn23</div><div>I'm wondering how to convert this SignText to FSW because I can't see the same pattern at the beginning of this SignText like the one you converted as an example.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Em ter, 21 de mai de 2019 às 11:09, Stephen Slevinski <<a href="mailto:slevin@signpuddle.net">slevin@signpuddle.net</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
On 5/20/19 4:41 PM, Marcos Aurélio Hermogenes Boriola wrote:<br>
<blockquote type="cite">
<div dir="ltr">I'm currently working with this kind of SignText:
<div>i.e.: M19x16S203404xn16S22a044x1S2fb04n18x8
M22x38S15a52n5xn3S26600n1xn38S15a5an21x26S20500n4x13
S38700n37xn4 M21x30S15a02n6xn29S2fb04n20x24S22b042xn13
S38700n37xn4 M18x24S17620n17xn8S115003xn23S26506n7x10
M25x29S14c51n20xn29S27103n2x3S2fc04n25x5
M24x31S14c28n9x0S10013n8xn18S2880a2xn30S20e00n24xn2
M12x28S14c28n11xn13S22510n10xn28S2f900n5x23 S38800n36xn4
M17x23S100502xn22S10058n16xn22S20600n10x12
M33x15S1c518n32xn14S1c5103xn14S20600n11x4 S38800n36xn4</div>
<div><br>
</div>
<div>I thought it was SWU, correct me if I'm wrong.</div>
<div>But if this isn't SWU, could you help to convert or get the
SWU from my current SignText?</div>
<div>Even because I'm building a translation tool so I think it
would be better if it works with the new format of SignText.</div>
</div>
</blockquote>
<br>
You are using an older format than Formal SignWriting in ASCII
(FSW). It is the same except for the coordinate range. To update
to FSW, you need to adjust the coordinates. Symbol keys are 6
characters long. Coordinates are separated by the letter "x" and
"n" means negative. The format is called Kartesian SignWriting
(KSW). The irregular spelling because of the irregular coordinates.<br>
<br>
The first sign is M19x16S203404xn16S22a044x1S2fb04n18x8<br>
<br>
We can break this apart as:<br>
M 19x16 S20340 4xn16 S22a04 4x1 S2fb04 n18x8<br>
<br>
M (19,16) S20340 (4,-16) S22a04 (4,1) S2fb04 (-18,8)<br>
<br>
This older format is based on the center of a sign as the coordinate
(0,0). For FSW, the center was changed to be (500,500). This makes
the data more regular and easier to parse. So the sign becomes:<br>
<br>
M (519,516) S20340 (504,484) S22a04 (504,501) S2fb04 (482,508)<br>
<br>
M519x516S20340504x484S22a04504x501S2fb04482x508<br>
<br>
Formal SignWriting in ASCII (FSW) is easy to parse, but it looks
like data rather than anything related to sign.<br>
<a class="gmail-m_-5867357780829013491moz-txt-link-freetext" href="https://SteveSlevinski.me/#standard2012" target="_blank">https://SteveSlevinski.me/#standard2012</a><br>
<br>
SignWriting in Unicode (SWU) is the latest standard. It looks more
like sign language than data. To view, it requires the Sutton
SignWriting One D font. It will be compatible with the Sutton
SignWriting Two D font once it is available.<br>
<a class="gmail-m_-5867357780829013491moz-txt-link-freetext" href="https://SteveSlevinski.me/#standard2017" target="_blank">https://SteveSlevinski.me/#standard2017</a><br>
<br>
The first sign encoded in SWU looks like the image below. It
contains the same information as FSW, but it is easier to read.<br>
<img src="cid:16adbb25e762d2a281f1" alt=""><br>
<br>
If you have the Sutton SignWriting One D font installed, the string
below will look like the image above.<br>
<font size="+3" face="SuttonSignWritingOneD">𝠃𝤙𝤖𝤊𝣶𝤊𝤇𝣴𝤎</font><br>
<br>
As for conversion, if you can use PHP, the PersonalPuddle has the
functions you need. In the file msw.php, the functions you need are
ksw2fsw and fsw2swu.<br>
<br>
For the conversion of FSW to SWU, you can convert online a few
different places. First on one of my demo sites. Paste in your FSW
and press the "Set SWU" button.<br>
<a class="gmail-m_-5867357780829013491moz-txt-link-freetext" href="https://SteveSlevinski.me/demo/fsw.html" target="_blank">https://SteveSlevinski.me/demo/fsw.html</a><br>
<br>
Additionally, for JavaScript, there is the Sutton SignWriting
project. To use it online, paste in your text and look at the
ssw.fsw2swu function results. This project is available for
download.<br>
<a class="gmail-m_-5867357780829013491moz-txt-link-freetext" href="https://slevinski.github.io/SuttonSignWriting/components/js.html" target="_blank">https://slevinski.github.io/SuttonSignWriting/components/js.html</a><br>
<br>
Good luck,<br>
-Steve<br>
<blockquote type="cite">
<div dir="ltr">
<div>Thanks in advance.</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">Em seg, 20 de mai de 2019 às
17:50, Stephen Slevinski <<a href="mailto:slevin@signpuddle.net" target="_blank">slevin@signpuddle.net</a>>
escreveu:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On
5/20/19 11:48 AM, Marcos Aurélio Hermogenes Boriola wrote:<br>
> After that, I went deeper on SignPuddle website and found
my answer.<br>
> I accessed the Brazillian Literature after I went to the
Export option <br>
> and Downloaded the Entire Puddle on the SignPuddle Markup
Language part.<br>
> I need this file because I'll use the Sign Text and the
Portuguese <br>
> Text too.<br>
><br>
Hi Marcos Aurélio Hermogenes Boriola,<br>
<br>
I'm glad you found what you need. The SignText in the SPML
file is <br>
encoded with Formal SignWriting in ASCII (FSW). If you would
like the <br>
text encoded in SignWriting in Unicode (SWU), I can help with
that, just <br>
let me know.<br>
<br>
Regards,<br>
-Steve<br>
<a href="https://SteveSevinski.me" rel="noreferrer" target="_blank">https://SteveSevinski.me</a><br>
<br>
________________________________________________<br>
<br>
<br>
SIGNWRITING LIST INFORMATION<br>
<br>
Valerie Sutton<br>
SignWriting List moderator<br>
<a href="mailto:sutton@signwriting.org" target="_blank">sutton@signwriting.org</a><br>
<br>
Post Messages to the SignWriting List:<br>
<a href="mailto:sw-l@listserv.valenciacollege.edu" target="_blank">sw-l@listserv.valenciacollege.edu</a><br>
<br>
SignWriting List Archives & Home Page<br>
<a href="http://www.signwriting.org/forums/swlist" rel="noreferrer" target="_blank">http://www.signwriting.org/forums/swlist</a><br>
<br>
Join, Leave or Change How You Receive SW List Messages<br>
<a href="http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1" rel="noreferrer" target="_blank">http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1</a><br>
</blockquote>
</div>
________________________________________________
<p>
</p>
<p>
SIGNWRITING LIST INFORMATION
</p>
<p>
Valerie Sutton
SignWriting List moderator
<a href="mailto:sutton@signwriting.org" target="_blank">sutton@signwriting.org</a>
</p>
<p>
Post Messages to the SignWriting List:
<a href="mailto:sw-l@listserv.valenciacollege.edu" target="_blank">sw-l@listserv.valenciacollege.edu</a>
</p>
<p>
SignWriting List Archives & Home Page
<a href="http://www.signwriting.org/forums/swlist" target="_blank">http://www.signwriting.org/forums/swlist</a>
</p>
<p>
Join, Leave or Change How You Receive SW List Messages
<a href="http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1" target="_blank">http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1</a>
</p>
</blockquote>
<br>
</div>
________________________________________________
<p>
</p><p>
SIGNWRITING LIST INFORMATION
</p><p>
Valerie Sutton
SignWriting List moderator
<a href="mailto:sutton@signwriting.org" target="_blank">sutton@signwriting.org</a>
</p><p>
Post Messages to the SignWriting List:
<a href="mailto:sw-l@listserv.valenciacollege.edu" target="_blank">sw-l@listserv.valenciacollege.edu</a>
</p><p>
SignWriting List Archives & Home Page
<a href="http://www.signwriting.org/forums/swlist" target="_blank">http://www.signwriting.org/forums/swlist</a>
</p><p>
Join, Leave or Change How You Receive SW List Messages
<a href="http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1" target="_blank">http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1</a>
</p></blockquote></div>
________________________________________________
<p>
</p><p>
SIGNWRITING LIST INFORMATION
</p><p>
Valerie Sutton
SignWriting List moderator
<a href="mailto:sutton@signwriting.org">sutton@signwriting.org</a>
</p><p>
Post Messages to the SignWriting List:
<a href="mailto:sw-l@listserv.valenciacollege.edu">sw-l@listserv.valenciacollege.edu</a>
</p><p>
SignWriting List Archives & Home Page
<a href="http://www.signwriting.org/forums/swlist" target="_blank">http://www.signwriting.org/forums/swlist</a>
</p><p>
Join, Leave or Change How You Receive SW List Messages
<a href="http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1" target="_blank">http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1</a>