May I present: kompressr
kompressr: make text shorter harnessing the power of acronyms (MTSHTPOA)
Try it out, let me know what you think and if it breaks :) Should be useful for making long papers shorter, by automatically extracting acronyms and using them wherever possible.
Public beta!tm
(running on App Engine, with NLTK!)
Try it out, let me know what you think and if it breaks :) Should be useful for making long papers shorter, by automatically extracting acronyms and using them wherever possible.
Public beta!tm
(running on App Engine, with NLTK!)
no subject
no subject
Unintended benefit! That's awesome.
no subject
Not breaking along phrase boundaries is both easier to implement, and what I was going for (ie, kind of senseless, but following a pattern that's intuitively clear).
The alternative would require some light parsing -- maybe chunking for noun phrases...
no subject
Also, you might want to keep it from acronyming its acronyms:
"Various criticisms of SE (OSE) are sometimes made. SE has often been used as a proxy competition for geopolitical rivalries such as the (AT) (SAT) Cold War. The early era OSE was driven by a "Space Race" between the Soviet Union and the United States (US); the launch of the (OT) first (TF) (OTF) (TLOTF) man-made object to orbit the Earth..."
no subject
no subject
no subject
This isn't my area, but I'd think the problem of identifying important common phrases particular to a piece of work (like SE), while weeding out generally common phrases and things that are a concatenation of the two, might be paper-worthy.
It's a good intuition that that's an important problem, but it's way been done. There's a whole literature on finding sequences that commonly appear together (say, in a set of documents, or characteristically to particular documents)... words that NLP/corpus linguistics people say when they're discussing such a thing include "collocation (http://en.wikipedia.org/wiki/Collocation)" and "TF/IDF (http://en.wikipedia.org/wiki/Tf-idf")", if you're interested.
no subject
Bug report!: if I paste in text with newlines, it doesn't recognize previously acronym'd phrases that straddle the line breaks.
no subject
Working on reproducing...
no subject
"Where in the code does this happen?" appears twice, so there ought to be a "WITCDTH?" the second time. But because it appears across a line break the second time, it doesn't get fully acronym'd even once. (Somewhat excitingly, I know the answer to both questions now!)
no subject
There seem to be carriage returns passed in from the form? I certainly didn't expect that.
no subject
".dll?BUSINESS_LOGIC=BUSINESS_LOGIC_SHORTEN.ACTION"
Re: ".dll?BUSINESS_LOGIC=BUSINESS_LOGIC_SHORTEN.ACTION"
Re: ".dll?BUSINESS_LOGIC=BUSINESS_LOGIC_SHORTEN.ACTION"