473,796 Members | 2,570 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Extracting Semantic Structure of HTML Doc

Hi,

I'm interested in projects evolve about extracing semantic structure of
HTML documents. What I mean by extracting semantic structure is to
analyse HTML doc and outputs a model (perhaps a tree structure) that
relates paragraphs to headings/sub headings. It should be a difficult
problem, since HTML is a structure language. Does anyone know of any
existing research?

Cheers,
Michael

[ comp.ai is moderated. To submit, just post and be patient, or if ]
[ that fails mail your article to <co*****@modera tors.isc.org>, and ]
[ ask your news administrator to fix the problems with your system. ]
Jul 23 '05 #1
3 1667
On Tue, 25 Jan 2005 22:31:27 GMT, <da*****@hotmai l.com> wrote:
I'm interested in projects evolve about extracing semantic structure of
HTML documents. What I mean by extracting semantic structure is to
analyse HTML doc and outputs a model (perhaps a tree structure) that
relates paragraphs to headings/sub headings.


Isn't this what the DOM-inspector in Mozilla does?

--
,-- --<--@ -- PretLetters: 'woest wyf', met vele interesses: ----------.
| weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html |
| webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html |
|zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html |
`-------------------------------------------------- --<--@ ------------'

[ comp.ai is moderated. To submit, just post and be patient, or if ]
[ that fails mail your article to <co*****@modera tors.isc.org>, and ]
[ ask your news administrator to fix the problems with your system. ]
Jul 23 '05 #2
Hi,

I thought the DOM inspector only show the parse tree. No?
Cheers,
Michael

[ comp.ai is moderated. To submit, just post and be patient, or if ]
[ that fails mail your article to <co*****@modera tors.isc.org>, and ]
[ ask your news administrator to fix the problems with your system. ]
Jul 23 '05 #3
da*****@hotmail .com wrote:
Hi,

I thought the DOM inspector only show the parse tree. No?


Your original used the word "tree", and sounded as if the DOM
is what you meant. Semantic structure is rarely strong in webpages,
whereas a DOM can always be constructed.

AccessValet is related to this task, in that its page analysis
includes a heuristic evaluation of semantic structure, and it will
issue warnings if it appears wrong. For example,
<p><big><b>My Homepage</b></big></p> will suggest that this should
be a heading, while <h4>a great long passage of text and
<img ...>other things<br> that really don't look like a heading</h4>
will generate an opposite warning. Of course, there's a big grey
area between obviously-right and obviously-wrong uses, where only
human evaluation will serve. AccessValet also offers a range of
options for presentation of results, including annotated tree views.

A simple summary is offered by page outliners in tools such as the
W3C validator, mod_accessibili ty, and some assistive browsers.
Check the archives of the w3c-wai-er (Evaluation and Repair tools)
list for relevant discussion and various experimental software.

--
Nick Kew

[ comp.ai is moderated. To submit, just post and be patient, or if ]
[ that fails mail your article to <co*****@modera tors.isc.org>, and ]
[ ask your news administrator to fix the problems with your system. ]
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
6090
by: Richard Cornford | last post by:
I am interested in hearing opinions on the semantic meaning of FORM (elements) in HTML. I have to start of apologising because this question arose in a context that is not applicable to the Internet. Specifically, marking up a document that will contain multiple related form controls (intended exclusively for client-side scripting) that would never be intended to be submitted. I realise that that concept is a non-starter in an Internet...
7
1682
by: dayzman | last post by:
Hi, Does anyone know of any application, or simply any development, on extracting semantic structure of HTML pages? Cheers, Michael
2
1640
by: dayzman | last post by:
Hi, I'm in need of a program that extracts the semantic structure of HTML pages -- a program that groups paragraphs with the corresponding headings etc. I know it's not too difficult to extract well structured documents, e.g. formal essays. However, with complicated sites like CNN and CNet, where many tables are used to align text, to me it'd become extremely difficult. Does anyone know of any existing applications? If not, should it be...
3
1756
by: dayzman | last post by:
Hi, I've read somewhere that feature-based analysis can be used to extract the semantic structure of HTML documents. By semantic structure, they mean the model of the rendered view a reader sees. Now, my question is, what should such feature-based analysis involve? What exactly is a feature-based analysis? Please help.
4
7920
by: crafuse | last post by:
Hello, I've overridden the WndProc function in my form to hand some special behavior. Specifically, I look for the WM_NCMOUSEMOVE event to tell me when the user is trying to move the window by draggin the title bar. However, I am having trouble extracting the POINT structure that is supposed to come with the message. For example: Structure POINTS Public x As Short
7
1532
by: Une Bévue | last post by:
the purpose : avoid all banners and unusefull contents of an html document the leaves intact the part from start to body and inside the body leave only the part where user has clicked (by mousedown -- mousemove --mouseup)). for example a schematic document as input : <html><title>...<meta<<link to csss, javascript ect> <body...>
12
4169
by: rshepard | last post by:
I'm a bit embarrassed to have to ask for help on this, but I'm not finding the solution in the docs I have here. Data are assembled for writing to a database table. A representative tuple looks like this: ('eco', "(u'Roads',)", 0.073969887301348305) Pysqlite doesn't like the format of the middle term: pysqlite2.dbapi2.InterfaceError: Error binding parameter 1 - probably
3
2255
by: eliss | last post by:
I'm trying to find a way to extract all the function definitions AND function uses from thousands of C++ files. For example, if foo.cpp contains: int func(char b) { return 0; }
2
1428
by: ravidor | last post by:
I need to display the number of a question out of total number of questions (example 6/18). What HTML tags should I use to build it semantically?
0
9684
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9530
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10236
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10182
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9055
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7552
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
4120
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3734
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.