11,507 karma · joined Jun 12, 2009 (17y ago) · 2,757 submissions
comment 16y ago · link · parent
comment 16y ago · link · parent
Edit: http://www.sciencenews.org/view/generic/id/57964/title/Super...
comment 16y ago · link · parent
2528.
Hedge (linguistics)(en.wikipedia.org ↗)
2 points · by coderdude · 16y ago · discuss
2529.
Data.australia.gov.au datasets(data.australia.gov.au ↗)
2 points · by coderdude · 16y ago · discuss
2530.
Processing Complex Sentences for Information Extraction [pdf](public.asu.edu ↗)
4 points · by coderdude · 16y ago · discuss
comment 16y ago · link · parent
comment 16y ago · link · parent
Edit: Whoops. I'll leave the comment but I do realize this isn't an iPad thread.
comment 16y ago · link · parent
comment 16y ago · link · parent
Edit: I just went home and started a map reduce job to find the total distinct tokens. I should be able to post the results within a few hours.
Unsupervised and language-independent, now that's something worth working towards. What data (or how much data) are you working with right now?
I plan on selling n-gram datasets from the Web, so I would like to have another set of eyes look over them. If you'd like, shoot me an email at james[at]webscaled[dot]com and I'll send you a copy to experiment with.
comment 16y ago · link · parent
I created about 20 chunked-sentence patterns using regex. The purpose of the patterns was to extract the SVO portions of simple sentences, such as the following (please forgive any mis-tagged words as this is off the top of my head):
(NX John/NNP NX) (VX is/VBZ going/VBG VX) to/IN (NX the/DT mall/NN NX)
With a small number of patterns in my arsenal I tokenized, tagged, and chunked every complete sentence in the corpus (removing any parenthesized information from each sentence). This of course also involved extracting the "good text" from the HTML. (This area could have been improved a lot.)
From each of the template matches I stored the subject (John), predicate (is going to), and the object (the mall). I wanted to try something new (to me) so I lemmatized any non-proper nouns and removed all determiners. This left me with 'John -> be go to -> mall.'
The real magic, for me at least, has been the predicates I've extracted. In my mind the predicate was the most important because it models the relationship between the subject and the object. Once lemmatized and with determiners removed, many of the chunks I extracted mapped to a single value. This allowed for me to turn that "single value" such as 'be go to' into an identifier that would map to representations such as 'are going to', 'was going to', 'is going to', etc. (with better examples available, of course). This allowed for X -> be go to -> Y.
Another experiment was to see if I could create a graph of "higher-level" and "lower-level" concepts, such as this (ordered from lowest-level concept to highest-level concept):
be of -> be part of -> be small part of -> be very small part of
Each of those (minus 'be of') are predicates in assertions that I extracted, which in theory can allow for walking through the graph to find assertions for 'be part of' while including predicates like 'be very small part of'.
Edit: The method for finding "lower-level concepts" was to remove some combination of adjectives and adverbs from the predicates, but I did not go deeper than that. This is also an area where I could have made much improvement.
I used Hadoop to store the data, map reduce to process it, and MySQL to store the results. Although I have HBase setup on the cluster, for this small experiment I declined to use it. The Python package I used to do the tokenization, tagging, and chunking was MontyLingua (somewhat modified for better tagging and tokenization).
Edit: The end result was approximately 2MM assertions (just from those simple sentences alone) and 4.4MM concepts.
If you're really into this stuff, check out the following papers (ordered from coolest to cool).
Web-Scale Extraction of Structured Data: http://portal.acm.org/citation.cfm?id=1519112&dl=GUIDE&#...
WebTables: Exploring the Power of Tables on the Web: http://www.mit.edu/~y_z/papers/webtables-vldb08.pdf
Open Information Extraction from the Web: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.74....
Processing Complex Sentences for Information Extraction: http://www.public.asu.edu/~cbaral/thesis/deepthi04.pdf
A survey of approaches to automatic schema matching: http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.16....
Using Wikipedia to Bootstrap Open Information Extraction: http://portal.acm.org/citation.cfm?id=1519113&dl=GUIDE&#...
comment 16y ago · link · parent
"Why not memcached? Memcached is a great project and we wouldn't say a bad thing about it. However, there are many cases where setting up and managing your own infrastructure for caching doesn't make sense."
I'm glad to see they aren't trying to trick you into thinking this is the superior solution. Rather, they focus on how it's the easiest solution (or easier than setting-up memcached anyway).
I think this is a really cool idea.
comment 16y ago · link · parent
comment 16y ago · link · parent
Edit: In short, I'm saying that if you cannot tell the difference and are a low-end cell phone consumer, then you can just as well do without voice search on your $50 phone. Beyond that, the good phones update themselves.
comment 16y ago · link · parent