GithubHelp home page GithubHelp logo

Comments (10)

antiboredom avatar antiboredom commented on August 16, 2024 2

Absolutely - there are a few dependencies that add extra functionality which require python2 but they aren't really essential...

from videogrep.

antiboredom avatar antiboredom commented on August 16, 2024 2

should work with python3 now - I've moved pattern.en to an optional requirement.

from videogrep.

talaikis avatar talaikis commented on August 16, 2024

I've just found this package when working on one project and as work only with Python 3, I probably can do it, will see tomorrow.

Tasks:

  • audiogrep
  • pattern (wouldn't do it, it requires a lot more work and code is really old, some modules from even Python 2.6, so probably some features wouldn't work)
  • videogrep

from videogrep.

Albertkaruna avatar Albertkaruna commented on August 16, 2024

My system as Python 3, So I can't install it, please anyone tell me how to install it.

from videogrep.

talaikis avatar talaikis commented on August 16, 2024

@Albertkaruna , my fork currently runs on Python 3.6, but it's not yet tested and also requires audiogrep and modified pattern (which most probably wouldn't work):

https://github.com/xenu256/videogrep
https://github.com/xenu256/audiogrep
https://github.com/xenu256/pattern

from videogrep.

antiboredom avatar antiboredom commented on August 16, 2024

@xenu256 does pattern officially support python3 at this point?

Also videogrep uses pattern for two search options: the hypernym and parts-of-speech search. I'm wondering how essential those are. Maybe the library shouldn't include pattern by default, and those search options become available only if you have pattern installed. Thoughts?

from videogrep.

talaikis avatar talaikis commented on August 16, 2024

Doesn't work, it has 1M lines of code and uses sgmllib, which is removed from Python base, everything should be rewritten in lxml I suppose. Probably that just one of problems. I only managed to install it, but, of course, when calling respective functions pattern would fail. Their issue page talks about Beautiful Soup, which also can be used to solve the problem. Probably even easier can be just use NLTK (or just wait for pattern3), but I didn't dig into it much.

P.S. Textblob as I know has integrated WordNet and works under Py3:
http://stevenloria.com/tutorial-wordnet-textblob/

from videogrep.

talaikis avatar talaikis commented on August 16, 2024

I have decided to port it to nltk, dropping pattern altogether.

what is re_search here? should be re.search?

possible_words = re_search(text, pos)

from videogrep.

talaikis avatar talaikis commented on August 16, 2024

Never mind, found it, it is just not imported.

from videogrep.

keikoro avatar keikoro commented on August 16, 2024

Hi there, I've read through all comments in here but... still am not any wiser wrt the status of this/the original question.

from videogrep.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.