+ All Categories
Home > Documents > Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

Date post: 03-Jun-2018
Category:
Upload: krazymax
View: 217 times
Download: 0 times
Share this document with a friend

of 46

Transcript
  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    1/46

    Upgrade and Extension of the MORE Search Engine for E-

    Commerce with Country Specific Search

    Project Report for fall 2006 submitted to the

    Department of Computer Science, College of Computing Sciences

    New erse! "nstitute of #echnolog!

    "n Partial $ulfillment of the re%uirements for the

    Degree of &aster of Science in Computer Science

    Submitted

    '!

    Arjun Rajaraman

    Project Adisor! "r# $ames %e&&er

    Proposa& 'um(er! )))-*+)-,+,

    'ew $ersey nstitute of .echno&ogy

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    2/46

    2

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    3/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    4/46

    A3S.RAC.

    1commerce toda! is reaching e-er! person who wants to either bu! or sell products o-er

    the "nternet) Considering a large population all o-er the world that wants to do business

    through the internet, there ma! be people from different communities and languages who

    are in-ol-ed in these interactions) 'u!ers from different countries are more comfortable

    using their own language for communication) So, when a seller wants to sell his products

    in another countr! where the nati-e language is different, he would want to maimi3e his

    profits b! spea4ing their language) 5eeping this in mind, a project for de-eloping a

    search ebsite began 78 that will help users to search for their items in the language

    the! prefer) Not onl! that, it will pro-ide countr! specific searches that will narrow down

    the results which will be of more rele-ance to the user) So, the goal is to focus searching

    on 1commerce ebsites and ha-e multilingual displa!s of them)

    n application called &ultilingual 9ntolog! Research 1commerce *&9R1/ s!stem has

    been de-eloped 78 b! integrating eb translation ser-ices and the +oogle search engine

    P") #he pre-ious &9R1 s!stem lets the user t!pe an! search terms in his.her own

    language but searches the "nternet with another specified language and lets the user add

    1commerce terms into the search string so that the search results are from 1commerce

    ebsites onl!) "n this project " ha-e etended the &9R1 s!stem so that it will pro-ide to

    the user countries to choose from, to be able to narrow down the search to that particular

    countr!) " ha-e pro-ided a friendlier user interface for eas! understanding and better

    na-igation) " ha-e also etended the &9R1 s!stem b! incorporating Spanish search

    capabilit!)

    :

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    5/46

    .a(&e of Contents2 9-er-iew)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))));

    )( 9ntolog! Creation))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))((: &! Contribution))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))(:

    :)( Countr! Specific Search &odule)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))(:

    :)2 $ront 1nd

    :): Changes to the ?elp $acilit!))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))(;

    :)=

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    6/46

    1 Introduction

    #oda! man! business transactions are sent and recei-ed o-er the internet, because it is

    fast, cheap and consumes fewer resources) 1-er! compan! toda! is loo4ing to launch

    their own ebsite while some forerunners are loo4ing to include more ser-ices through

    their ebsites) 'usiness toda! runs on the internet) $or businesses wishing to get that

    competiti-e ad-antage, a multilingual ebsite now presents one of the most high impact

    means of epanding a client base and securing greater sales -olumes)7(8 'usinesses find

    it to be the most effecti-e wa! of reaching out to customers) #o ma4e it more customer

    friendl! what better wa! than to spea4 their nati-e languageE ust imagine if !ou could

    browse the internet b! searching for words in !our own language and find results that are

    displa!ed in the language !ou want them to be displa!ed) #he ad-antages are -er! clear,

    such as Cost effecti-eness, new customers, more competiti-eness, higher sales, etc) #he

    following chart shows the percentage of users of -arious languages using the "nternet)

    $igure (B Statistics of online language population 728

    6

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    7/46

    s we can see from $igure (, about half the pie is occupied b! languages other than

    1nglish) #o cater to this large population companies toda! are loo4ing to customi3e their

    ebsites so that multilingual re%uests can be answered appropriatel!) #he eb browser

    should support this facilit! and the ser-er must be able to identif! the browserFs language

    re%uest)

    #his project primaril! includes two modules, Countr! Specific search and Summar!

    #ranslation ser-ices 7=8 which ha-e been integrated into the eisting &9R1 s!stem)

    >

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    8/46

    2 Overview

    1commerce has brought the world closer together and made more products accessible

    toda!) 1-er!thing can be bought.sold o-er the internet) "t is a booming business and still

    has a lot of potential growth left in it) Sellers would li4e their products or ser-ices to

    etend to an! countr!Fs bu!ers in the world, but the! cannot create their ebsites in

    other languages) ser-ice with the capabilit! of helping both sellers and bu!ers of

    different languages to reach each other will sol-e this problem to a considerable etent)

    7:8

    ?ow do the current search engines wor4G #he search engines use PageRan4 technolog!

    which has a crawler mechanism that ran4s the pages -isited based on some mathematical

    formula) So when a user wants to search for a particular string, the string is used b! the

    search engine to search all the eb pages cached b! the crawler) "t doesnFt concentrate

    on an! particular ebsite) hen an 1commerce ebsite has to be searched eplicitl!,

    this wonFt help) "t doesnFt e-en cater to countr! specific searches) $or eample, if a

    customer wants to bu! a +erman car, if he searches for it through a normal search engine,

    he will get millions of hits most of them containing irrele-ant information) Hou e-en get

    the dri-ing directions in +erman! which the customer is not loo4ing for) #o be able to

    bu! something of his choice the customer has to pass through geographical and language

    barriers) #raditional search engines such as +oogle or ltaIista are programmed in such

    a wa! that the! return the ebJpages containing search terms without regard to the

    geographic location of where these pages or companies pro-iding these ser-ices are

    ;

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    9/46

    actuall! located 7:8) Hahoo and &SN recentl! ha-e come up with a local search that

    concentrates searching for local business and ser-ices within the area specified)

    #his situation ma4es it -er! difficult for the suppliers and consumers) #he supplier cannot

    sell his products and the consumer canFt bu! them) &oreo-er, the! do not cater to the

    needs of nonJnati-e spea4ers tr!ing to access information in a language foreign to them

    7:8) &oreo-er, there is no eisting Search 1ngine that is targeted onl! to 1JCommerce

    ebJsites and their customers) #his can also wor4 as a deterrent to customers because

    the! are often forced to ma4e a compromise between %ualit! of the product the! want to

    bu! and mone! and search effort the! can spend) #here is a current need to tac4le these

    -ital issues and pro-ide a wa! of information access and retrie-al that is beneficial to

    customers as well as sellers)

    #his project incorporates a multilingual eb browser in order to cater to the needs of 1J

    Commerce customers and a tool that can circum-ent these problems and present the

    information in the most accessible manner to consumers) #he project is based on

    9ntolog! of -arious languages and aims at sol-ing these problems ma4ing online

    shopping eas! and affordable to customers and profitable to business portals) Countr!

    Specific Search is used in order to locate the 1JCommerce ebsites selling products

    which are specific to those geographic locations) #he search engine crawls through these

    ebJsites and presents the results to the customers) ebJsites that are different than the

    "nput Kanguage used b! the Customer to produce the results ha-e their Summar!

    translated in the "nput Kanguage 7=8) #his will greatl! increase the ease with which 1J

    Commerce transactions can be done o-er the orld ide eb) 9ur approach differs

    A

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    10/46

    from eisting location based ser-ices in that we donFt loo4 for local sources but for the

    best sources in the best countr! for this product)

    (0

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    11/46

    3 Previous Work

    Currentl! there is an interface 78 for searching with three categories of search Simple,

    d-anced and Regular) Simple and d-anced searches are used to search for 1commerce

    ebsites while the Regular feature is used for a normal eb search) #he user enters a

    term in the search field and then selects one among the three input languages listed in the

    dropdown menu) #he user can then select the output language and the interface displa!s

    the result in the output language chosen) ith the Simple search, basic 1commerce terms

    such as Credit card are appended to the userFs input term for searching in 1commerce

    ebsites onl!)

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    12/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    13/46

    flowchart of the search term processing and decision flow is shown in $igure :)

    $igure :B $lowchart of project 78

    (

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    14/46

    4 My Contribution

    4.1 Country Specific Search Module

    #he pre-ious &9R1 s!stem did not ha-e the capabilit! of performing a countr! specific

    search) So when the bu!er or supplier is loo4ing for products to sell or bu! in the same

    countr! or in different countries the! would find it -er! difficult to narrow down the

    search to a particular countr!) Countr! Specific search capabilit! allows the user to

    search 1Jcommerce ebsites of an! particular countr!)

    Countr! Specific search a module " de-eloped from scratch and integrated it into the

    current eisting search engine) "t is an etension to the &ultilingual 9ntolog! Research

    1commerce S!stem b! which it pro-ides the capabilit! of searching in an! specific

    countr!) $or eample, if the user wants to search for cars in "ndia, then b! simpl!

    specif!ing L"ndiaF in the LSelect a countr!F dropdown, the s!stem will displa! results

    from the countr! "ndia onl!) s a result, from o-er one million ebsites, the search is

    reduced to fort! thousand)

    #he Countr! Specific search module is easil! scalable, i)e) in the future an! new countr!

    can be added b! just adding their names and appropriate -alues in the dropdown) #he

    default -alue is blan4 which will displa! results from

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    15/46

    "ndia, ustralia, 'ra3il, Canada, Chile, China, +erman!, 1g!pt, ?ong 5ong, "tal!, Sri

    Kan4a, Pa4istan, Russia and Singapore) $igure = shows results of using ustralia in the

    search string)

    $igure =B Search results using ustralia in the search string

    4.2 Front End User Interface

    " ha-e gi-en the entire front end a new loo4 and feel) #he interface is shown in $igure 6)

    #he design pro-ides a friendlier user interface with eas! to use lin4s and dropdowns) #he

    results page pro-ides a lin4 called LNewPageF which helps to reduce the number of clic4s

    and opens each lin4 on a new window) '! doing so, the user can open windows side b!

    side for comparison and faster na-igation)

    (=

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    16/46

    #he list of dropdowns is,

    "nput KanguageB #he language, the search is performed in)

    Summar! KanguageB #he language the results are show in)

    Select a countr!B #he countr! to search the eb in)

    9utput KanguageB #he found eb page is displa!ed in output language once the

    user decides on this lin4)

    $igure 6B

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    17/46

    " created the new L&9R1F logo shown in $igure > and the L1commerce #ermsF heading

    shown in $igure ; using dobe PhotoShop)

    $igure >B &9R1 Kogo

    $igure ;B 1commerce terms heading

    4.3 Introduction of Spanish Ecoerce !ers

    " ha-e created a new search language, namel! Spanish) 9nce the Spanish language has

    been selected as the input language, the Ld-anced 1commerce termsF lin4, will displa!

    words in Spanish which the user can select and append to the search term) #he Spanish

    class hierarch! is partiall! shown in the Prot@g@ window in $igure A)

    (>

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    18/46

    $igure AB Spanish Class ?ierarch!

    4.4 Changes to the "elp Facility

    #he contents of the ?elp facilit! in the front page ha-e been modified to reflect the

    etended features of the current &9R1 s!stem) #he etended features include answers to

    %uestions on Countr! Specific search and Summar! #ranslation ser-ices with figures to

    help understand the s!stem better) $igure (0 shows the new help feature of the &9R1

    s!stem)

    (;

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    19/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    20/46

    4.( )or*ings of the Ipro+ed MO$E syste

    #he &9R1 s!stem, with m! impro-ements has the following featuresB

    o &ultilingual search 78 *Kanguages J +erman, Russian, Spanish, and 1nglish/

    o Countr! Specific Search *Countries J ustralia, "ndia, +erman!, Russia, China

    etc/) See section :)( for details on Countr! Specific search)

    o Summar! #ranslation 7=8 *+erman, Russian, Spanish, and 1nglish/

    $igure = shows the current user interface of the &9R1 s!stem) #o loo4 for LcarsF in

    L"ndiaF with input language L1nglish,F summar! language LRussian,F output language

    L+ermanF follow these steps)

    #!pe in LcarF in the Search #erm tetbo)

    (/ $rom the "nput Kanguage dropdown select L1nglishF

    2/ $rom the Summar! Kanguage dropdown select LRussianF

    / $rom the Select a Countr! dropdown select L"ndiaF

    :/ $rom the 9utput Kanguage dropdown select L+ermanF

    Kea-e #!pe of search LRegularF for now)

    hen !ou hit L+oF the output is shown in $igure (0) s !ou can see, the results are

    shown in the Summar! Kanguage *1nglish/, when !ou clic4 on an! of the result lin4s, the

    result will appear in the 9utput Kanguage *+erman/ and when !ou clic4 on the LtranslateF

    lin4, the results will appear in "nput Kanguage *Russian/) 'abelfish 7=8 has been used for

    the translation purposes)

    20

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    21/46

    $igure ((B Snapshot of Regular Search results)

    Hou will also notice that the results are countr! specific, in this case L+erman!F onl!) #he

    domain LdeF is searched for ebsites related to LcarF and displa!ed)

    #o perform a more specific 1commerce search, !ou can select L1commerce SimpleF or

    L1commerce d-anced)F '! selecting 1commerce Simple, Credit card, Iisa and &aster

    Card are appended to the search string and result is that 1commerce ebsites are

    returned as shown in $igure (2) hen the 1commerce d-anced option is clic4ed a

    popup window opens and allows !ou to append more 1commerce terms to the search

    string) #he result is shown in $igure ()

    2(

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    22/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    23/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    24/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    25/46

    e!erences

    7(8 httpB..websiteJdesign)mcdar)net.0;=0)php, &arch 26, 2006)

    728 Prot@g@ #utorial,

    httpB..www)coJode)org.resources.tutorials.Protege9K#utorial)pdf, &arch 26, 2006)

    78 5uoJchuan ?uang, De-elopment of eb 9ntologies as Data 1change and

    Decision Support #ools to $acilitate 1conomic Cooperation between

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    26/46

    "ppendi# "$ %ser M&nu&l

    "1 'et up (o)c&t 'erver

    Set up a ser-er to run a-a.SP for this projectB

    *#hese steps appl! to N"# $S ser-ers) $ollow these steps to set up a tomcat ser-er in

    !our own N"# home director!) Please see httpB..web)njit)edu. for more details)/

    () "nstall #omcat Ser-erB

    Set up a regular ebsite *s4ip this step if !ou ha-e set up a ebsite in N"#

    alread!/B

    Kog in to $S account, run home)page)setup to set up a ebsite)

    #he s!stem will create a director!, called publicMhtml, where !ou can host !our

    entire eb page) Create a simple eb page called inde)html in the publicMhtml

    folder, then in the eb browser, t!pe httpB..web)njit)edu.!ouraccount to see if it

    wor4s)

    2) Set up a #omcat ser-er *must finish step ( first/

    Kog in to !our $S account and run Otomcat)setupO to install #omcat Ser-er)

    #he s!stem will create a subdirector!, 1'J"N$, under the publicMhtml

    director!)

    )

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    27/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    28/46

    2) #ranslate terms to other language)

    "n the translation file, english)tt *see abo-e steps for producing this file/, each

    line has two columns, separated b! the char OQO, representing one ecommerce term

    in two languages)

    Hou need to input the new translated term right after the char OQO) &ultiJword terms

    ma! N9# contain an! spaces)

    "f !ou need an! space within a term, use underscore, OMO, instead)

    "f there is no corresponding word to the original term, please cop! the original

    term instead) DonOt create a new nonJeistent term in the other language *donOt

    lea-e it blan4 either/)

    Do not use duplicate terms) "f two or more original terms ha-e the same meaning

    in the translation, use different words) Prot@g@ does not allow duplicate classes in

    the same file)

    Sa-e the file in plain tet format *

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    29/46

    o prot@g@)jar J the Prot@g@ P" librar! file)

    o russian)tt or german)tt *see step 2 for creating these 2 files/

    Put all the re%uired files in the same director!) *n! director! in !our computer or

    N"# $S s!stem)/

    Run Lja-a 1commerce optionsF, where options are as followingB

    o oBoutput$ileName, for eample, oBrussian will produce a russian)pprj

    Prot@g@ file)

    o iBinputProtege$ile, for eample, iBenglish will read the english)pprj

    9ntolog!)

    o dBdelimiter, the delimiter used in the translation file) #he default is LQF, and

    !ou usuall! donFt need to change it)

    o tBtranslation$ile, for eample, tBrussian)tt will read all terms from

    russian)tt)

    o wBowl$ile, the output 9K file name)

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    30/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    31/46

    #hen log on to the ai host, and go to the director! where !ou ha-e the

    9ntolog!Ser-er)class file)

    RunB ja-a 9ntolog!Ser-er T) process number is returned when the s!stem

    starts the ser-ice) rite down the number, !ou might need it later)

    #he program will run as a bac4ground ser-ice without stopping) #o stop the

    program, use L4ill JA processUF command) ProcessU is the number from the last

    step)

    #o chec4 if the 9ntolog! Ser-er is running correctl!, go to the &9R1 interface

    and clic4 on the 1commerce Search *d-anced/ option) "f the 1commerce 1ntit!

    window pops up, the ser-er is running)

    #he 9ntolog! Ser-er is running in the bac4ground now)

    (

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    32/46

    "ppendi# +$ 'ource Code

    +1 eco))erceOntolo*y,-sp

    VE public String get9ption*String s, String d, String -, String c/W

    String rst X YY if*sXXnull/W

    if*d)e%uals"gnoreCase*-//W

    rst ZX Yoption -alueX[YY Z - ZY[Y selectedY Z c Z Y.optionY \

    else rst ZX Yoption -alueX[YY Z - ZY[YY Z c Z Y.optionY

    \

    elseW

    if*s)e%uals"gnoreCase*-//Wrst ZX Yoption -alueX[YY Z - ZY[Y selectedY Z c Z Y.optionY

    \ else rst ZX Yoption -alueX[YY Z - ZY[YY Z c Z Y.optionY

    \

    return rst\

    V

    VE public String getChec4ed*String p, String -, String c/W if *pXXnull/ return c

    elseW

    if*p)e%uals"gnoreCase*-// return Ychec4edY else return YY \\V

    VE public String getSelection*String s, String d/W

    String rst X YY rst ZX get9ption*s,d,YeY,Y1nglishY/

    rst ZX get9ption*s,d,YgY,Y+ermanY/

    rst ZX get9ption*s,d,YrY,YRussianY/ rst ZX get9ption*s,d,YsY,YSpanishY/

    rst ZX get9ption*s,d,YfY,Y$renchY/

    return rst

    \

    V

    VE public String get#erm*String p/Wif*pXXnull/ return YY else return p\ VV

    re%uest)setCharacter1ncoding*YutfJ;Y/

    response)setCharacter1ncoding*Y

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    33/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    34/46

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    35/46

    function open?elp*/W

    m!window X window)open *YhttpB..web)njit)edu.agt2.htmlfile.help)htmY,

    Ym!windowY,YlocationX0,statusX0,scrollbarsX(, widthX600,heightX600,resi3ableX(Y/m!window)focus*/

    \

    function get9ntolog!*/W

    search#!pe X YY

    m!window X window)open *Ywait)htmlY, Ym!windowY,YlocationX0,statusX0,scrollbarsX(, widthX;00,heightX600,resi3ableX(Y/

    m!window)focus*/

    set#imeout*Om!window)location X Ypop

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    36/46

    -ar tt X new get9bj*Ostatus&sgO/

    -ar ttRst X new get9bj*OresultSectionO/

    tt)st!le)displa! X Ybloc4Y ttRst)st!le)displa! X YnoneY

    \

    .scriptst!le t!peXYtet.cssY

    EJJ

    bod!,td,th WfontJfamil!B rial, ?el-etica, sansJserif

    colorB U000000

    \

    bod! Wbac4groundJcolorB U$$$$$$

    \

    aBlin4 W

    colorB U00$$\

    aB-isited WcolorB UAA0000

    \

    aBho-er WcolorB U0066

    \

    )st!le2 W fontJfamil!B rial

    fontJsi3eB (0pcolorB UAAAAAA

    \

    )st!le WcolorB U$$0000

    fontJst!leB italic

    \JJ

    .st!le

    '9DH K"N5XYU$$0000Y onKoadXYload$orm*/Y

    C1N#1R

    #'K1 widthXY6:Y heightXY(0;Y '9RD1RX0 '+C9K9RXYU$$$$$$Y

    #R#? widthXY:Y heightXY(0:Y bordercolorXYU$$$$$$Y bgcolorXYU$$$$$$YCKSSXY#"#K1Yimg srcXYhttpB..web)njit)edu.ar2:=.&9R1)jpgY widthXY:2Y

    heightXY(2=Y altXYCannot Koad PictureY.th

    #? widthXY>=Y bordercolorXYU$$$$$$Y bgcolorXYU$$$$$$YCKSSXY#"#K1YTnbsp.th

    #? widthXY2((Y bordercolorXYU$$$$$$Y bgcolorXYU$$$$$$Y

    CKSSXY#"#K1Ya hrefXYhttpB..www)google)comYimg

    6

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    37/46

    srcXYhttpB..web)njit)edu.ar2:=.njitJgoogle)gifY altXYCannot Koad PictureY widthXY200Y

    heightXY>;Y borderXY0Y.a.th

    .tr.#'K1JJ b&ultiligual 9ntolog! Reaching 1commerce S!stem.b JJ span

    classXYst!leYblin4strongN9 "#? C9=Y heightXY(>Y

    table widthXY>=Y borderX( bgcolorXYU$$$$$$Y

    tr bgcolorXYUAA66;;Ytd widthXY(:(Y alignXright bordercolorXYU000000Y

    bgcolorXYU$$$$$$Y#ermB .td td widthXY(;;Y bordercolorXYU000000Y bgcolorXYU$$$$$$Yinput t!peXYtetY

    nameXYtermY -alueXYVX get#erm*term/ VY.td

    td widthXY(2>Y alignXright bordercolorXYU000000Y bgcolorXYU$$$$$$Y"nput

    Kanguage_B .td td widthXY26(Y bordercolorXYU000000Y bgcolorXYU$$$$$$Yselect nameXYlangY

    idXYlangY onChangeXYlangChanged*OlangO/Y VX getSelection*lang,YeY/ V

    .select.td.tr

    tr bgcolorXYUddddddYtd heightXY2(Y alignXright bordercolorXYU000000YbgcolorXYU$$$$$$Y9utput Kanguage_B .td

    #d bordercolorXYU000000Y bgcolorXYU$$$$$$Yselect nameXYsearchlangY

    idXYsearchlangY onChangeXYlangChanged*OsearchlangO/Y

    VX getSelection*searchlang,YrY/ V .select

    label.label.td

    td rowspanXY2Y alignXright bordercolorXYU000000Y bgcolorXYU$$$$$$YResultsB.td

    td rowspanXY2Y bordercolorXYU000000Y bgcolorXYU$$$$$$Yinput t!peXYradioY

    nameXYsearch#!peY idXYsearch#!peY -alueXYDY VX getChec4ed*search#!pe,YDY, YY/V onClic4XYsimple9ntolog!*/Y1commerce Search *Simple/br

    input t!peXYradioY nameXYsearch#!peY idXYsearch#!peY -alueXYY VX

    getChec4ed*search#!pe,YY, YY/ V onClic4XYget9ntolog!*/Y1commerce Search

    *d-anced/brinput t!peXYradioY nameXYsearch#!peY idXYsearch#!peY -alueXYY VX

    getChec4ed*search#!pe,YY, Ychec4edY/ V onClic4XYwebSearch*/YRegular eb

    Search .td.trtr bgcolorXYUddddddY

    td alignXright bordercolorXYU000000Y bgcolorXYU$$$$$$YSelect Countr! .td

    #d bordercolorXYU000000Y bgcolorXYU$$$$$$Yselect nameXYcountr!YidXYcountr!Y

    option selected.option

    option -alueXYinY"ndia.option

    option -alueXYauYustralia.option

    >

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    38/46

    option -alueXYbrY'ra3il.option

    option -alueXYcaYCanada.option

    option -alueXYaeY

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    39/46

    "nteger pno X new "nteger*re%uest)getParameter*YpageY//

    int pn X pno)intIalue*/ ..String search X term

    .. out)println*YSearch results in countr! *Y Z m!Ial Z Y/Y/

    ..String %uer! X YhttpB..www)chineseworld)comY String url X YhttpB..www)onlineJtranslator)com.tet)aspG

    langXenTstatusXtranslateTdirectionXYZlangZsearchlangZYTtemplateX+eneralTsourceXY

    ..String %uer! X

    YlangXenTstatusXtranslateTdirectionXYZlangZsearchlangZYTtemplateX+eneralTsourceX

    Y

    String tran

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    40/46

    out)println*Y *Y Z ets Z Y/brY/

    ..out)println*et)get&sg*//

    out)println*Yhr colorXredY/

    ..the following form must math with the abo-e form

    out)println*Yform actionX[YYZm!$ile ZY[Y methodX[Ypost[YonSubmitX[YshowStatus*/[YY/

    out)println*Yinput t!peX[Yhidden[Y nameX[YontKang[Y -alueX[YY Z ontKang Z Y[YY/

    out)println*Ytable borderX0 cellspacingX0 cellpaddingX0alignXright#r#dPageB.tdY/

    out)println*Yinput t!peX[Yhidden[Y nameX[Yterm[Y -alueX[YY Z get#erm*term/ Z Y[YY/

    out)println*Yinput t!peX[Yhidden[Y nameX[Ylang[Y -alueX[YY Z lang Z Y[YY/

    out)println*Yinput t!peX[Yhidden[Y nameX[Ysearchlang[Y -alueX[YY Z searchlang ZY[YY/

    out)println*Yinput t!peX[Yhidden[Y nameX[Ye#erms[Y -alueX[YYZ e#ermsZY[YY/

    if*search#!pe EX null/

    out)println*Yinput t!peX[Yhidden[Y nameX[Ysearch#!pe[Y -alueX[YY Z search#!peZ Y[YY/

    int iX0

    while **i_(0 count/ TT *i20//W iZZ

    if*iXXpn/ out)println*Ytd font colorXred si3eX2Y Z i Z Y.font .tdY/

    elseW

    out)println*Ytdinput t!peX[Ysubmit[Y nameX[Ypage[Y -alueX[YY Z i Z Y[YY/out)println*Y st!leX[YfontJsi3eB ;pt colorB purple [Y.tdY/

    \

    \

    out)println*Y.tr.table.formbrY/

    if*rXXnull/ out)println*YN

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    41/46

    \

    out)println*Y.ulY/

    \ ..out)println*Y sindeB Y Z g)getStart"nde*//

    ..out)println*Y langB Y Z g)getKanguageRestricts*//

    ..out)println*Y rstB Y Z r)toString*// \

    V

    .di-table widthXYA>(Y

    tr

    td widthXY(6;Y alignXYcenterYTnbsp.td

    td widthXY>A(Y alignXYcenterYspan classXYfootnote st!le2Y&aintained b! ahrefXYhttpB..ucsJ

    twi4i)njit)edu.twi4i.bin.-iew.+ellereb.1conomicCooperationY1C9&&1RC1

    +roup.a)'R

    Cop!right 2006 New erse! "nstitute of #echnolog! (02JA;A= *A>/ =A6J000 .span.td .tr

    .table

    pTnbsp.p.'9DH

    .?#&K

    :(

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    42/46

    +2 .elp,/t)l

    htmlhead

    titlehat is eb 9ntolog! Search 1ngine.titlelin4 relXYst!lesheetY t!peXYtet.cssY hrefXYcssfile)cssY .

    .headbod!

    tr

    tddi- idXYna-igationY

    ul

    lia hrefXYhelp)html.UhatYhat is the &ultilingual9ntolog! Research 1commerce S!stem.a.li

    lia hrefXYhelp)html.U?owY?ow this Search 1ngine

    wor4sG.a.lilia hrefXYhelp)html.UCanYCan we input and output optionin the same languageG.a.li

    lia hrefXYhelp)html.UhatisYhat is a 1commerce Search

    option doesG.a.lilia hrefXYhelp)html.UCanweYCan we use the &ultilingual

    9ntolog! Research 1commerce

    S!stem as a regular search engineG.a.lilia hrefXYhelp)html.U?owcanY?ow can !ou ma4e the search YCountr! SpecificYG

    .a.li

    lia hrefXYhelp)html.U?owdoesY?ow does YSummar! #ranslationY wor4G.a.li

    br.ul

    .di-

    .tdtd

    p nameXYhatYbhat is a eb 9ntolog! Search 1ngineG.bbr

    #his is a search engine but not a regular one) Hou can search 1commercewebsites in

    different languages using &ultilingual 9ntolog! Research 1commerce).

    brbr

    img borderX0 widthX;6 heightX620srcXYmore()jpgY -BshapesXYM0000Ms(02=Y

    brbr

    nameXY?owYb?ow this Search 1ngine or4sG.b.br

    Hou can search different language websites using &ultilingual 9ntolog!Research 1commerce) Hou can t!pe a

    1nglish term in input tetbo and !ou can get search sites in Russian, +erman,

    :2

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    43/46

    Spanish or $rench or -ice -ersa) br

    br

    nameXYCanYbCan we ha-e input and output option in the samelanguagesG.b.br

    No,

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    44/46

    "ppendi# C$ Files

    C1 'p&nis/,t#t

    1CommerceM1ntit!Q1ntidadMDeM1Commerce

    ccountQCuenta'an4Q'ancoCreditMcardQ#arjetaMdeMcr@dito

    ccountM"nformationQ"nformacinMDeMlaMCuenta

    ccountMNumberQNmeroMDeMCuenta1pirationQ1piracin

    ChargeQCarga

    ChargeM'ac4QCargaMDetrs?andlingM$eeQ?onorarioMDeMDireccin

    PriceQPrecio

    ShippingQ1n-o

    #aQ"mpuesto#ransactionM$eeQ?onorarioMDeMlaM#ransaccin

    ContactM"nformationQ"nformacinMDelMContacto

    ddressQDireccin1mailQ1mail

    $aQ$a

    NameQNombrePhoneQ#el@fono

    Countr!QPas

    mericaQm@rica

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    45/46

    ResponseQRespuesta

    KanguageQKengua

    1nglishQ"ngl@s

  • 8/12/2019 Upgrade and Extension of the MORE Search Engine for E-Commerce with Country Specific Search

    46/46

    PartialM$inishQ$inalMParcial

    PendingQPendiente


Recommended