kwarc / deprecated-llamapun Goto Github PK
View Code? Open in Web Editor NEWLLaMaPUn is Language and Mathematics Processing and Understanding
License: GNU General Public License v3.0
LLaMaPUn is Language and Mathematics Processing and Understanding
License: GNU General Public License v3.0
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.
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)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.