Skip to content

Commit

Permalink
Use pandoc to create test docs
Browse files Browse the repository at this point in the history
  • Loading branch information
catusf committed Jan 3, 2023
1 parent 77678d8 commit 42d09f9
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 44 deletions.
1 change: 1 addition & 0 deletions TODO.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- [ ] Update to an up-to-date Ubuntu distro when Wine is updated (error on Ubuntu v20 and 22)
- [ ] Copy back star_hanviet.tab and star_vietnhat.tab to dict files in ext-stardict-vi
- [ ] Handle error code from script and exit (subprocess.call/run) so error stop remaining steps
- [ ] Make use of CMake
- [X] Check if dictionaries have inflections
- [X] Add inflections files for different languages https://stackoverflow.com/questions/51097463/snowball-stemmer-poor-french-stemming
- [x] Add inflections for comparatives
Expand Down
2 changes: 1 addition & 1 deletion bin/install_linux_packages.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

sudo apt-get update &&
sudo apt-get install dictzip systemd markdown &&
sudo apt-get install dictzip systemd pandoc &&
sudo apt install ruby-full &&
ruby -v &&
#sudo gem install bundler &&
Expand Down
1 change: 1 addition & 0 deletions tests/make_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pandoc -s -o ./tests/tests-inflection.docx ./tests/tests-inflection.md
Binary file added tests/tests-inflection.docx
Binary file not shown.
43 changes: 0 additions & 43 deletions tests/tests-inflection.html

This file was deleted.

2 changes: 2 additions & 0 deletions tests/tests-inflection.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

## English
think thinks - thought - thinking

thought think - thoughts - thinks - thinking

love loves - loved - loving

## French
Expand Down

0 comments on commit 42d09f9

Please sign in to comment.