IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 355-360

International Journal of Research in Information Technology (IJRIT) www.ijrit.com

ISSN 2001-5569

Punjabi Search Engine: Keywords Excavation Sapna Dhiman1, Sumeet Kumar2 1

2

Assistant professor, Department of Computer Science, M. M. Modi College, Patiala, Punjab, India [email protected]

Assistant professor, Department of Computer Science , M. M. Modi College, Patiala, Punjab, India [email protected]

Abstract Today in the modern world, our most powerful weapon is information. Huge amount of data is available on web in the form of electronic newspaper, articles, e-mails and webpages. To retrieve that information from web, a special tool i.e Search Engine is required. Search engine works very fast. The result of search engine depends upon keywords typed by user. If that keyword is present in database of search engine searching will be done otherwise error message is generated. In this paper, Extraction of n-gram Punjabi Keywords Algorithms have been discussed. Extraction will be done on downloaded Punjabi text and after that extracted keywords will be stored in database for searching. Unigram and Bi-gram keywords are taken for database.

Keywords: Information retrieval, Search engine, n-gram, unigram, bi-gram.

1. Introduction There is huge amount of data and information, which is available on web in the form of e-mails, enewspaper, e-books, e-articles and webpages. More over thousands of new documents are created and changed every day across the internet. The amount of information is increases exponentially. So it is necessary to have a special tool, which helps to retrieve correct information from web easily and fast. A search engine is a software program that searches for sites based on the keywords and returns a list of the documents where keywords are found. The search results are usually presented in a list and commonly called hits. The search is fully dependent on keyword which is typed by used i.e user type keyword and search engine displays different web-pages or data for that keyword. But that keyword must be included in database of that search engine. So, the initial stage of any search engine development is to create database based on these keywords. Keywords are the set of significant words and identifying these keywords from large amount of text is also a challenging work[3]. In this paper, we discussed the method to extract of Punjabi keywords from downloaded text. Unigram and Bigram keywords are extracted with their frequency. Unigram is single word while Bigram is combination of two words. The frequency shows how much time that word is found in that particular page.

Sapna Dhiman, IJRIT

355

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 355-360

2. Related Work Gerard Salton was the father of modern search technology. The first SMART information retrieval system was developed by his team Harvard and Cornell[2]. This system includes some important concepts like vector space model, inverse document frequency, term frequency and relevancy feedback mechanisms. Concept of hypertext was included by Ted Nelson in his project Xenadu. There is very short and brief history of search engine is available at web. The first search engine on web is World Wide Web Worm (wwww) introduced by McBryan in 1994[2]. That search engine was followed by some other academic search engines. After the concept of crawler system many search engines are coming in market. Lycos was the search engine is first depending upon this concept. Lycos was designed by Michale Mauldin in 1994. After this Altavista, Dogpile, Ask jeeves, AlltheWeb, Google, Yahoo, MSN Search, Ask.com, GoodSearch, Live Search etc. are coming on web. But all of them Google search engine is very popular for searching information. The working of different search engines is different but all search engines generally perform three task[1,4] • •

They search the Internet -- or select pieces of the Internet -- based on important keywords. They keep an index of the keywords they find, and where they find them.

They allow users to look for keywords or combinations of keywords found in that index.

3. Approach for Extraction Before developing any search engine the main work is to collect and design corpus of that search engine. This corpus helps to decide keywords for search engine. The best source of collecting corpus is internet or direct communication with different persons. Many newspapers, books, Punjabi stories are downloaded from different websites but these web pages include Punjabi and non-Punjabi text. So for our research work, Punjabi text is separated from non-Punjabi text and stored into different files. Unigram and Bigram are extracted from Punjabi text. To extract n-gram keywords from the Punjabi download text, AKHAR software is used. Punjabi text source files are imported into AKHAR software one by one and it generated target files which contain Unigram data with their frequency, then Bigram data with their frequency and then Trigram data. But for our research work, we only use Unigram and Bigram data. Now from these target files Unigram data and Bigram data are stored into two different files, one for all Unigram data and second for all Bigram data. Example of Unigram KyzF, ibËns, mnorMjn, pMjfbI, cMzIgVH, duafbf Example of Bigram pirvfr, ishq pirvfrF, dy plws,sfihq puafD,sMpfdkI Sapna Dhiman, IJRIT

356

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 355-360

poilMg,bUQ qoN,bfad The next and important task is to decide keywords from these two files. These keywords help for searching data and web pages from internet. These Unigram and Bigram can’t be used as keywords because they contain all common and uncommon words. In our Punjabi language 480 words are most common words and these common words are generally not used as keywords. It means our Unigram and Bigram files should not contain these common words. Two separate algorithms are designed for extracted keywords from both files. Some most common Punjabi words are: dy , ƒ, ivc, sI, kI, hn, nhIN, igaf, krn, koeI, kIqf, iewk, hor, huMdf, vflf, ienHF

3.1 Extraction of Unigram keywords Unigram contains single word, hence each string of Unigram file is compared with common words of Punjabi to select Punjabi keywords from them. P is a text file which stores most common 480 words of Punjabi language, U is text file which stores Unigram with frequency, A is 2D array and U1 is also text file in which final output is stored. Working of algorithms is: 1. 2. 3. 4. 5. 6.

File P is open in read mode Read Punjabi string from the file P and stored that string into A Open U in read mode and U1 in write mode Read one by one Unigram string form U and compare it with each 480 strings of A. If match is not found then write that string with its frequency into U1. Read next string from U. If match found, read next string from U and repeat step 4 and 5 for that string till end of file.

The output example of this algorithm provides a file which contains Unigram keywords and not containing any common word. Unigram word

Frequency

pMjfbI pMnHf Pirvfr pirvfrF Aukq AumIdvfr

2 1 2 2 5 15

Table 3.1 Shows unigram keyword frequency

Sapna Dhiman, IJRIT

357

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 355-360

3.2 Extraction of Bigram keywords After completion of Unigram keywords next step is to extract Bigram keywords from Bigram files. In case of Unigram, only one string is taken but in Bigram we have combination of two strings. So we have to compare both strings with common words of Punjabi. P is a text file which stores most common 480 words of Punjabi language, B is text file which stores Bigram with frequency, A is 2D array, w1 and w2 are string variables and B1 is also text file in which final output is stored. Working of algorithms is: 1. 2. 3. 4. 5. 6. 7. 8.

File P is open in read mode Read Punjabi string from the file P and stored that string into A Open B in read mode and B1 in write mode Read each Bigram string form B Stored first string of Bigram into w1 and second in w2 Compare w1 with each string of A , If match is not found then compare w2 with each string of A. If match is not found for both w1 and w2, write these words with their frequency into B1. If match found, exit from the loop and read next string from B and repeat step 4 to 7 for that string till end of file.

This algorithm produces a target file which contains Bigram keywords. Example

Word1

Word2

Frequency

XU

aYn

1

aMg

sMg

3

pMjfbI

pRnIq

1

BfrqI

styt

2

PrIdkot

spn

1

XfdgfrI

iÌlm

1

afÉrI

Xfqrf

7

afÉrI

ivdfeI

1

Table 3.2 Shows Bigram keywords with frequency

Now these Unigram and Bigram keywords are used for searching purpose. They are stored into database. When user typed any keyword on user interface, first of all that keyword is searched into database. If match will be found then searching of web-pages is performed by search engine otherwise an error report is generated by system.

Sapna Dhiman, IJRIT

358

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 355-360

4. Outputs Generated by Algorithms:

Fig 4.1 shows Punjabi unigram table have four columns (i.e. word, frequency, filename and url).

Fig 4.2 shows bigram table have five columns (i.e. word1, word2, frequency, filename and url).

Sapna Dhiman, IJRIT

359

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 355-360

5. Conclusion and Future work For the research most of the text is downloaded from Punjabi Encoded Websites, which consist Punjabi and non-Punjabi text. These methods produce uncommon Unigram and Bigram keywords for database. But this research work will be extended for n-gram keywords. This research is carried out for Punjabi Language only. In future, algorithms for different languages will be generated and implemented. So that database for other languages can be collected.

References: [1] S. Brin and L. Page, “The anatomy of large scale hyper textual web search engine”, in Proceedings of the 7th Internatioanl World Wide Web Conference, Brisbane, Australia, 1998, page no. 107-117. [2] A. Wall, “History of Search Engines: From 1945 to Google 2007”, Search Engine History, 2001, Available at: http://www.searchenginehistory.com/ [3] V. Gupta and G. S. Lehal, “A Survey of Text Mining Techniques and Applications”, Journal of emerging technologies in web intelligence, Vol. 1, No. 1, 2009, pp. 60-76. [4] A. Arasu, J. Cho, H. Garcia-Molina and S. Raghavan, “Searching the Web”, Published by ACM on Inernet Technologies, 2001, Vol. 1, page no. 2-43. [5] Berry Michael W., “Automatic Discovery of Similar Words”, in “Survey of Text Mining: Clustering Classification and Retrieval”, Springer Verlag, New York,, 2004 LLC, pp. 24-43. [6] Sungjick Lee and Han-joon Kim, “News Keyword Extraction for Topic Tracking”, Fourth International Conference on Networked Computing and Advanced Information Management, IEEE, Koria, 2008, pp. 554559. [7] F. Liu, Lu Xiong, “Survey on Text Clustering Algorithm” [8] Charu C. Aggarwal, ChengXiang Zhai, “A Survey of Text Clustering Algorithms”, Mining Text Data, Chapter 4, pp. 1-128.

