Yahoo! Developer Network Blog
« Previous | Main | Next »
March 13, 2008
Yahoo! search results now with natural language support
I am happy to announce that based on some research and a Greasemonkey hack to make people aware of the consequences, Yahoo! is now a search engine that has natural language search results.
Natural language?
HTML has a wonderful attribute called lang that allows you to define the language of the text in the current HTML element. This seems a bit superfluous as it has nothing to do with the display of the language specific character set (which is the encoding and another issue). However, defining the language has other benefits.
The first one is that search engines and other robots know what language the text is in and thus have a much less harder job to differentiate between keywords and stopwords.
The second, and most important has to do with accessibility. If you do not see the text but you get it read out to you then the pronounciation is very important. Visually impaired surfers use screen readers to tell them what is on the current page, and by defining the language, you make this a lot easier. Screen readers have different voices for different languages with the correct pronounciation rules. This is best explained with an example.
Small attribute, great difference - with lang and without lang
The following files are recordings of what screen readers will tell visually impaired users on a search result page. They have been slowed down to make it easier for people that can see to follow, normally users will have the speed set a lot faster.
- Search result page in English with French content not flagged up with a lang attribute (mp3, 42 seconds, 670 KB)
- Search result page in English with French content flagged up as French using the lang attribute (mp3, 46 seconds, 720 KB)
- Italian search result page with French and English content without lang attributes (OGG Vorbis, 51 seconds ,400 KB)
- Italian search result page with French and English content with lang attributes (OGG Vorbis, 49 seconds ,300 KB
Thanks must go to Artur Ortega for testing with Jaws and Ryan Grove for adding the necessary information.
Posted at March 13, 2008 4:58 AM
Comments
Saw this on TechCrunch, and was hoping to see this announcement.
Great forward thinking. This adds to the growth of a quality net!
Thanks!
Posted by: Ed at March 13, 2008 9:23 AM
Post a comment
Comment Policy: We encourage comments and look forward to hearing from you. Please note that Yahoo! may, in our sole discretion, remove comments if they are off topic, inappropriate, or otherwise violate our Terms of Service.
Subscribe
Recent Blog Articles
view all
The state of mobile browsers - PPK in London
Thu, 02 Jul 2009
GeoMaker - Turning web content into maps made easy
Wed, 01 Jul 2009
Tue, 30 Jun 2009
Hacking Up North : Winners of the Sunderland Hack Challenge
Fri, 26 Jun 2009
ConvergeSC web event comes to South Carolina
Wed, 24 Jun 2009
Recent Links
Junta42 blog: News Flash: Guardian Seeks to Grow through Products, Not Content
Fri, 03 Jul 2009
Twitter Approval Matrix - June 2009 - O'Reilly Radar
Thu, 02 Jul 2009
YUI 3.0 with Jonathan LeBlanc from the Yahoo Developer Network | Unmatched Style
Wed, 01 Jul 2009
Yahoo! Search Blog: VoCampers Converge at Yahoo! Headquarters in Sunnyvale
Thu, 25 Jun 2009
Make: Online : Dorkbot London June 23
Mon, 22 Jun 2009
Archives
2009
2008
2007
2006
2005

