Giter VIP home page Giter VIP logo

Comments (2)

tyarkoni avatar tyarkoni commented on May 31, 2024

Hmm... good question. I guess my assumption would be that if you're trying to apply a text extractor to an AudioStim, you probably want to loop over extracted words. So we would want to pass a ComplexTextStim. The only issue with that is that is that ComplexTextStim doesn't actually inherit from TextStim. If it did, I think the LengthExtractor would work just fine, via the transformers.py logic you mention. Is there any downside to changing the inheritance to work that way? There might be a good reason why it's not set up that way, I don't remember...

from pliers.

tyarkoni avatar tyarkoni commented on May 31, 2024

Closing this since I think we already implement @qmac's option (2) above. It's not perfect, as it's not ideal to say the Converter returns a TextStim when it actually returns a ComplexTextStim, but I think we can live with this for now and revisit in future if it becomes a problem.

from pliers.

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.