News for hackers. Stuff that matters.
Re:Show HN: idea for the future of document editing by sillysaurus on Sunday October 14, 2012 @05:25AM (#4651080)
Great job! I encourage you to continue improving it.

I pasted a Paul Graham essay and the results were telling:

https://dl.dropbox.com/u/315/random_pics/nlp1.png

https://dl.dropbox.com/u/315/random_pics/nlp2.png

https://dl.dropbox.com/u/315/random_pics/nlp3.png

https://dl.dropbox.com/u/315/random_pics/nlp4.png

In short, the results aren't relevant at all -- either to the author or to his audience. (The third screenshot is particularly conspicuous.)

I can think of some domains where this could be pretty handy -- you should try feeding your algorithm a stream of tweets and see what happens.

All in all, this hasn't been done before and was presented quite nicely. Well done.

Re:Show HN: idea for the future of document editing by ken on Sunday October 14, 2012 @12:29PM (#4651751)
Another test case: I pasted a couple paragraphs of John Gruber's Kindle review in there, and it shows me (only) "Fleetwood Mac" (derived from the phrase "my Mac"), and "I Love" (the country music song, from the sentence "I love glowing screens").

It skipped terms that seem to me much more obvious links, like "iPhone", "iPad", "TiVo", "ATM", "Kindle", "credit card", "supermarket", or "e-ink".

Re:Show HN: idea for the future of document editing by blrgeek on Sunday October 14, 2012 @03:26AM (#4650909)
This is very very cool, and makes for a good demo too.

One suggestion would be to put the latest topic on top - or at least vertically near where you type.

Second being able to pick the corpus being used for matching. might make it interesting. Say IEEE or ACM, or PubMed. Might bring up interesting things that others have written that are similar, which they've not noticed before.

I can see a very good match with technical writing, publications, etc. Esp if you can pull in excerpts. This would make for much better writing for many who may not have Eng as first language.

Neat!

Re:Show HN: idea for the future of document editing by DeepDuh on Sunday October 14, 2012 @04:46AM (#4651041)
Oh yes. Give me what you just described, integrated into a typesetting system that can produce scientific papers of LaTex quality (or, simply, a LaTex editor like Kile) and make citations to those sidebar infos drag & droppable, with links to the fulltext PDF (might need integrated Login handling for the electronic publishers).

Second idea: Scratch that and integrate it into a PDF reader instead and instead of drag & drop give me the citations as plaintext popups (this way it would be useful for other purposes, even book reading).

Re:Show HN: idea for the future of document editing by tomjen3 on Sunday October 14, 2012 @05:39AM (#4651091)
An interesting idea, but it comes up with really, really useless suggestion -- I don't think anybody needs to be told what don't is, west may be a cardinal direction but 'in the west we enjoy' does not refer to particular side of a compass.

Also for some reason it blinks with 1. AD is a year (I did write the word one, but it really shouldn't blink).

Re:Show HN: idea for the future of document editing by crucialfelix on Sunday October 14, 2012 @09:36AM (#4651426)
I see it as an interface demo, not a search results demo.

obviously you would connect it to the best search results at your disposal. that's a different problem entirely.

Re:Show HN: idea for the future of document editing by suhastech on Sunday October 14, 2012 @04:04AM (#4650967)
I think this would be a very good candidate for the future of document reading
Re:Show HN: idea for the future of document editing by gliese1337 on Sunday October 14, 2012 @01:32PM (#4651968)
Particularly for educational environments. Annotation of texts to explain cultural references, idiomatic usages, etc., is extremely useful in foreign language instruction, and anything that can help do that automatically and reduce the time an instructor has to to spend preparing the content would be extremely valuable.
Re:Show HN: idea for the future of document editing by notatoad on Sunday October 14, 2012 @12:47AM (#4650682)
FYI: relevant, not relevent.

It's a cool idea, but presented in a sidebar like that i think it's mostly a distraction. when you're writing you want less outside information, not more.

Re:Show HN: idea for the future of document editing by sonier on Sunday October 14, 2012 @12:53AM (#4650701)
Fixed, thanks.

I guess there would need to be the ability to hide the sidebar in a more usable version. Thanks for that tip!

EDIT: grammar

Re:Show HN: idea for the future of document editing by whatshisface on Sunday October 14, 2012 @01:08AM (#4650734)
What if instead of a sidebar, you could get information about a word by putting your mouse over it and doing something? (does javascript let you trap rightclicks?)
Re:Show HN: idea for the future of document editing by sprobertson on Sunday October 14, 2012 @01:55AM (#4650799)
The nice thing about a sidebar is you can investigate a broader scope of the document's semantic content, as opposed to just specific sections. (but yes, it does... and this might be a good way to narrow the context)
Re:Show HN: idea for the future of document editing by jcla1 on Sunday October 14, 2012 @03:52AM (#4650937)
Yes, it let's you trap right clicks. The event is called "contextmenu".
Re:Show HN: idea for the future of document editing by sonier on Saturday October 13, 2012 @11:35PM (#4650531)
The idea is that as you type, some relevant information about what you are typing should appear. Long term, it should integrate search into document editing and simplify the writing process. This is currently far from perfect, I just put it together on the past 4 hours.
Re:Show HN: idea for the future of document editing by JadeNB on Sunday October 14, 2012 @12:47AM (#4650684)
Given the privacy flap when Google started serving ads based on the contents of e-mails, do you foresee any worries here --or do you think it's sufficiently different, or that such worries have faded away with familiarity?

Also, as a minor nitpick, 'relevant' is misspelt (as 'relevent').

Re:Show HN: idea for the future of document editing by sonier on Sunday October 14, 2012 @12:57AM (#4650710)
I would imagine the biggest privacy concern would be trusting a strange site with personal documents. Most people have no problem storing documents in Google drive but I foresee there would be a slow adoption rate for more serious writing.
Re:Show HN: idea for the future of document editing by ushi on Sunday October 14, 2012 @02:26AM (#4650847)
Nice Work!

Your https doesn't work for me because you make calls to the unsecured duckduckgo api and chrome refuses.

You should use: https://api.duckduckgo.com

Re:Show HN: idea for the future of document editing by sonier on Sunday October 14, 2012 @02:59AM (#4650881)
Now using the secure DDG. Thanks for pointing that out!
Re:Show HN: idea for the future of document editing by timkly on Sunday October 14, 2012 @05:14AM (#4651078)
I would like to see the ability to drag and drop the text directly into the editor... and an ability to choose the sources for obtaining information (Wolfram Alpha, Wikipedia etc). Also, if you could highlight individual results and run a lookup against them you could drill down even further making the information more relevant... and as a sidenote, I be would inclined to target the student market whom could use this as a study tool (or lifesaver for last minute assignments)
Re:Show HN: idea for the future of document editing by jcla1 on Sunday October 14, 2012 @03:51AM (#4650933)
Is it just me, or are we missing the source code? Would be nice to have a peek.

Edit: Sorry, didn't see that is was just JS! EditEdit: But where is the source to /keywords

Re:Show HN: idea for the future of document editing by saurik on Sunday October 14, 2012 @04:21AM (#4650995)
(Did the developer claim somewhere the implementation was open source?)
Re:Show HN: idea for the future of document editing by jcla1 on Sunday October 14, 2012 @05:06AM (#4651068)
No, but if it wasn't I would obfuscate my JS... ?
Re:Show HN: idea for the future of document editing by sprobertson on Sunday October 14, 2012 @01:49AM (#4650788)
Wow, this is very very relevant to something I've been thinking of for the past few months -- if you're interested in collaborating, shoot me an email.
Re:Show HN: idea for the future of document editing by flipstewart on Sunday October 14, 2012 @02:18AM (#4650831)
So... does this actually work?

I'm using the latest Safari and OS X 10.8... if I delete the contents of the text box, four of the terms on the right remain.

If I enter new content... still just those four terms.

edit: the more I write, the less terms there are on the right, but they're still terms from the original content... if I type a word twice, I get the definition... three times and it goes away.

Re:Show HN: idea for the future of document editing by sonier on Sunday October 14, 2012 @02:22AM (#4650839)
There are in fact a lot of bugs, it was written in just a few hours as a proof of concept.
Re:Show HN: idea for the future of document editing by infinitebayes on Sunday October 14, 2012 @04:05AM (#4650968)
Typing "Bayesian classification of" somehow causes the relevant content "Naive Bayes classifier" to be added repeatedly in a loop.
Re:Show HN: idea for the future of document editing by Rangi42 on Sunday October 14, 2012 @01:52AM (#4650793)
Interesting idea. It could be improved by filtering out stop words; right now it recommends Oregon and Belgium for "or" and "be."
Re:Show HN: idea for the future of document editing by jakobmarovt on Sunday October 14, 2012 @03:16AM (#4650899)
fyi, zemanta (zemanta.com) has been working on a similiar product (targeting bloggers) for years. Take a look at it.
Re:Show HN: idea for the future of document editing by riffraff on Sunday October 14, 2012 @05:06AM (#4651066)
google docs also has an integrated information sidebar this days
Re:Show HN: idea for the future of document editing by fabm on Sunday October 14, 2012 @08:03AM (#4651278)
This is really cool and I can definitely see it being useful once the kinks are worked out.

Without repeating most of the feedback given already, I’ve noticed that it picks up too many pointless words. I’d suggest making it more selective with the words picked out to be relevant. Quality over quantity.

Re:Show HN: idea for the future of document editing by jonsterling on Sunday October 14, 2012 @12:38AM (#4650660)
Very cool. I don't think this is the “future of document editing”, but it's a neat project nonetheless.
Re:Show HN: idea for the future of document editing by gprasanth on Sunday October 14, 2012 @04:57AM (#4651058)
I was just testing it using other top news on HN, like this one: Roy Bates's death.

It seems there is a bug when I enter this line:

  "Roy Bates died on"
Paddy Roy Bates's wiki page keeps getting added to the right column continuously.
Re:Show HN: idea for the future of document editing by antidoh on Sunday October 14, 2012 @08:10AM (#4651288)
It might be useful to show relevant content from my local system on things that I've written already, like maybe notes from a project, or excerpts from email.

Writing code, similar suggestion, showing other code, requirements, design, etc.

Re:Show HN: idea for the future of document editing by CapnGoat on Sunday October 14, 2012 @10:32AM (#4651485)
I wrote a text with "German constitution" and now it's stuck in a loop fetching the information to "Basic Law for the Federal Republic of Germany".

http://i.imgur.com/0QaY2.png

Re:Show HN: idea for the future of document editing by samirahmed on Sunday October 14, 2012 @02:50AM (#4650868)
The real time information is neat!

FYI, This feature is available (in non-real time manner) in Google Docs and Microsoft Word, which are powered by Google Search and Bing respectively to research terms, images and relevant content.

Re:Show HN: idea for the future of document editing by chrishan on Monday October 15, 2012 @10:08AM (#4655092)
Re:Show HN: idea for the future of document editing by Jayasimhan on Sunday October 14, 2012 @06:54AM (#4651184)
Ooh! I had the same idea about providing contextual information. But you executed on it. This is a wonderful tool that I'd use. All the best. Keep improving it.
Re:Show HN: idea for the future of document editing by antidoh on Sunday October 14, 2012 @08:08AM (#4651285)
In Firefox 16.0.1 on Linux, if I type a letter after the pre-existing text then the browser opens a tab that I had previously closed. Works fine on Chromium.
Re:Show HN: idea for the future of document editing by instakill on Sunday October 14, 2012 @03:59AM (#4650954)
Very cool. The right hand side should auto-scroll.
Re:Show HN: idea for the future of document editing by reader_1000 on Sunday October 14, 2012 @04:21AM (#4650994)
When you write "times" in documents, it starts to flash (I mean time entry goes and comes back continuosly)
Re:Show HN: idea for the future of document editing by sonier on Sunday October 14, 2012 @11:11AM (#4651565)
I just pushed an update that gives better results and fixes a few of the many bugs.

Thank you everyone for the feedback!

Re:Show HN: idea for the future of document editing by Peteris on Sunday October 14, 2012 @06:11AM (#4651130)
This is super amazing for writing Mathematics, if the context aggregation could be tweaked a bit.
Re:Show HN: idea for the future of document editing by iamrohitbanga on Sunday October 14, 2012 @01:11AM (#4650740)
looks cool ... what I have always found missing in text editors is a local undo (each line maintains its own undo history) ... bad from user experience and weird requirement I know but something like that would be useful for some programmers IMHO.
Re:Show HN: idea for the future of document editing by jnazario on Sunday October 14, 2012 @12:11AM (#4650610)
hey that's pretty cool. given that i was just reading about ted nelson's project xanadu this fits pretty neatly with that.

hopefully you can tune it to ignore various words that have less impact on things and instead focus on more core and unique elements.

Re:Show HN: idea for the future of document editing by sonier on Sunday October 14, 2012 @12:18AM (#4650629)
That is the idea, I would like to go one step further. I see it as being in 2 possible 'states' The first would be some overview of the document and the second would be very relevant to what you are typing right now and what you are about to type. For example if you typed "Ted Nelson" right away you should get a picture, bio, birthday and anything else that may be relevant.
Re:Show HN: idea for the future of document editing by krapp on Sunday October 14, 2012 @01:04AM (#4650724)
Some terms could use further disambiguation. For instance - 'lance armstrong' brings up lance, arms (but not arm) and armstrong (which is apparently an airport in Louisiana) but not Lance Armstrong. Cobra brings up the snake, the Cabinet Office Briefing Room but not the insurance plan.

Still, it is pretty cool.

Re:Show HN: idea for the future of document editing by nesu on Monday October 15, 2012 @01:26AM (#4653890)
Nice work!

This would be very helpful for writers, although it can also be used to target ads.

Re:Show HN: idea for the future of document editing by srj55 on Sunday October 14, 2012 @01:24AM (#4650759)
Nice effort here...this is a really tough problem to solve "correctly".
Re:Show HN: idea for the future of document editing by bergie on Sunday October 14, 2012 @05:11PM (#4652660)
if you want to do this sort of entity recognition, there is Apache Stanbol which is quite useful: http://stanbol.apache.org/
Re:Show HN: idea for the future of document editing by bakztfuture on Sunday October 14, 2012 @12:33PM (#4651770)
how does the NLP work for this?