Skip to main content

OVOS count to N skill

Project description

🧮 Count Skill

CountSkill is a simple skill for Open Voice OS (OVOS) that counts from 1 to any user-specified number — or even infinitely — speaking each number aloud. It supports both cardinal and ordinal formats and works offline thanks to ovos-number-parser.

💡 this skill was made with the purpose of testing the stop pipeline and showing how to use ovos-number-parser


🔧 Features

  • 📢 Speaks numbers up to a given limit or infinitely
  • 🔢 Supports cardinal (e.g., one, two) and ordinal (e.g., first, second) formats
  • 🌍 Multilingual support (depending on the configured language)
  • 📴 Fully offline capable — no internet required
  • 🛑 Responds to stop requests mid-count
  • 🧠 Intelligent number extraction from natural language

🗣 Example Utterances

These require matching *.intent files in your locale directory.

  • “Count to 10”
  • “Can you count to twenty-five?”
  • “Start counting”
  • “Count infinitely”
  • “Count to the 5th”

🧠 How It Works

  • Extracts a number from user utterance using ovos-number-parser.
  • Speaks each number up to the limit using pronounce_number.
  • Optionally switches between short/long scales and ordinal/cardinal formats.
  • Allows interrupting via stop or other cancel commands.

If the user requests infinite counting, the skill will count indefinitely until explicitly stopped.


🛑 Stopping the Skill

This skill implements can_stop() and stop_session() using OVOS session management. It can be interrupted with:

  • "Stop"
  • "That's enough"
  • "Cancel"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ovos-skill-count-0.0.2a3.tar.gz (48.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ovos_skill_count-0.0.2a3-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

Details for the file ovos-skill-count-0.0.2a3.tar.gz.

File metadata

  • Download URL: ovos-skill-count-0.0.2a3.tar.gz
  • Upload date:
  • Size: 48.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.23

File hashes

Hashes for ovos-skill-count-0.0.2a3.tar.gz
Algorithm Hash digest
SHA256 13e63f83849bcca4a862548cdd01ed19c7519345476f2f1cc2bf2dc3d8f7d2c0
MD5 85ed527e65a9f15e2230808efd5a2823
BLAKE2b-256 7bf797c2d1f0252b1e3368a5083cf93fb7419fb5aed4aaea80799a14dd78fef3

See more details on using hashes here.

File details

Details for the file ovos_skill_count-0.0.2a3-py3-none-any.whl.

File metadata

File hashes

Hashes for ovos_skill_count-0.0.2a3-py3-none-any.whl
Algorithm Hash digest
SHA256 1f74b0cb1a96838aabd6bfcace2b9377a876ad0852361dd9a053c266a9ed1d5f
MD5 bfc48bd0f8ca0cb3d8f55bcfaacd05a6
BLAKE2b-256 e69a564d5b044a184258767018199c46d08f468d8b21a793ef1f6409efa2aeaf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page