commited all contents created by participants

This commit is contained in:
Bachir Soussi Chiadmi
2017-12-21 18:12:40 +01:00
parent cefd1c2ad0
commit b936b1e616
2137 changed files with 1076319 additions and 730 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env python
# coding: utf8
# More options with Wordnet: http://www.nltk.org/howto/wordnet.html
from nltk.corpus import wordnet as wn
print([synset.lemma_names('fra') for synset in wn.synsets('chien', lang='fra')])
'''
[['canis_familiaris', 'chien'], ['aboyeur', 'chien', 'chienchien', 'clébard', 'toutou'], ['chien', 'chien_de_chasse'], ['chien'], ['chien', 'clic', 'cliquer', 'cliquet'], ['chien', 'franc', 'hot-dog'], ['achille', 'chien', 'quignon', 'talon'], ['chien'], ['chien']
'''