antiboredom / videogrep

automatic video supercuts with python
https://antiboredom.github.io/videogrep
Other
3.34k stars 257 forks source link

Multiple search terms and whole word search #30

Closed d8sconz closed 2 years ago

d8sconz commented 10 years ago

Now takes multiple search expressions and words, delimited by commas. For example search: videogrep.py --input "E:\Movies\Pulp Fiction\Pulp_Fiction.mp4" --search "hello,hi,how are you,howdy". Also short expressions such as 'Hi' can be searched for without returning words like 'tHIs' or 'sHIt' etc.

Zulko commented 10 years ago

What if we want to look for an expression containing a comma ?

d8sconz commented 10 years ago

Sure. Or colons or full stops or... I couldn't decide (don't know) of a standard delimiter. For now I just wanted to get the process running so I could use it. The main issue I was attending to was getting results for a search such as "hi" that only included the word "hi" and not other words that contain that letter sequence. Also the hypernym search option may do what I want (search for 'greetings' say), but I haven't managed to get any results with that yet.

On 7 August 2014 16:31, Zulko notifications@github.com wrote:

What if we want to look for an expression containing a comma ?

— Reply to this email directly or view it on GitHub https://github.com/antiboredom/videogrep/pull/30#issuecomment-51450108.