Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Speeding Shipping, Improving Compliance – Read the ScanCode Systems Case Study
  #1  
Old July 3rd, 2002, 08:22 AM
jagerkiss jagerkiss is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Yogyakarta, Indonesia
Posts: 22 jagerkiss User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Normalization for Dictionary

I want to know how can I do normalization on a dictionary. What I mean with dictionary here is bilingual dictionary, such as English-French or English-Indonesian dictionary.

I have tried before, but I have difficulties because each word has possibilities to have more than one word type/categories (noun/verb/adjective/etc) and each word has possibilities to have more than one meaning too.

Thanks

Reply With Quote
  #2  
Old July 3rd, 2002, 10:12 AM
DaWizman DaWizman is offline
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 29 DaWizman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 34 sec
Reputation Power: 0
just have more than 2 columns. Have-> english word, french word 1, french word 2, french word 3 etc....

Reply With Quote
  #3  
Old July 3rd, 2002, 11:09 AM
rycamor rycamor is offline
Gödelian monster
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jul 1999
Location: Pembroke Pines, Florida, USA
Posts: 2,298 rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level)rycamor User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 3 Days 1 h 54 m 21 sec
Reputation Power: 41
This is an example of an application that needs to move to 4th Normal Form (4NF), or Boyce-Codd Normal form (info).

Among other things, this lets you take advantage of the "many-to-many" relationship. For example, if you have two separate tables, and you want to relate them, you create a third table that simply matches primary keys from each table, in many rows. This allows for any combination of keys from one table relating to more than one key from the other table, and vice-versa.

Here is a simple tutorial to explain these concepts a little further: http://phpbuilder.com/columns/barry20000731.php3
__________________
The real n-tier system:

FreeBSD -> PostgreSQL -> [any_language] -> Apache -> Mozilla/XUL

Amazon wishlist -- rycamor (at) gmail.com

Reply With Quote
  #4  
Old July 11th, 2002, 05:08 PM
JLavoie JLavoie is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 5 JLavoie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You want to have one table for each language, and a third table that describes how they relate to each other.

English_Def:
eng_ID
word
type
definition

French_Def:
fren_ID
word
type
definition

Translate:
eng_ID
fren_ID


Each row in the language tables would be unique and could stand alone if we removed the IDs. But using an independant key column is what makes joins possible.

If you wanted to include alternate spellings or multiple pronunciations you would remove the word column from the language tables and do:

English_Supp:
eng_ID
spelling
pronounciation

etc.

If you were concerned about accuracy, you could add an ID to the definition tables and/or the tranlation table and create table(s) with the sources.

Reply With Quote
  #5  
Old July 12th, 2002, 09:01 PM
jagerkiss jagerkiss is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2001
Location: Yogyakarta, Indonesia
Posts: 22 jagerkiss User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi JLavoie!
Thanks for your attention. I want to ask, with your table structure, how can you manage words with more than one type, such as 'fly'. 'fly' can be noun and verb. I don't talk about words with more than one meaning. I assume that each word has only one meaning.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Normalization for Dictionary


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway