Print

Print


On 5/20/19 4:41 PM, Marcos Aurélio Hermogenes Boriola wrote:
> I'm currently working with this kind of SignText:
> i.e.: M19x16S203404xn16S22a044x1S2fb04n18x8 
> M22x38S15a52n5xn3S26600n1xn38S15a5an21x26S20500n4x13 S38700n37xn4 
> M21x30S15a02n6xn29S2fb04n20x24S22b042xn13 S38700n37xn4 
> M18x24S17620n17xn8S115003xn23S26506n7x10 
> M25x29S14c51n20xn29S27103n2x3S2fc04n25x5 
> M24x31S14c28n9x0S10013n8xn18S2880a2xn30S20e00n24xn2 
> M12x28S14c28n11xn13S22510n10xn28S2f900n5x23 S38800n36xn4 
> M17x23S100502xn22S10058n16xn22S20600n10x12 
> M33x15S1c518n32xn14S1c5103xn14S20600n11x4 S38800n36xn4
>
> I thought it was SWU, correct me if I'm wrong.
> But if this isn't SWU, could you help to convert or get the SWU from 
> my current SignText?
> Even because I'm building a translation tool so I think it would be 
> better if it works with the new format of SignText.

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.

The first sign is M19x16S203404xn16S22a044x1S2fb04n18x8

We can break this apart as:
M 19x16 S20340 4xn16 S22a04 4x1 S2fb04 n18x8

M (19,16) S20340 (4,-16) S22a04 (4,1) S2fb04 (-18,8)

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:

M (519,516) S20340 (504,484) S22a04 (504,501) S2fb04 (482,508)

M519x516S20340504x484S22a04504x501S2fb04482x508

Formal SignWriting in ASCII (FSW) is easy to parse, but it looks like 
data rather than anything related to sign.
https://SteveSlevinski.me/#standard2012

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.
https://SteveSlevinski.me/#standard2017

The first sign encoded in SWU looks like the image below.  It contains 
the same information as FSW, but it is easier to read.


If you have the Sutton SignWriting One D font installed, the string 
below will look like the image above.
𝠃𝤙𝤖񆅡𝤊𝣶񆿅𝤊𝤇񋸥𝣴𝤎

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.

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.
https://SteveSlevinski.me/demo/fsw.html

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.
https://slevinski.github.io/SuttonSignWriting/components/js.html

Good luck,
-Steve
> Thanks in advance.
>
> Em seg, 20 de mai de 2019 às 17:50, Stephen Slevinski 
> <[log in to unmask] <mailto:[log in to unmask]>> escreveu:
>
>     On 5/20/19 11:48 AM, Marcos Aurélio Hermogenes Boriola wrote:
>     > After that, I went deeper on SignPuddle website and found my answer.
>     > I accessed the Brazillian Literature after I went to the Export
>     option
>     > and Downloaded the Entire Puddle on the SignPuddle Markup
>     Language part.
>     > I need this file because I'll use the Sign Text and the Portuguese
>     > Text too.
>     >
>     Hi Marcos Aurélio Hermogenes Boriola,
>
>     I'm glad you found what you need.  The SignText in the SPML file is
>     encoded with Formal SignWriting in ASCII (FSW).  If you would like
>     the
>     text encoded in SignWriting in Unicode (SWU), I can help with
>     that, just
>     let me know.
>
>     Regards,
>     -Steve
>     https://SteveSevinski.me
>
>     ________________________________________________
>
>
>     SIGNWRITING LIST INFORMATION
>
>     Valerie Sutton
>     SignWriting List moderator
>     [log in to unmask] <mailto:[log in to unmask]>
>
>     Post Messages to the SignWriting List:
>     [log in to unmask]
>     <mailto:[log in to unmask]>
>
>     SignWriting List Archives & Home Page
>     http://www.signwriting.org/forums/swlist
>
>     Join, Leave or Change How You Receive SW List Messages
>     http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1
>
> ________________________________________________
>
> SIGNWRITING LIST INFORMATION
>
> Valerie Sutton SignWriting List moderator [log in to unmask] 
> <mailto:[log in to unmask]>
>
> Post Messages to the SignWriting List: 
> [log in to unmask] 
> <mailto:[log in to unmask]>
>
> SignWriting List Archives & Home Page 
> http://www.signwriting.org/forums/swlist
>
> Join, Leave or Change How You Receive SW List Messages 
> http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1
>


________________________________________________


SIGNWRITING LIST INFORMATION

Valerie Sutton
SignWriting List moderator
[log in to unmask]

Post Messages to the SignWriting List:
[log in to unmask]

SignWriting List Archives & Home Page
http://www.signwriting.org/forums/swlist

Join, Leave or Change How You Receive SW List Messages
http://listserv.valenciacollege.edu/cgi-bin/wa?SUBED1=SW-L&A=1