Title: Context Term Tidier
Author: parakeet
Published: <strong>2019 年 10 月 13 日</strong>
Last modified: 2019 年 10 月 13 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/context-term-tidier.svg)

# Context Term Tidier

 作者：[parakeet](https://profiles.wordpress.org/parakeet/)

[下载](https://downloads.wordpress.org/plugin/context-term-tidier.zip)

 * [详情](https://cn.wordpress.org/plugins/context-term-tidier/#description)
 * [评价](https://cn.wordpress.org/plugins/context-term-tidier/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/context-term-tidier/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/context-term-tidier/#developers)

 [支持](https://wordpress.org/support/plugin/context-term-tidier/)

## 描述

Many WordPress installs suffer from cramming hundreds or thousands of varied taxonomy
terms in to a limited number of ill-suited, all-purpose taxonomies (eg. the default“
categories” and “tags”).

These are better off split in to dedicated taxonomies. For example, storing “Bill
Gates” and “Microsoft” terms in “tags” is not optimal, because one is a _person_
whilst the other is a _company_.

There is no straightforward way to split up existing taxonomies more granularly 
in this way, except for labour-intensive and manual, technical effort. So, many 
WordPress installs continue to suffer from not having created granular taxonomies
intentionally at the outset.

Term Tidier tidies up messy taxonomies like these automatically. It uses natural
language processing and knowledge graph technology to determine the real [entity type](https://gcloud.readthedocs.io/en/latest/_modules/google/cloud/language/entity.html#EntityType)
of existing terms, then re-assigns them each to a more appropriate, alternative 
taxonomy.

### How it works

Term Tidier uses Google Cloud’s Natural Language Processing features via API calls.

Users set a “source taxonomy”, the taxonomy they want to be tidied up.

For each term within that taxonomy, Term Tidier calls Google Cloud to examine the
term name, aiming to return a determination as to its true “entity”.

The plugin receives one of eight “entity” type determinations from Google Cloud –
UNKNOWN, PERSON, LOCATION, ORGANIZATION, EVENT, WORK_OF_ART, CONSUMER_GOOD or OTHER.

For each entity type, users specify a target taxonomy to which a matching term will
be moved. For example, you can map all terms found to be a “LOCATION” to your own“
Places” taxonomy, if it exists.

For each term in the source taxonomy, if a particular entity was determined, Term
Tidier moves the term to your corresponding taxonomy.

#### Usage

Use Term Tidier from the WordPress Tools menu (Tools > Context Term Tidier).

The plugin page confirms your settings as set in Settings, displaying the taxonomy
and terms which will be examined.

Click the “Tidy Terms” button to execute the operation.

Term Tidier will cycle through each term, seeking an “entity” determination and 
re-assigning any terms possible.

## 安装

Term Tidier is a WordPress plugin. You can either:

 * Download the package, unzip it and upload the `cxt-term-tidier` folder to the`
   wp-content/plugins/`.
 * Upload the downloaded .zip package through the WordPress admin’s plugin uploader.
 * Install the plugin directly from the plugin Directory.

Once uploaded, Activate the plugin.

#### Settings

Term Tidier settings must be set in the WordPress admin, via the page at “Settings
> Context Term Tidier”.

#### Google Cloud API key

Term Tidier is powered by Google Cloud Natural Language. You need an account. Follow
the instructions in Settings to create an account, then copy and paste your API 
key in to Settings.

Google Cloud currently provides up to 5,000 monthly API calls for free. That means
you can tidy 5,000 WordPress taxonomy terms per month for free. Higher usage than
this may incur billing.

#### Source taxonomy

Select the taxonomy you want to examine and tidy up in the dropdown.

#### Re-assign terms

Select a target taxonomy to which terms to be of a particular entity type (UNKNOWN,
PERSON, LOCATION, ORGANIZATION, EVENT, WORK_OF_ART, CONSUMER_GOOD or OTHER) will
be moved

## 评价

此插件暂无评价。

## 贡献者及开发者

「Context Term Tidier」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ parakeet ](https://profiles.wordpress.org/parakeet/)

[帮助将「Context Term Tidier」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/context-term-tidier)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/context-term-tidier/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/context-term-tidier/)，或通过[RSS](https://plugins.trac.wordpress.org/log/context-term-tidier/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/context-term-tidier/)。

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**7 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 3.1.0 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  PHP 版本 ** 5.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/context-term-tidier/)
 * 标签
 * [tags](https://cn.wordpress.org/plugins/tags/tags/)[taxonomies](https://cn.wordpress.org/plugins/tags/taxonomies/)
   [terms](https://cn.wordpress.org/plugins/tags/terms/)
 *  [高级视图](https://cn.wordpress.org/plugins/context-term-tidier/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/context-term-tidier/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/context-term-tidier/reviews/)

## 贡献者

 *   [ parakeet ](https://profiles.wordpress.org/parakeet/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/context-term-tidier/)