Giter VIP home page Giter VIP logo

deprecated-llamapun's Introduction

LLaMaPUn Logo

The LLaMaPUn library will consist of a wide range of processing tools for natural language and mathematics. Build Status

New: Efforts have started in adopting third-party tools (such as the SENNA NLP toolkit) and adapting them to the focus of mathematical documents. As such, the current build target is refocused on the C programming language, migrating away from Perl. Given the portability of C, we expect to eventually offer high level wrappers for a variety of scripting languages.

Please remember that all third-party tools enforce their own licensing constraints.

Disclaimer: This Github repository is currently undergoing gradual migration from the original subversion repository. The migration consists of reorganizing the libraries, and preparing a CPAN-near bundle including a testbed and detailed documentation. This process also brings a namespace change to the now properly spelled LLaMaPUn.

Several upcoming deployments of the CorTeX framework have motivated the move to GitHub and provide an outlook for a number of fixes and features to be added to the library.

High-level Overview

  • Preprocessing

    • Unicode normalization,
    • Stopwords - based on widely accepted lists, enhanced for STEM texts,
    • Semi-structured to plain text normalization (math, citations, tables, etc.),
    • Purification of text and math modality (e.g. move trailing dots left in math back into the sentence text),
    • Stemming - adaptation of the Morpha stemmer,
    • Tokenization - rule-based sentence segmentation, and SENNA word tokenization
  • Shallow Analysis

    • Language identification (via libTextCat),
    • N-gram footprints,
    • Part-of-speech tagging (via SENNA),
    • Named Entity recognition (via SENNA),
    • Chunking and shallow parsing (via SENNA),
    • [TODO] "Definition" paragraph discrimination task (training SVM classifiers, based on TF/IDF and Ngram BoW features, via libsvm)
    • [TODO] "Declaration" sentence discrimination task (training CRF models via CRFsuite).
  • Representation Toolkit

    • Document Narrative Model (DNM) addition to the XML DOM
    • XPointer and string offset annotation support
    • Integration with the CorTeX processing framework
    • [TOPORT] Shared Packed parse forests for mathematical formulas (aka "disjunctive logical forms")

See also

Contact

Feel free to send any feedback to the project maintainer at [email protected]


A LLaMa PUn

deprecated-llamapun's People

Contributors

dginev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

deprecated-llamapun's Issues

[port] Modality Purification in C

Similarly to the way smartphones auto-correct spelling, there is a common need in arXiv to auto-correct the separation between text and mathematics. In TeX, there is a clear separation of "text mode" and "math mode", which LaTeXML conserves in a HTML vs MathML separation, after conversion.

There is an existing implementation from a semester project of mine at:
https://github.com/KWARC/LLaMaPUn/blob/master/lib/LLaMaPUn/Preprocessor/Purify.pm

The original ticket, with detailed description of progress and various phenomena covered is at the old Trac:
https://trac.kwarc.info/lamapun/ticket/1

I should get this ported to C, in order to improve the quality of the input data for our linguistic experiments.

createDNM on xmlNodePtr

You currently have createDNM defined on entire LibXML documents:

dnmPtr createDNM(xmlDocPtr doc, long parameters)

However, I want to create separate DNMs for individual paragraphs, so that I can work with the plain text of those XML elements exclusively. It should be easy to change the bookkeeping to support xmlNodePtr as the argument of createDNM, I don't think you really need the document itself for anything important.

So the signature I would like to use is:

dnmPtr createDNM(xmlNodePtr node, long parameters)

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.