GithubHelp home page GithubHelp logo

documiner's People

Contributors

antoncsalvador avatar awhigham9 avatar conpan17 avatar fennec2000gh avatar patrick-lapid avatar sdlevydavis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

documiner's Issues

Multi-Word Expression Tokenization

Description

Enable rule-based tokenization that regroups neighboring tokenized terms that logically belong together under the same entities. Think compound words or full names.

Objectives

  1. Edit tokenization functions to allow a variable number of parameters to allow for specific rules and exceptions during tokenization.

Database Setup

Description

Connect to MongoDB with a Python API and test CRUD operations for a single document with a text field.

Objectives

  1. Study the fundamentals of a Python API for MongoDB. PyMongo is recommended.
  2. Successfully connect to a live session.
  3. Insert, read, update, and delete a single document with a text field to test functionality of database.

Frontend UI

Description

Create basic frontend UI with widgets for file upload.

Objectives

  • pip install streamlit
  • Add title for project with a logo.
  • Add file upload widget with label. Allowed extensions are currently .txt, doc, docx, pdf.
  • Add button for wiki creation.

Objectivity-Subjectivity Scale

Description

Compute scores for how objective or subjective a piece of text is. The sign indicates which direction the text leans. For example, a positive score could mean the text is more likely to be verifiable fact than opinion. The magnitude just indicates the degree of being objective or subjective.

Objectives

  1. Use a library with such functionality e.g. TextBlob. This feature is usually part of sentiment analysis libraries.
  2. Write functions that allow objective-subjective scoring on the sentence, paragraph, and whole document level.

Read in text with basic formats

Description

Write helper functions that would read in text from easily readable formats.

Objectives

  1. Read in single and multiple .txt files.
  2. Read all .txt files from a path to a directory.
  3. Read text from a given URL.

Question-Answering (QA)

Description

Retrieve answers from user questions by mining for relevant information from given set of documents. The implementation for this one is quite open-ended.

Objectives

No specific steps. Recommended to checkout functionality from the QA pipeline on HuggingFace.

Unsupervised Classification of Documents

Description

Using some kind of clustering algorithm to predict a class per document. Classes may be genre, topic, usefulness, etc. Finding the closest cluster per document relies on a distance metric.

Objectives

  1. Implement different clustering algorithms to classify documents into an arbitrary set of classes. Text similarity would be a good starting point as the distance metric utilized.
  2. Use zero-shot learning (ZSL) to classify documents from a group of pre-determined classes. HuggingFace has a pipeline for that. Checkout the comments in here.

Tokenization

Description

Use an NLP library to tokenize textual data.

Objectives

  1. Use an NLP library's built-in function for tokenization to handle individual strings.
  2. Extrapolate tokenization to sentence-level and paragraph level.

Optical Character Recognition

Description

Perform OCR on images of text to recognize and transform the text into digital format.

Objectives

  1. Familiarize with the functions of a library e.g. pytesseract.
  2. Write a wrapper function that grayscales the image and then utilizes the appropriate OCR function.
  3. Not necessary but may help: add more steps for image preprocessing such as denoising, if that improves OCR accuracy.

Part-of-Speech Tagging

Description

Flag non-stop words with part of speech.

Objectives

  1. Use an NLP library's built-in POS tagging function wrapped inside a helper function.
  2. Add function to filter words with certain POS tags.

Ranker

Description

Build ranking functionality for a set of documents. The ranking criteria can be as simple as the number of keywords mined. Other criteria include relevance to a queried topic and readability level.

Objectives

  1. Find some metrics that can be used to score documents for ranking. For example, textstat has functions that judge reading level by grade.
  2. Write a function that ranks documents based on different scoring metrics. The function can simply return a reordered list of indexes or names of documents.
  3. Add parameters in function for order direction (highest or lowest score first), skip the top n documents, limit the return to the top n ranked documents, and other editions if you want.

Keyword Mining

Description

Extract keywords from a document.

Objectives

Use a stable library such as KeyBERT or an established (and sometimes more simple) algorithm like TF-IDF.

Notifications

Description

Notify users via text or email of changes to their uploaded stash of documents. This is meant for a group contribution where more than one person can upload extra or delete documents from an initial stash of documents afterwards.

Objectives

  1. Find a suitable Python API (highly recommend Twilio).
  2. Test a single SMS message.
  3. Test a single email.

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.