User:Manetta/scripts/videogrep-wordnet-2001
Videogrep - Hypernyms search
videogrep command
import os
x = "python ./videogrep/videogrep.py --input inputfilename.mp4 --search 'HYPERNYM' --search-type hyper --output export/outputfilename.mp4"
print x
os.system(x)
WordNet list from Pattern
from pattern.en import wordnet
i=1
for i in range (1,10):
s = wordnet.synsets('HYPERNYM')[i]
print 'Definition:', s.gloss, '\n'
print ' Synonyms:', s.synonyms, '\n'
print ' Hypernyms:', s.hypernyms(), '\n'
print ' Hyponyms:', s.hyponyms(), '\n'
print ' Holonyms:', s.holonyms(), '\n'
print ' Meronyms:', s.meronyms(), '\n'
i=i+1
hypernym : emotion
Definition: any strong feeling
Synonyms: [u'emotion']
Hypernyms: [Synset(u'feeling')]
Hyponyms: [Synset(u'conditioned emotional response'), Synset(u'anger'), Synset(u'fear'), Synset(u'fear'),
Synset(u'anxiety'), Synset(u'joy'), Synset(u'love'), Synset(u'hate'), Synset(u'emotional state')]
Holonyms: []
Meronyms: []
hypernym: machine
Definition: any mechanical or electrical device that transmits or modifies energy
to perform or assist in the performance of human tasks
Synonyms: [u'machine']
Hypernyms: [Synset(u'device')]
Hyponyms: [Synset(u'assembly'), Synset(u'bagger'), Synset(u'calculator'), Synset(u'calender'), Synset(u'cash machine'),
Synset(u'comber'), Synset(u'computer'), Synset(u'concrete mixer'), Synset(u'corker'), Synset(u'cotton gin'),
Synset(u'decoder'), Synset(u'farm machine'), Synset(u'franking machine'), Synset(u'hop-picker'), Synset(u'machinery'),
Synset(u'machine tool'), Synset(u'milking machine'), Synset(u'motor'), Synset(u'pavior'), Synset(u'perpetual motion machine'),
Synset(u'pile driver'), Synset(u'power shovel'), Synset(u'power tool'), Synset(u'press'), Synset(u'press'),
Synset(u'printer'), Synset(u'record player'), Synset(u'riveting machine'), Synset(u'self-feeder'),
Synset(u'simulator'), Synset(u'slicer'), Synset(u'slot machine'), Synset(u'snow thrower'), Synset(u'sorter'),
Synset(u'stamp'), Synset(u'staple gun'), Synset(u'stapler'), Synset(u'textile machine'),
Synset(u'time machine'), Synset(u'trimmer'), Synset(u'workhorse'), Synset(u'Zamboni')]
Holonyms: []
Meronyms: []
Definition: an efficient person; "the boxer was a magnificent fighting machine"
Synonyms: [u'machine']
Hypernyms: [Synset(u'person')]
Hyponyms: [Synset(u'cyborg')]
Holonyms: []
Meronyms: []
Definition: an intricate organization that accomplishes its goals efficiently; "the war machine"
Synonyms: [u'machine']
Hypernyms: [Synset(u'organization')]
Hyponyms: []
Holonyms: []
Meronyms: []
Definition: a device for overcoming resistance at one point by applying force at some other point
Synonyms: [u'machine', u'simple machine']
Hypernyms: [Synset(u'mechanical device')]
Hyponyms: [Synset(u'inclined plane'), Synset(u'lever'), Synset(u'pulley'), Synset(u'wheel')]
Holonyms: []
Meronyms: []
Definition: a group that controls the activities of a political party; "he was endorsed by the Democratic machine"
Synonyms: [u'machine', u'political machine']
Hypernyms: [Synset(u'organization')]
Hyponyms: []
Holonyms: []
Meronyms: []
Definition: a motor vehicle with four wheels; usually propelled by an internal combustion engine; "he needs a car to get to work"
Synonyms: [u'car', u'auto', u'automobile', u'machine', u'motorcar']
Hypernyms: [Synset(u'motor vehicle')]
Hyponyms: [Synset(u'ambulance'), Synset(u'beach wagon'), Synset(u'bus'), Synset(u'cab'), Synset(u'compact'),
Synset(u'convertible'), Synset(u'coupe'), Synset(u'cruiser'), Synset(u'electric'), Synset(u'gas guzzler'),
Synset(u'hardtop'), Synset(u'hatchback'), Synset(u'horseless carriage'), Synset(u'hot rod'), Synset(u'jeep'),
Synset(u'limousine'), Synset(u'loaner'), Synset(u'minicar'), Synset(u'minivan'), Synset(u'Model T'),
Synset(u'pace car'), Synset(u'racer'), Synset(u'roadster'), Synset(u'sedan'), Synset(u'sports car'),
Synset(u'sport utility'), Synset(u'Stanley Steamer'), Synset(u'stock car'), Synset(u'subcompact'), Synset(u'touring car'),
Synset(u'used-car')]
Holonyms: []
Meronyms: [Synset(u'accelerator'), Synset(u'air bag'), Synset(u'auto accessory'), Synset(u'automobile engine'),
Synset(u'automobile horn'), Synset(u'buffer'), Synset(u'bumper'), Synset(u'car door'), Synset(u'car mirror'), Synset(u'car seat'),
Synset(u'car window'), Synset(u'fender'), Synset(u'first gear'), Synset(u'floorboard'), Synset(u'gasoline engine'),
Synset(u'glove compartment'), Synset(u'grille'), Synset(u'high gear'), Synset(u'hood'), Synset(u'luggage compartment'),
Synset(u'rear window'), Synset(u'reverse'), Synset(u'roof'), Synset(u'running board'), Synset(u'stabilizer bar'),
Synset(u'sunroof'), Synset(u'tail fin'), Synset(u'third gear'), Synset(u'window')]
hypernym: communication
Definition: the activity of communicating; the activity of conveying information;
"they could not act without official communication from Moscow"
Synonyms: [u'communication', u'communicating']
Hypernyms: [Synset(u'act')]
Hyponyms: [Synset(u'transmission'), Synset(u'intercommunication'), Synset(u'medium'), Synset(u'channel'),
Synset(u'mail'), Synset(u'dramaturgy'), Synset(u'discussion'), Synset(u'exhortation'),
Synset(u'expression'), Synset(u'examination'), Synset(u'persuasion'), Synset(u'dissuasion'), Synset(u'expostulation'),
Synset(u'contact'), Synset(u'traffic')]
Holonyms: []
Meronyms: []
Definition: something that is communicated by or to or between people or groups
Synonyms: [u'communication']
Hypernyms: [Synset(u'abstraction')]
Hyponyms: [Synset(u'publication'), Synset(u'message'), Synset(u'contagion'), Synset(u'language'), Synset(u'written communication'),
Synset(u'message'), Synset(u'didacticism'), Synset(u'signal'), Synset(u'sign'),
Synset(u'indication'), Synset(u'visual communication'), Synset(u'display'), Synset(u'expressive style'), Synset(u'paralanguage'),
Synset(u'auditory communication'), Synset(u'voice'), Synset(u'psychic communication'), Synset(u'voice'),
Synset(u'document')]
Holonyms: []
Meronyms: []
Definition: a connection allowing access between persons or places;
"how many lines of communication can there be among four people?";
"a secret passageway provided communication between the two rooms"
Synonyms: [u'communication']
Hypernyms: [Synset(u'connection')]
Hyponyms: []
Holonyms: []
Meronyms: []