5 Commits

Author SHA1 Message Date
Ron Shakutai
7850688de9 Refactor: lazy initialization for device_detector singleton (#1831)
* Refactor: implement lazy initialization for device_detector instance

* Fix: improve device detection logic in device_detector and update TransformersRecognizer to use it

* doube lock added
2026-01-15 12:02:32 +02:00
Ranjan Singh
d85ba6e5a7 Typo fix added missing ":" after if condition (#1419) 2024-07-22 11:59:05 +03:00
Andreas Eberle
97a7e42b38 Fix the entity filtering of the transformer_recognizer.py analzye function (#1403) 2024-07-09 22:19:20 +03:00
Omri Mendels
dda4444fda Updates to the TransformersRecognizer sample (#1084) 2023-06-04 12:14:18 +03:00
melmatlis
2107f051c6 add revised example for transformer recognizer (#962)
* add revised example for transformer recognizer

* update documentation index to point to new example

* Update docs/samples/python/transformers_recognizer/transformer_recognizer.py

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>

* linting, docstrings, readibility

* externalize text splitting parameters

* document class input variables

* add documentaiton to the sample

* Update docs/samples/python/transformers_recognizer/transformer_recognizer.md

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>

* Update docs/samples/python/transformers_recognizer/transformer_recognizer.md

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>

* Update docs/samples/python/transformers_recognizer/transformer_recognizer.md

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>

* update documentation

Co-authored-by: Omri Mendels <omri374@users.noreply.github.com>
Co-authored-by: Sharon Hart <sharonh.dev@gmail.com>
2022-12-19 10:18:40 +02:00