Giter Club home page Giter Club logo

rookit-parser's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar jpdsousa avatar

Watchers

 avatar  avatar

rookit-parser's Issues

Attach score from Track Format

When a STAB is created through a format parser, its score should be affected by the track format's score.
Notes:

  • Make sure that scores are added and not overwritten

Store track formats hits

Description

When a track is parsed with a certain format, store such information in the database, in the form of:
{value: String, occurrences: Integer}

  • value: the format's string value;
  • occurrences: the number of times the format has been picked for parsing

Score

Similar to the field, formats affect the parsing score, based on the number of occurrences.

Make Default Artist Key Configurable

In format parser (AbstractArtistField), a default key is hardcoded as a base key to be used when creating artists from field values.

The problem is that we can only extract the artist name from the field value, whereas there are more required values that cannot be inferred at this stage. This leads to the ArtistKey being "filled" with incorrect values, which goes against the idea of having those fields required.

The only approach here (AFAIK) is to give as much power to the user as we can:

  • Let the user define if a default key will be used. If not, the artist inference will always fail, as long as we do not implement a fallback mechanism;
  • Let the user define the default values for each key.

Both options will be defined through a Config-based type. Also, note that this is not a muttex situation, as we can perfectly combine both options.

Multiparser support for ParserPipeLine

Create an insertMultiparser() method that receives a multiparser an returns a parser pipeline which output is a list of the current output (might need to creat an additional interface MultiParserPipeline.

Optimize parser performance

Use Thread pools to split multi parsers, allowing for concurrent parsing.

Food for Through

  • Consider changing the return collection to another more "concurrently-suitable" collection (e.g. queue): SO

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.