24/7 Support: 800.608.6482

Get Started

Developer Docs

keyword_extract

MivaScript Builtin Function, Miva Merchant 9+

Tag / Description

keyword_extract( string, keywords var )

<mvt:assign name="g.return_value" value="keyword_extract( string, keywords var )" />

Given a string, will extract keywords from it. Skipping SGML tags and stemming words (e.g., "running" becomes "run", but "bring" is not changed), the unique list of keywords are placed in the keywords as an array. Also, some common english words (the articles, "for" "are", etc.) are removed. Note that there are some words may stem unexpectedly (e.g., "has" transforms to "ha").

Parameters

  • string

    Populates the keywords array and returns number of elements.

  • keywords var

Return Values

Examples

Miva believes that all online businesses should have access to a scalable ecommerce platform that can meet their unique business requirements. Miva offers PCI compliant ecommerce, hosting, and custom website design and development solutions. Miva customers have processed over $100 billion in online sales since 1997.

Copyright © 2016 Miva, Inc - All Rights Reserved   Privacy Policy | Store Policy

Links
Contact Us
Receive Tips & Updates

Copyright © 2016 Miva, Inc - All Rights Reserved

Back To The Top