Ask your own question, for FREE!
Computer Science 31 Online
OpenStudy (anonymous):

İ need a function for a search machine, that this function should find the most-looking like string values to the users input, example: if user writes "Math" this function must find the "mathematics" keyword and match it to the pertinent links and list them, then another function should list them on screen :d

OpenStudy (anonymous):

I'm sure this would not be the best way to do it. But what i would do is to make use of AJAX to scan the values as user types in the forum and pass it to a server script (I prefer Python), Then use regular expressions to match it with predefined tags and return those using Javascript and display them back to the browser.

OpenStudy (anonymous):

but if theres many datas, i think that that would take fun, so that i think that i can catogarize the names of types under of the users inputs, that will be easier to this function work i mean that mathematicsz, math problems.. should be under of the catogory maths (keyword) that it will make 2 x faster to search and the functoin will list everything under the catagory

OpenStudy (anonymous):

Yeah that would greatly maximize your search efficiency.

OpenStudy (anonymous):

errr but i dunno Python :) i know C# and Vb.NET...

OpenStudy (anonymous):

an dyou know? i am only 14 years old ^^

OpenStudy (anonymous):

That's nice to hear. Learn Python man... I strongly recommend it for its productivity and is really fun. It will take a maximum of 2 days to get accustomed with it and write some highly productive code.

OpenStudy (anonymous):

Python is especially good for beginners as it resembles to pseudocode style

OpenStudy (anonymous):

ahm but Can i make it to work with .NET? (and i started dto learn programming when I was 12 not a begginner :) coded some 2 d games in C# and XNA :) ) and also know C++ too

OpenStudy (anonymous):

but whats the avantage of using Python??

OpenStudy (anonymous):

Hmmm. Frankly speaking, I'm not a big fan of M$ and their stuff man. In fact i hate them and i'm inclined to Free/Open Source software. So i am will not be able to Answers your questions on C# or .NET (I'm sorry) But what i can do is to highlight the advantages of using Python. Python is a very high level programming languages, which unlike C++ handles most of the memory related issues by garbage collection. It has one of the big hacker community crunching out thousands of modules every day. Its officially supported by google and most of the management stuff like build management, source code version control system, even the most hyped google app engine, runs on Python because of High productivity. It also a lot cleaner than other languages and verbose only up to the required extent (unlike C++ or Java). Here are some links which you may need to take a look at http://www.python.org/about/ http://www.linuxjournal.com/article/3882

OpenStudy (anonymous):

sorry, had to go out of the building, give me some mins to read it ^^

OpenStudy (anonymous):

ok thx and ill learn python as fast as i can (after you understand the logic of the programming its easy to learn languages :D ) but, my webpage will be an .aspx, :(

OpenStudy (anonymous):

and i don'T know javascript too :(

OpenStudy (anonymous):

and I don'T know much about web progrramming that if you have some usefull links can you write them here?

OpenStudy (anonymous):

I strongly recommend you to start web programming by going through the tutorials on HTML, Javascript at http://www.w3schools.com/ . If you are serious on web programming, you will need to know XML, HTML, Javascript, (Java or Python or Perl or Ruby or M$ Stuff like .NET etc..). You clear the basics from the above sites and can then master them by practise :)

OpenStudy (anonymous):

Thank you much ^^ do you have an email adress or msn?? i would like to add you mybe ill have some good questions to ask ^^

OpenStudy (anonymous):

and err ^^ how can this search engine match catogories with user input? i have some reative ideas

OpenStudy (anonymous):

You can contact me at 'srinathsmn <at> gmail.com'. I'm not sure on your question, if the following answer does not suffice, please explain the question with greater verbosity. When i was in my information retrieval class last semester, i read a concept called stemming, in which words like Mathematics, Maths, Math, Math etc... will be pointing to a particular keyword 'math' or a couple of keywords. based on which the web pages will be classified as. I used the following free book for information retrieval http://nlp.stanford.edu/IR-book/information-retrieval-book.html may be a glance on it may clear your ideas :)

OpenStudy (anonymous):

i think that we need an array string[stringnumber(for example 5 in maths)] it should collate string[stringnumber] with userinput[stringnmber] as strings if there is more then stringnumber/2 strings balanced then it should list the datas in same category with it ^^ and it should also look at uncatogorized keywords too

OpenStudy (anonymous):

ty ^^

OpenStudy (anonymous):

I'm not sure about your approach for millions of keywords man. I think it would drain your memory. May be you can use some distributed key value stores and then store values like key-value pair (ex) Math = [Maths, Mathematics,Math,....] <which would be a list> or use several layers for categorisation of stem words. I strongly dont recommend the first method as it would be necessary to scan over the entire list of values.

OpenStudy (anonymous):

hmm logical

OpenStudy (anonymous):

Then tihs will like Catogories>keywords>links YEA?

OpenStudy (anonymous):

for example Math>Mathmematics>www.math.com, www.mat4fun.com... and a list of these links should emerge on screen :D

OpenStudy (anonymous):

but if there is milliars of datas and catogories in your database this will harm your engine... so that namespace>catogories>matematics>links should be better i think

OpenStudy (anonymous):

one namespace can include more then 1 catogory, when it finds the true namepscae it can colalte catogories and then list troe links on screen

OpenStudy (anonymous):

Kinda like that, I'm sure that would be more efficient and also learn the index techniques from the link i gave above (information retrieval book). it illustrates some of the best methods to categorise data Definitely millions of data would drain your engine. Hence you must make use of distributed processing (using frameworks like Hadoop). An open source search engine is known at Nutch is a good project for you to read its architecture on searching. It can be reached at http://nutch.apache.org/ . Regarding name space , Treat the URL as key which you will eventually end up having millions of links (They will be unique as you are considering the full URL), You then make use of distributed computing infrastructures to crush them for you. If you are really into search engines. Then you might want to learn about google's infrastructure for storing the indexed data using Bigtable ( http://labs.google.com/papers/bigtable.html) It would be helpful to gain some practical experience using Redis ( http://redis.io/) a simple key value store in C

OpenStudy (anonymous):

thank you much ^^ and will read these as fast as i can ^^

OpenStudy (anonymous):

It would be my pleasure to help you in these context as i myself will be working on Data Analysis for the final year project :)

OpenStudy (anonymous):

:) which universe you in?

OpenStudy (anonymous):

You mean which country? I'm from India

OpenStudy (anonymous):

no no the name of the universty you are in (my fault :( )

OpenStudy (anonymous):

I'm doing my B.E. in CSE at Thiagarajar College of Engineering, Affiliated to Anna Univ

OpenStudy (anonymous):

kk ^^

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
YoungBlood: pfp wonu2019t let me switch
1 hour ago 1 Reply 0 Medals
Austinsbabygirl4life: Do you think guys would survive on periods?
3 hours ago 22 Replies 2 Medals
alyviahwillis: if anyone has any questions feel free to DM me... I don't mind at all.
6 hours ago 0 Replies 0 Medals
Rosee5656: how do I level up!??!? >,
4 hours ago 14 Replies 4 Medals
Abby13915: I made an alpaca for my fashion club
9 hours ago 3 Replies 0 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!