Git Product home page Git Product logo

mathematical-text-understanding's Introduction

Mathematical Token Definition Extraction

Introduction

This work describes and answers a problem in Mathematical Named-Entity Recognition: Given a mathematical object and the context in which it, can we extract its definition? This repo contains the Mathematical Token Definition Extraction (MTDE) dataset as well as the implemetations of five different neural defintion extraction models. [1] is a peer-reviewed full analysis on the MTDE problem and how the models perform on the MTDE dataset.

The Dataset

The MTDE dataset contains around 10,000 entries of variable names, the contexts in which they are defined, their ‘short’ definitions and their ’long’ definition. Here, a short defintion is a 1-word-long definition and a long definition is a one-or-more-word-long definition. The data was collected from a random sampling of mathematical and scientific arXiv preprint manuscripts. The manuscripts cover a wide range of mathematic and scientific disciplines including Physics, Computer Science, and Biology. Candidate data was generated via a corpus crawler and then pruned and cleaned manually.

The Models

In this repo, the following models are implemented in jypter notebook tutorials:

  1. Vanilla Seq2Seq
  2. Transformer Seq2Seq
  3. Pointer Network
  4. Match-LSTM
  5. BERT (Huggingface's BertForQuestionAnswering)

These tutorials are aimed to throughly explain the mechanisms behind each mathematical defintion extraction model examined in [1] as well as serve as a blueprint for future experiements on this problem.

Contact

Email: [email protected]

Please message me with any feedback or errors you may find! Any help is appriciated :)

Notes

There is a small error in right-most subfigure of figure 1 in [1]. The correct figure should be: Corrected Subfigure

References

[1] Hamel, E., Zheng, H., & Kani, N. (2022). An Evaluation of NLP Methods to Extract Mathematical Token Descriptors. In International Conference on Intelligent Computer Mathematics (pp. 329-343). Springer, Cham.

mathematical-text-understanding's People

Contributors

emhamel avatar

Stargazers

Bisma Joyosumarto avatar Luis Berlioz avatar Ramon Fernández Mir avatar Deyan Ginev avatar

Watchers

James Cloos avatar  avatar

Forkers

jiaruzouu

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.