En vous promenant sur Beamreactor, nous stockons votre IP 48h pour des raisons de sécurité.

Lecteur Markdown

get_words Documentation › GET_WORDS_DOCUMENTATION_EN

GET_WORDS_DOCUMENTATION_EN

Feature: Get Words #

Keyword frequency analyser. Takes a title and content as input, returns the most frequent words after stopword filtering. Title words are weighted 3× to favour meaningful terms.

---

Installation and Configuration #

Via FTP: Upload the `get_words/` directory into `/plugins/`.

Via package manager: Select `get_words` from the available plugins list.

Paths:

  • Main plugin: `/plugins/get_words/get_words.php`
  • Configuration: `/plugins/get_words/conf/get_words.conf.inc.php`
  • Library: `/plugins/get_words/lib/get_words.lib.inc.php`

Configuration parameters:

| Variable | Default | Description |

|---|---|---|

| `$basedisplevel` | `BASE_LEVEL_USER` | Minimum required level |

| `$ftype` | `5` | Plugin type (tools) |

---

Usage #

Interface #

Form with:

  • Title field
  • Content textarea
  • Analyse button

Results #

Table sorted by descending word frequency, after:

  • Stopword removal (10 FR/EN words by default)
  • Filtering: length 3–22 characters, occurrence > 2
  • Weighting: each title occurrence counts triple

Exposed class #

`WordCounter` (namespace `Beamreactor\GetWords`):

WordCounter::analyze(string $title, string $content, string $lang = 'fr'): array

---

Hooks and Entry Points #

?obj=get_words.php    — Analysis interface

Submitted via POST (`title` + `content`).

---

Dependencies #

No external dependencies. Pure PHP processing.

de en fr