Is your feature request related to a problem? Please describe.
Winbliss .wbs files contain a specification of a Bliss symbol and metadata for that symbol as a single string using characters such as & and # to separate fields as well as marker strings, e.g. ##0#4*. An example of the Bliss symbol for "accessibility" is:
25002$accessibility,access$YELLOW$SWE$H#2#1#0#0#10#27#11##0#4*&W#2#2#0#2#10#29#11##0#4*&F#1#2#0#6#10#27#11##0#4*&W#4#2#0#10#8#31#9##0#4*%£
This is an opaque and non-standard way to represent information. A JSON version is a better representation.
Describe the solution you'd like
The utility reads the wbs string, parses it, and converts it to a JSON structure. The fields are the symbol's identifier, its gloss, the colour used to designate the part of speech, the country of origin, and an array of shape specifiers including their position on the Bliss grid. For example:
{
"identifier": "25002",
"gloss": "accessibility,access",
"pos_colour": "YELLOW",
"country": "SWE",
"shapes": [
{
"code": "H-2-1",
"x": "0",
"y": "10",
"letter": ""
},
{
"code": "W-2-2",
"x": "2",
"y": "10",
"letter": ""
},
{
"code": "F-1-2",
"x": "6",
"y": "10",
"letter": ""
},
{
"code": "W-4-2",
"x": "10",
"y": "8",
"letter": ""
}
]
}
Is your feature request related to a problem? Please describe.
Winbliss
.wbsfiles contain a specification of a Bliss symbol and metadata for that symbol as a single string using characters such as&and#to separate fields as well as marker strings, e.g.##0#4*. An example of the Bliss symbol for "accessibility" is:This is an opaque and non-standard way to represent information. A JSON version is a better representation.
Describe the solution you'd like
The utility reads the wbs string, parses it, and converts it to a JSON structure. The fields are the symbol's identifier, its gloss, the colour used to designate the part of speech, the country of origin, and an array of shape specifiers including their position on the Bliss grid. For example: