Compare commits
No commits in common. "rawhide" and "f40" have entirely different histories.
6 changed files with 0 additions and 37 deletions
|
|
@ -1 +0,0 @@
|
|||
1
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
require:
|
||||
- python3-enchant
|
||||
- hunspell-it
|
||||
test: python3 test_dic_availability.py
|
||||
framework: shell
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import enchant
|
||||
|
||||
lang = "it_IT"
|
||||
try:
|
||||
dic = enchant.request_dict(lang)
|
||||
print("Dictionary for {0} language is available for use".format(lang))
|
||||
except enchant.errors.DictNotFoundError:
|
||||
print("Dictionary is not installed for use")
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
require:
|
||||
- python3-enchant
|
||||
- hunspell-it
|
||||
test: python3 test_suggest_words.py
|
||||
framework: shell
|
||||
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import enchant
|
||||
|
||||
wdlst = [ "ciao", "tè", "mattina"]
|
||||
dic = enchant.Dict("it_IT")
|
||||
for wd in wdlst:
|
||||
dic.check(wd)
|
||||
print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue