Skip to content

Commit c60014c

Browse files
committed
version 2
1 parent 85b5863 commit c60014c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2249
-801
lines changed

CHANGELOG.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,17 @@ Evaluation report: https://www.skypack.dev/view/@sutton-signwriting/core
99
## [Unreleased]
1010
### Todo
1111
- update parse for style string that drops empty style of '-'
12-
- clean up generated regular expressions for consistency
1312
- copy QuerySignbox types for QueryPrefix
1413
- investigate why types: core.d.ts in package.json causes problems and how to fix
1514

15+
## [2.0.0] - 2024-11-29
16+
### Added
17+
- SignWriting null support with FSW and SWU for regular expressions, processing, and conversion
18+
- Tokenizer and encoding for machine learning
19+
20+
### Fixed
21+
- security issues
22+
1623
## [1.6.0] - 2023-10-29
1724
### Added
1825
- symbol id array and functions
@@ -149,7 +156,8 @@ correct module and function names
149156
- documentation
150157

151158

152-
[Unreleased]: https://github.com/sutton-signwriting/core/compare/v1.6.0...HEAD
159+
[Unreleased]: https://github.com/sutton-signwriting/core/compare/v2.0.0...HEAD
160+
[2.0.0]: https://github.com/sutton-signwriting/core/releases/tag/v2.0.0
153161
[1.6.0]: https://github.com/sutton-signwriting/core/releases/tag/v1.6.0
154162
[1.5.11]: https://github.com/sutton-signwriting/core/releases/tag/v1.5.11
155163
[1.5.10]: https://github.com/sutton-signwriting/core/releases/tag/v1.5.10

Core.jpg

-304 KB
Loading

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,29 @@
44
[![version](https://img.shields.io/npm/v/@sutton-signwriting/core)](https://www.npmjs.com/package/@sutton-signwriting/core)
55
[![npm downloads](https://img.shields.io/npm/dm/@sutton-signwriting/core)](https://npm-stat.com/charts.html?package=@sutton-signwriting/core&from=2019-10-31)
66

7+
78
![Core Package Mindmap](./Core.jpg)
89

910
@sutton-signwriting/core is a javascript package for node and browsers that supports general processing of SignWriting text.
1011

1112
This package supports both Formal SignWriting in ASCII (FSW) and SignWriting in Unicode (SWU) character sets, along with the associated query languages and style string. See [draft-slevinski-formal-signwriting](https://tools.ietf.org/id/draft-slevinski-formal-signwriting-09.html) for detailed specification.
1213

14+
Version 2 of the core library adds support for the SignWriting Null character as S00000 in Formal SignWriting in ASCII (FSW) and U+40000 in SignWriting in Unicode (SWU). The SignWriting Null character is allowed in the temporal prefix used for sorting, but the SignWriting Null character is not allowed in the two-dimensional arrangement of symbols. The fonts do not provide a glyph for the SignWriting Null character yet. You can use Ø, alt-0216, U+00D8 as a visualization of the SignWriting Null character.
15+
16+
Version 2 of the core library also provides a tokenizer for FSW to be used for machine learning researchers & developers. The default tokenizer follows patterns similar to those used in NLP with special tokens ([CLS], [SEP], [PAD], [UNK]). It enables converting SignWriting into numerical representations suitable for machine learning models.
17+
18+
Use Cases:
19+
- Sign language recognition systems
20+
- Sign language generation
21+
- Sign language translation models
22+
23+
Key Features:
24+
- Flexible tokenization options (sequence/signbox flags)
25+
- Bidirectional conversion (FSW ↔ tokens)
26+
- Handles complex features (symbols, coordinates, and structures)
27+
- Well-documented code
28+
- Modular design allows for different use cases
29+
1330
> Author: https://SteveSlevinski.me
1431
> Channel: https://www.youtube.com/channel/UCXu4AXlG0rXFtk_5SzumDow
1532
> Support: https://www.patreon.com/signwriting

docs/Core.jpg

-304 KB
Loading

0 commit comments

Comments
 (0)