Giter Site home page Giter Site logo

contextractr's People

Contributors

strazto avatar

Watchers

 avatar

contextractr's Issues

Enhancement - Use optional per-entry function handler in order to define lookahead/lookback

This should be part of the suffix/prefix implementation.

The goal would be to allow users to supply a particular function handler for a given entry, such that users can customize the amount of characters/mechanism for lookahead and look back

eg, a lookahead function that says "count 4 instances of whitespace, and then take the string until that point", or a lookback function that says "look for anything until 'Past Medical History'",
etc

(Decide on the inputs and outputs later (Whether it takes strings, indices, etc, and what it returns)
(Indices might be a good choice for input since multiple occurences of the same keyword can be present)

Also need to decide how to serialize this - Probably best to use a scoped function name, or perhaps could allow for parsing of a function

Allow conversion from unnested csv to serialized.

Description

Presently, contextractr accepts serialized formats like json and yaml, as well as dataframes that are presented with the correct list-cols.

Allow an unnested dataframe to be given, s.t:

"title" has a 1:many relationship with "keywords" + "approx.match"
and "keywords" has 1:1 with "approx.match"

ie, a single val for title may span 1 or more rows, and for each of these, a unique value of "keyword" and corresponding (or missing) spec for approx is given.

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.