File | Date | Author | Commit |
---|---|---|---|
config | 2022-11-16 |
![]() |
[054512] Initial commit |
launch | 2022-11-16 |
![]() |
[054512] Initial commit |
src | 2022-11-16 |
![]() |
[054512] Initial commit |
srv | 2022-11-16 |
![]() |
[054512] Initial commit |
CMakeLists.txt | 2022-11-16 |
![]() |
[054512] Initial commit |
COPYING | 2022-11-16 |
![]() |
[054512] Initial commit |
README.md | 2022-11-16 |
![]() |
[054512] Initial commit |
package.xml | 2022-11-16 |
![]() |
[054512] Initial commit |
grammalecte4ros
A minimalist Grammalecte wrapper for ROS
Grammalecte is an open source spell and grammar checker, coded in Python, supporting for now French and Occitan.
It is used here in a non-interactive way; for each detected error, the first correction suggestion is blindly accepted.
The idea could be to use this in conjunction with a speech-to-text or a chatbot, in an attempt to possibly slimly improve the quality of the interactions... maybe...
This ros node has been tested with Grammalecte 2.1.2.
sudo apt-get install python3-grammalecte
sudo apt-get install grammalecte-cli
$ mkdip -p ~/catkin_ws/src
$ cd ~/catkin_ws
$ catkin_make
$ git clone https://git.code.sf.net/p/grammalecte4ros/code src/grammalecte4ros
$ . devel/setup.bash
$ catkin_make
$ . devel/setup.bash
$ roscore &
$ rosrun grammalecte4ros grammalecte_node &
$ rosservice call /grammalecte/correct 'input: "Dès que le vent soufflera, je repartira."'