diff --git a/requirements.txt b/requirements.txt index 6c30f35..274714b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ ovos-utils ovos-workshop -ovos-lingua_franca +ovos-number-parser>=0.0.1,<1.0.0 icepool diff --git a/skill.json b/skill.json index 7e25fa2..76f8fb4 100644 --- a/skill.json +++ b/skill.json @@ -22,7 +22,7 @@ "requirements": { "python": [ "icepool", - "ovos-lingua_franca", + "ovos-number-parser>=0.0.1,<1.0.0", "ovos-utils", "ovos-workshop" ], diff --git a/skill_randomness/__init__.py b/skill_randomness/__init__.py index 1a4faf2..5e6df4f 100644 --- a/skill_randomness/__init__.py +++ b/skill_randomness/__init__.py @@ -7,9 +7,10 @@ from ovos_bus_client.message import Message from ovos_workshop.decorators import intent_handler -from lingua_franca.parse import extract_number +from ovos_number_parser import extract_number from ovos_workshop.skills import OVOSSkill + class RandomnessSkill(OVOSSkill): """A skill for all kinds of chance - make a choice, roll a die, flip a coin, etc."""