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

Home Posts Topics Members FAQ

Unstructured HTML extraction

Hi,

I'm interested in a program that extracts the structure of unstructured
HTML documents. The program should be able to make good estimates about
different font styles used to represent headings, for example, some may
use <font size = 24> for headings and some may use <h1>, in the end,
both should output the same structure. The output can be in XML or
other formats. Manual driving should remain minimal. Does anyone know
of such program (preferably open-source)?

Cheers,
Michael

Jul 20 '05 #1
4 1662
In article <11************ **********@z14g 2000cwz.googleg roups.com>,
da*****@hotmail .com writes:
Hi,

I'm interested in a program that extracts the structure of unstructured
HTML documents. The program should be able to make good estimates about
different font styles used to represent headings, for example, some may
use <font size = 24> for headings and some may use <h1>, in the end,
Not quite sure what you mean, but does http://valet.webthing.com/access/
seem relevant to you?
both should output the same structure. The output can be in XML or
other formats.


Output is XML. What you see on the Web is transformed with XSLT to
HTML or RDF.

--
Nick Kew
Jul 20 '05 #2
Hi,

Sorry for not making myself clear. What I'm trying to find is a program
that handles the inconsistent styles used on webpages to imply, e.g.,
headings -- where some people may use large fonts, some may use the
<h1> tag, and some may use block letters etc. The program needs to be
able to recognise the implication of the different styles used, and
"cleans up" the structure and outputs it in a readable format.
I hope it is more clear this time.

Cheers,
Michael

Jul 20 '05 #3
Hi,

Sorry for not making myself clear. What I'm trying to find is a program
that handles the inconsistent styles used on webpages to imply, e.g.,
headings -- where some people may use large fonts, some may use the
<h1> tag, and some may use block letters etc. The program needs to be
able to recognise the implication of the different styles used, and
"cleans up" the structure and outputs it in a readable format.
I hope it is more clear this time.

Cheers,
Michael

Jul 20 '05 #4
In article <11************ *********@f14g2 000cwb.googlegr oups.com>,
da*****@hotmail .com writes:
Sorry for not making myself clear. What I'm trying to find is a program
that handles the inconsistent styles used on webpages to imply, e.g.,
headings -- where some people may use large fonts, some may use the
<h1> tag, and some may use block letters etc. The program needs to be


That's a hard AI problem. Incompetent authors abuse presentational
markup when they mean a heading, but someone might also legitimately
present something that isn't a heading as big and bold. That's why
tools like AccessValet highlight cases that look like a bogus
heading (e.g. <p><big>FOO</big></p>) for a human user to decide.

This topic has been done to death on appropriate newsgroups, as
google would have told you. Redirecting this.

P.S. Please fix your news client not to post everything twice.

--
Nick Kew
Jul 20 '05 #5

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

Similar topics

3
3435
by: Kangol kangoll | last post by:
hi, i've been trying to figure out how to make visual basic start extracting text at a certain line to when i tell it to stop. I am making trying to make a program where it extracts text from a text file and inserts it into a database. But right now i'm stuck at finding a way to code it so the text extraction doesn't start till after the second set of dashes, here is part of text file. I want to extract ACL ET AL SNIPELK 8-27-70-18 and so...
0
1318
by: dayzman | last post by:
Hi, I'm interested in a program that extracts the structure of unstructured HTML documents. The program should be able to make good estimates about different font styles used to represent headings, for example, some may use <font size = 24> for headings and some may use <h1>, in the end, both should output the same structure. The output can be in XML or other formats. Manual driving should remain minimal. Does anyone know of such...
2
2540
by: A. Novruzi | last post by:
Hi, I am looking for a free 3D visualization software, running in Linux, and able to visualize 3D functions in nonstructured mesh (basically, my mesh is a set of thetraheders used for some 3D FE computations). Can anyone confirm that indeed MayaVi can visualize 3D functions in nonstructured mesh? I went through the manuals but I didn't find that MayVi can do so.
0
1085
by: hakhan | last post by:
Hello all, How can I convert unstructured flat files into structured XML? Are there any scientific articles and tools that handles this subject? Bye, hakhan
2
2975
by: Jason Huang | last post by:
Hi, Would someone show me how to do the data extraction to Excel in ASP.Net using C# web form? I am not familiar with VB, so I am asking someone to help me out! Any help will be appreciated. Jason
2
1690
by: rick | last post by:
Greetings, I am trying to generate an html table that looks through the following xml source and lists links to all of the files (resource-file) and finds the resource-forms that match those file names and adds the appropriate file description next to the link to the filename. The xslt code that I've included doesn't work but gives an idea of what I'm trying to do. Through my research I believe that using keys and/or template matching...
1
2338
by: James Lehman | last post by:
Hello. I want to write a program that reads AutoCAD shape (font) files. They are written with the convention that hexadecimal values have a leading zero and decimal values do not. All numbers can be negative or positive. All numbers can be stored in a single byte. My questions is: can ifstream extraction into an int see the leading zero and interpret the number as hex and can I ask the ifstream, right after the extraction, if the value I...
16
4352
by: EM.Bateman | last post by:
Working on Visual Studio .Net I've implemented a class: #ifndef CONTRIBUTOR_H #define CONTRIBUTOR_H enum Gender {male=1, female, unk}; #include <iostream> #include <iomanip> #include <string>
1
2297
by: rajc_144 | last post by:
i am doing some research where i need to parse some data from SEC web site. the data is not in xml format and sort of unstructured. can someone recommand me a way to parse this data. i need to gather a lot of filings of the sort which i would rather not do manually. how can i programattically parse these sort of text files? http://www.sec.gov/Archives/edgar/data/1074272/0001074272-08-000001.txt
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
10017
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
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...
0
6793
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5445
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5577
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
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.