summaryrefslogtreecommitdiffstats
path: root/content/en/functions/singularize.md
blob: 8ca46d4330c07e5f345e9c9f3d0df637b8aacfb7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
title: singularize
# linktitle: singularize
description: Converts a word according to a set of common English singularization rules.
date: 2017-02-01
publishdate: 2017-02-01
lastmod: 2017-02-01
categories: [functions]
menu:
  docs:
    parent: "functions"
keywords: [strings,singular]
signature: ["singularize INPUT"]
workson: []
hugoversion:
relatedfuncs: []
deprecated: false
aliases: []
---

`{{ "cats" | singularize }}` → "cat"

See also the `.Data.Singular` [taxonomy variable](/variables/taxonomy/) for singularizing taxonomy names.