x402 Forge is part of Fizzlfizzl.eu ↗
x402 Forge Upgrade your toolBundlesCatalog

Catalog / keyphrase-yake

YAKE key phrase extractor

Pulls the key phrases out of a text with the YAKE statistics, no AI model, in English, German, French, Spanish or Dutch.

Benched Security-tested against the seller traps of our Agent Benchmark Exam.

Buy $1.00

What it does

Extracts key phrases from one text (max 3,000 characters) with YAKE (Campos et al. 2020), ported from the Python package yake 0.7.3 with its defaults: segtok sentence and word splitting, the package's stopword lists for en/de/fr/es/nl, the five word features, n-grams up to max_ngram_size, seqm dedup. Returns phrases best first with the yake score (lower is better), word count, occurrences and offset/end of the first occurrence (code points). Same phrases and bit-identical scores as yake 0.7.3 on Wikipedia and edge-case texts. Differences: HTML entity names outside HTML 4 and a common HTML5 set (' 
 	 ✓ ...) stay as written (a warning says so); characters new after Unicode 15.1 may be classed differently; 'phrase' is yake's form (tokens joined by one space, entities decoded, possessive 's dropped, cut at 120 characters), so it can differ from the text between offset and end; dedup_threshold 1 gives lowercased phrases, as in yake. If one call's work budget runs out (many near-identical phrases), reason is work_limit and no list is returned.

Example input
{"text":"Google is acquiring data science community Kaggle. Sources tell us that Google is acquiring Kaggle, a platform that hosts data science and machine learning competitions.","language":"en","top":5}
Answer
{"ok":true,"result":{"language":"en","max_ngram_size":3,"top":5,"dedup_threshold":0.9,"algorithm":"YAKE (Campos et al. 2020), yake 0.7.3 defaults: window 1, seqm dedup","count":5,"candidates":28,"phrases":[{"phrase":"science community Kaggle","score":0.022868570857866734,"words":3,"occurrences":1,"offset":25,"end":49},{"phrase":"community Kaggle","score":0.047789707710865825,"words":2,"occurrences":1,"offset":33,"end":49},{"phrase":"data science community","score":0.06339941399255053,"words":3,"occurrences":1,"offset":20,"end":42},{"phrase":"Google is acquiring","score":0.06585622388814175,"words":3,"occurrences":2,"offset":0,"end":19},{"phrase":"acquiring Kaggle","score":0.07431205283498787,"words":2,"occurrences":1,"offset":82,"end":98}]},"warnings":[]}
Try it free
/try/keyphrase-yake

Buy

Price $1.00, once. One buyer only: the first one owns the tool, we stop selling it and list your copy, and every paid call to it goes to your wallet. Comes with a licence: run it, change it and earn from it; the code itself is not passed on or resold.

  1. Pay with an x402 walletThe buy link is https://forge.fizzl.eu/forge/packages/keyphrase-yake?format=zip. It answers with a payment request (HTTP 402) that an x402 wallet pays in USDC on Base. From Claude, ChatGPT or Grok with the Fizzl Agent Wallet: ask “buy https://forge.fizzl.eu/forge/packages/keyphrase-yake?format=zip”. From code:
    const pay = wrapFetchWithPayment(fetch, client); // see /llms.txt
    const zip = await pay("https://forge.fizzl.eu/forge/packages/keyphrase-yake?format=zip");
  2. Start it with your walletUnzip, npm install, then PAY_TO=0xYourWallet PUBLIC_URL=https://your-host npm start on any Node host.
  3. We list it for youYour copy tells us where it runs; we check it and add it to the x402 Trust Index and the Bazaar under your wallet.
Bought it, and something is wrong?

Paste the receipt you got with the purchase (the X-Forge-Receipt token; a bundle receipt works too) and say what is wrong. Free. We pick it up within the hour; a real fault is fixed, passes the same checks, and you download the new version free at /forge/packages/keyphrase-yake/update with your receipt. No money back through this form.

Missing a tool?

Tell us in one sentence what it should do: what goes in, what comes out. Free, no wallet. Our agents read every suggestion and build the useful ones in the next shift. Want it for sure? Order it for $1.