Sapna Dhiman, IJRIT

360

Punjabi Search Engine: Keywords Excavation ... - IJRIT

IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 355-360 ... 1Assistant professor, Department of Computer Science, M. M. Modi College,. Patiala ... The best source of collecting corpus is.

888KB Sizes 3 Downloads 216 Views

Recommend Documents

Punjabi Search Engine: Keywords Excavation ... - IJRIT
IJRIT International Journal of Research in Information Technology, Volume 2, Issue 3, March 2014, Pg: 355-360 ... 1Assistant professor, Department of Computer Science, M. M. Modi College,. Patiala ... The best source of collecting corpus is.

Optimized Mobile Search Engine - IJRIT
its speed. These feature vectors from the client are then used in RSVM training to ... level can be set to high so that only limited personal information will be included in the feature vectors and passed ..... Internet Technology, vol. ... [17] C.E.

Optimized Mobile Search Engine - IJRIT
IJRIT International Journal of Research in Information Technology, Volume 1, .... So Many existing personalized web search systems are based click through data to .... And this design allows user privacy to be preserved in certain degree. Two.

pdfgeni search engine
Sign in. Loading… Page 1. Whoops! There was a problem loading more pages. pdfgeni search engine. pdfgeni search engine. Open. Extract. Open with. Sign In.

pdfgeni search engine
Sign in. Loading… Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect ...

pdf search engine
Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. pdf search engine. pdf search engine. Open. Extract. Open with.

Search Engine Optimization.pdf
SEO Content Development. SEO content development is the process of creating website content which can come in a. variety of forms, including text (e.g. articles, whitepapers, essays, research documents, tutorials,. and glossaries), infographics (info

Search Engine Optimization
Every website on the internet is created using a programming language called "html". ... As we view the source file from this website, we need to look for a few things. .... Next, click on 2 more graphics throughout your webpage and enter your ...

Denver Search Engine Optimization Firm.pdf
Denver Search Engine Optimization Services. Denver Search Engine Optimization Consultant. Page 3 of 4. Denver Search Engine Optimization Firm.pdf.

Search Engine Optimisation WWW ...
Search Engine Optimisation. WWW.ALLROUNDMARKETINGSOLUTIONS.CO.UK. Contact Details. All Round Marketing Solutions. 113 Goldcroft. Yeovil. Somerset. BA21 4DE. Website: http://www.allroundmarketingsolutions.co.uk. Google Folder: https://goo.gl/vwzwxd. h

Search Engine Optimisation Adelaide.pdf
Sign in. Loading… Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying.

open source pdf search engine
Page 1 of 1. File: Open source pdf search engine. Download now. Click here if your download doesn't start automatically. Page 1 of 1. open source pdf search engine. open source pdf search engine. Open. Extract. Open with. Sign In. Main menu. Displayi

Search Engine Optimisation KWs WWW ...
lead generation on social media https://goo.gl/n1rh6N lead generation on social media lead generation on social media Yeovil lead generation on social media Yeovil lead generation on social media in Yeovil lead generation on social media in Yeovil le

pdf search engine google
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. pdf search ...

the best pdf search engine
Sign in. Loading… Whoops! There was a problem loading more pages. Whoops! There was a problem previewing this document. Retrying... Download. Connect ...

Search Engine Ranking Somerset.pdf
Seo Services for Doctors Somerset. Page 3 of 4. Search Engine Ranking Somerset.pdf. Search Engine Ranking Somerset.pdf. Open. Extract. Open with. Sign In.

Search Engine Optimization Starter Guide
Offer quality content and services. Write better anchor ... (1) The title of the homepage for our baseball card site, which lists the business name and three .... An address on the Internet that indicates the location of a computer or network. These.

pdf search engine website
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. pdf search ...