Have a look at the way a spelling checkers works. They create a 16bit hash that you can store in memory, roughly 115k bytes * 2. The Z order in the hash table directly correlates to a word and can be searched super fast. As a side benefit, if you use the same hash algorithm as a spelling checker you get all of the similar sounding words / phrases.
--- In artificialintelligencegroup@yahoogroups.com, "Daniel" <daniel.burke@...> wrote:
>
> I have been designing a new chatbot and I wanted to discuss data structures.
>
> How do you store data so that it can be:
>
> 1) Searched quickly
> 2) Maintain associate links with related topics
> 3) Allow easy questioning such as "what is a x", or "how big is a x". Allow for easy comparisons such as "is x similar to y" "How fast is x"
> 4) No rely on third party apps such as SQL because I want full control of the database and do not want installation hassles.
>
> Any thoughts or ideas would be useful.
>
> Dan
>
Sinema
Blog Archive
- April 2024 (1)
- August 2023 (1)
- February 2023 (3)
- November 2021 (1)
- September 2021 (1)
- August 2021 (1)
- July 2021 (1)
- April 2021 (1)
- December 2020 (1)
- November 2020 (1)
- August 2020 (2)
- February 2020 (1)
- January 2020 (1)
- December 2019 (1)
- November 2019 (1)
- November 2018 (4)
- October 2018 (3)
- September 2018 (3)
- August 2018 (1)
- July 2018 (5)
- June 2018 (3)
- May 2018 (1)
- April 2018 (5)
- March 2018 (5)
- February 2018 (7)
- January 2018 (7)
- December 2017 (3)
- November 2017 (10)
- October 2017 (7)
- September 2017 (7)
- August 2017 (13)
- July 2017 (5)
- June 2017 (5)
- May 2017 (6)
- April 2017 (11)
- March 2017 (14)
- February 2017 (10)
- January 2017 (6)
- December 2016 (6)
- November 2016 (14)
- October 2016 (13)
- September 2016 (10)
- August 2016 (4)
- July 2016 (10)
- June 2016 (9)
- May 2016 (13)
- April 2016 (10)
- March 2016 (14)
- February 2016 (14)
- January 2016 (9)
- December 2015 (5)
- November 2015 (19)
- October 2015 (10)
- September 2015 (15)
- August 2015 (9)
- July 2015 (9)
- June 2015 (7)
- May 2015 (12)
- April 2015 (19)
- March 2015 (20)
- February 2015 (16)
- January 2015 (6)
- December 2014 (9)
- November 2014 (6)
- October 2014 (11)
- September 2014 (18)
- August 2014 (6)
- July 2014 (13)
- June 2014 (11)
- May 2014 (9)
- April 2014 (17)
- March 2014 (10)
- February 2014 (13)
- January 2014 (10)
- December 2013 (9)
- November 2013 (16)
- October 2013 (17)
- September 2013 (13)
- August 2013 (8)
- July 2013 (8)
- June 2013 (11)
- May 2013 (11)
- April 2013 (20)
- March 2013 (9)
- February 2013 (10)
- January 2013 (14)
- December 2012 (9)
- November 2012 (10)
- October 2012 (8)
- September 2012 (16)
- August 2012 (47)
- July 2012 (13)
- June 2012 (11)
- May 2012 (21)
- April 2012 (106)
- March 2012 (18)
- February 2012 (10)
- January 2012 (15)
- December 2011 (4)
- November 2011 (40)
- October 2011 (34)
- September 2011 (48)
- August 2011 (38)
- July 2011 (38)
- June 2011 (59)
- May 2011 (63)
- April 2011 (86)
- March 2011 (40)
- February 2011 (36)
- January 2011 (36)
- December 2010 (43)
- November 2010 (43)
- October 2010 (60)
- September 2010 (58)
- August 2010 (77)
- July 2010 (71)
- June 2010 (41)
- May 2010 (32)
- April 2010 (45)
- March 2010 (56)
- February 2010 (57)
- January 2010 (57)
- December 2009 (57)
- November 2009 (58)
- October 2009 (59)
- September 2009 (40)
- August 2009 (61)
- July 2009 (59)
- June 2009 (63)
- May 2009 (63)
- April 2009 (86)
- March 2009 (13)
İnternet
Friday, September 30, 2011
[Artificial Intelligence Group] Re: Data structures
Re: [Artificial Intelligence Group] Data structures
Thanks, OK I will.
Dan
--- In artificialintelligencegroup@yahoogroups.com, ahmad reza hosseiny <sahhosseiny@...> wrote:
>
> hi dan
> Â
> please read related topics: ANTOLOGY AND SEMANTIC WEB IN ARTIFICIAL INTELLIGENCE
> Â
> regard
> ahmad hosein
>
> --- On Thu, 9/22/11, Daniel <daniel.burke@...> wrote:
>
>
> From: Daniel <daniel.burke@...>
> Subject: [Artificial Intelligence Group] Data structures
> To: artificialintelligencegroup@yahoogroups.com
> Date: Thursday, September 22, 2011, 1:03 PM
>
>
> Â
>
>
>
> I have been designing a new chatbot and I wanted to discuss data structures.
>
> How do you store data so that it can be:
>
> 1) Searched quickly
> 2) Maintain associate links with related topics
> 3) Allow easy questioning such as "what is a x", or "how big is a x". Allow for easy comparisons such as "is x similar to y" "How fast is x"
> 4) No rely on third party apps such as SQL because I want full control of the database and do not want installation hassles.
>
> Any thoughts or ideas would be useful.
>
> Dan
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Mathaba Highlights Briefing (News Alerts) - “Rage Against the System” plus 7 more
Mathaba Highlights Briefing (News Alerts) - “Rage Against the System” plus 7 more | |
- Rage Against the System
- As Promised: Jamahiriya Exerts Control Over Tripoli, Routing CIA, NATO, 'Rats'
- Abbas and Fayyad: Collaborationist Israeli Allies
- Obama and Netanyahu to Palestinians on Statehood: Go to Hell
- An Emergency Program for Anti-Wall Street Protestors: Don’t Let Soros Hijack the Movement
- Update on the war against Libya and Africa - September 28th
- NTC Lies, The alleged Mass Graves of Abu Salim contain nothing but Camel Bones
- Netherlands extends war against Libya, spends millions on NATO missile shield
Posted: 30 Sep 2011 02:01 AM PDT |
As Promised: Jamahiriya Exerts Control Over Tripoli, Routing CIA, NATO, 'Rats' Posted: 29 Sep 2011 11:09 PM PDT As Promised: Jamahiriya Exerts Control Over Tripoli, Routing CIA, NATO, 'Rats' |
Abbas and Fayyad: Collaborationist Israeli Allies Posted: 29 Sep 2011 09:01 PM PDT |
Obama and Netanyahu to Palestinians on Statehood: Go to Hell Posted: 29 Sep 2011 07:01 PM PDT |
An Emergency Program for Anti-Wall Street Protestors: Don’t Let Soros Hijack the Movement Posted: 29 Sep 2011 03:01 PM PDT |
Update on the war against Libya and Africa - September 28th Posted: 29 Sep 2011 10:33 AM PDT Update on the war against Libya and Africa - September 28th |
NTC Lies, The alleged Mass Graves of Abu Salim contain nothing but Camel Bones Posted: 29 Sep 2011 06:01 AM PDT NTC Lies, The alleged Mass Graves of Abu Salim contain nothing but Camel Bones |
Netherlands extends war against Libya, spends millions on NATO missile shield Posted: 29 Sep 2011 04:01 AM PDT Netherlands extends war against Libya, spends millions on NATO missile shield |
You are subscribed to email updates from Mathaba News Briefing (Alerts) To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
Thursday, September 29, 2011
Mathaba Highlights Briefing (News Alerts) - “Recent Libya-Related Video Updates From Morris Herman” plus 10 more
Mathaba Highlights Briefing (News Alerts) - “Recent Libya-Related Video Updates From Morris Herman” plus 10 more | |
- Recent Libya-Related Video Updates From Morris Herman
- The Truth about AIDS: The start of the White War against Black Africa
- Canada extends its aggression on Libya to the end of the year
- Venezuela condemns U.S., NATO, UN over Libya War at UN General Assembly
- Libya: Illustrious corpses -- the truth is always revolutionary
- Sanctions: Cut the Globalists Off From Humanity
- Al Qaeda LIFG terrorist Abdul Belhaj writes column for London Guardian Newspaper
- War-happy David Cameron is a worthy successor to Tony Blair
- Mathaba Reader Appeal
- Women of the World, Join Brave Libyan Women for Womanitarianism
- Muammar Gaddafi: Libya will never belong to traitors, Libya will be a hell for them
Recent Libya-Related Video Updates From Morris Herman Posted: 29 Sep 2011 02:01 AM PDT Recent Libya-Related Video Updates From Morris Herman |
The Truth about AIDS: The start of the White War against Black Africa Posted: 28 Sep 2011 11:01 PM PDT The Truth about AIDS: The start of the White War against Black Africa |
Canada extends its aggression on Libya to the end of the year Posted: 28 Sep 2011 09:01 PM PDT Canada extends its aggression on Libya to the end of the year |
Venezuela condemns U.S., NATO, UN over Libya War at UN General Assembly Posted: 28 Sep 2011 07:01 PM PDT Venezuela condemns U.S., NATO, UN over Libya War at UN General Assembly |
Libya: Illustrious corpses -- the truth is always revolutionary Posted: 28 Sep 2011 05:01 PM PDT Libya: Illustrious corpses -- the truth is always revolutionary |
Sanctions: Cut the Globalists Off From Humanity Posted: 28 Sep 2011 03:01 PM PDT Sanctions: Cut the Globalists Off From Humanity |
Al Qaeda LIFG terrorist Abdul Belhaj writes column for London Guardian Newspaper Posted: 28 Sep 2011 01:01 PM PDT Al Qaeda LIFG terrorist Abdul Belhaj writes column for London Guardian Newspaper |
War-happy David Cameron is a worthy successor to Tony Blair Posted: 28 Sep 2011 11:01 AM PDT War-happy David Cameron is a worthy successor to Tony Blair |
Posted: 28 Sep 2011 09:01 AM PDT |
Women of the World, Join Brave Libyan Women for Womanitarianism Posted: 28 Sep 2011 07:19 AM PDT Women of the World, Join Brave Libyan Women for Womanitarianism |
Muammar Gaddafi: Libya will never belong to traitors, Libya will be a hell for them Posted: 28 Sep 2011 04:42 AM PDT Muammar Gaddafi: Libya will never belong to traitors, Libya will be a hell for them |
You are subscribed to email updates from Mathaba News Briefing (Alerts) To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
News. Design: Vida de bombeiro
Vida de bombeiro
Recipes
Informatica
Humor
Jokes
Mensagens
Curiosity
Saude
Video Games
Car Blog
Animals
Diario das Mensagens
Eletronica
Rei Jesus
News
Noticias da TV
Artesanato
Esportes
Noticias Atuais
Games
Pets
Career
Religion
Recreation
Business
Education
Autos
Academics
Style
Television
Programming
Motosport
Humor News
The Games
Home
Downs
World News
Internet
Car
Design
Entertaimment
Celebrities
1001 Games
Doctor Pets
Net Downs
World Enter
Jesus
Variedade
Mensagensr
Android
Rub
Letras
Dialogue
cosmetics
Genexus
Car net
Só Humor
Curiosity
Gifs
Medical
Female
American
Health
Madeira
Designer
PPS
Divertidas
Estate
Travel
Estate
Writing
Computer
Matilde
Ocultos
Matilde
futebolcomnoticias
girassol
lettheworldturn
topdigitalnet
Bem amado
enjohnny
produceideas
foodasticos
cronicasdoimaginario
downloadsdegraca
compactandoletras
newcuriosidades
blogdoarmario