Wikifunctions:NLG functions
Appearance
See also: Wikifunctions:Catalogue/Natural_language_operations, Category:Natural language generation functions and Wikifunctions:Abstract Wikipedia/2025 fragment experiments
Before creating your first NLG function, please read the dos and don'ts
Helper functions
Germanic languages
See also: WF:human languages#Indo-European
Helpers for Germanic languages. Green checkmark means done and at least 2 tests pass.
Fragment functions
| Function | Outer function | Selector function | ar | ary | bn | cs | dag | de | en | eo | es | eu | fa | fr | hi | hr | id | ig | it | ja | ko | la | lb | ldn | ms | nds | nl | pl | pt | pt-br | ru | sr | sv | tlh | tr | uk | uz | zh-hans |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Intro for year | Z20898 | Z20896 | Z31572 | Z28378 | Z32588 | Z20767 | Z20727 | Z20597 | Z33245 | Z30638 | Z31322 | Z30306 | Z21590 | |||||||||||||||||||||||||
| Indef noun phrase | Z21760 | Z21733 | Z33395 | Z20612 | Z21734 | Z20707 | Z20706 | Z20702 | Z20704 | Z33063 | Z29945 | Z22710 | Z30894 | Z22710 | ||||||||||||||||||||||||
| "[gender] is a [country] [professional]" | Z21802 | Z21795 | Z30857 | Z21765 | Z21791 | Z30643 | Z30868 | |||||||||||||||||||||||||||||||
| "[name], a [role] from [country], " | Z30647 | missing, must be created by staff | Z21862 | |||||||||||||||||||||||||||||||||||
| Ranked subject with class fragment | Z30649 | missing, must be created by staff | Z21805 | |||||||||||||||||||||||||||||||||||
| Subject is instance of | Z26039 | Z26043 | Z27324 | Z26572 | Z34427 | Z26712 | Z26088 | Z27259 | Z26337 | Z26562 | Z26617 | Z26704 | Z26513 | Z32671 | Z27283 | Z26723 | Z27490 | Z30598 | Z26717 | Z27924 | Z27209 | Z26671 | Z26340 | Z27209 | Z27244 | |||||||||||||
| Subject is kind of | Z26095 | Z26096 | Z34487 | Z27258 | Z27249 | Z23410 | Z27396 | Z27102 | Z32967 | Z30654 | Z29356 | Z27209 | Z27209 | |||||||||||||||||||||||||
| Emdash instantiating sentence | Z27209 | missing, must be created by staff | ||||||||||||||||||||||||||||||||||||
| Classifying a class of nouns | Z26627 | Z27126 | Z27502 | Z29384 | Z27454 | Z27122 | Z33083 | Z29548 | Z32250 | Z27244 | ||||||||||||||||||||||||||||
| Indefinite noun phrase with adjective | Z22664 | Z21733 | Z33079 | Z20612 | Z21734 | Z20707 | Z20706 | Z20702 | Z20704 | Z33063 | Z29945 | Z22710 | Z22710 | |||||||||||||||||||||||||
| SPO sentence, S without and O with article | Z26955 | missing, must be created by staff | ||||||||||||||||||||||||||||||||||||
| Describe the class of a class | Z27173 | Z29628 | Z30040 | Z29629 | Z27188 | Z30302 | ||||||||||||||||||||||||||||||||
| Description of class with adjective and superclass | Z29743 | Z29813 | Z33267 | Z30333 | Z29773 | Z33087 | Z30337 | |||||||||||||||||||||||||||||||
| Describing entity with adjective / class | Z29591 | Z29597 | Z33267 | Z30347 | Z29594 | Z41657 | Z30410 | |||||||||||||||||||||||||||||||
| Development/manufacturing/series/class sentence | Z41678 | Z41689 | Z41682 | Z41679 | ||||||||||||||||||||||||||||||||||
| State location using entity and class | Z26570 | Z29843 | Z26707 | Z32698 | Z30484 | Z30397 | Z27219 | Z32442 | Z32152 | Z30534 | Z32287 | |||||||||||||||||||||||||||
| Superlative definition | Z27243 | Z29841 | Z32973 | Z33260 | Z29010 | Z32243 | ||||||||||||||||||||||||||||||||
| Ordinal class location fragment | Z27627 | Z29844 | Z29849 | Z40287 | Z32175 | |||||||||||||||||||||||||||||||||
| Number of objects phrase | Z27137 | Z27147 | ||||||||||||||||||||||||||||||||||||
| Cardinal in chosen language | Z16437 | Z16435 | Z16172 | Z16150 | Z15963 | Z13587 | Z16431 | Z16093 | Z16085 | Z16053 | Z23003 | Z16409 | Z16313 | Z15567(satu for all place velues)Z33165(prefix "se-") | Z16163 | Z15965 | Z16398 | Z22620 | Z24618 | Z16008 | Z16185 | Z15953 | ||||||||||||||||
| Ordinal in chosen language | Z26829 | Z27129 | Z19629 | Z19132 | Z14526 | Z18746 | Z19343 | Z27131 | Z23855 | Z30603 | Z26121 | |||||||||||||||||||||||||||
| defining role sentence | Z28016 | Z28020 | Z28049 | Z28018 | Z28026 | Z28052 | Z32355 | Z30609 | Z30671 | |||||||||||||||||||||||||||||
| Year-specific sentence from statement | Z28436 | Z28435 | Z28432 | Z40769 | Z30638 | |||||||||||||||||||||||||||||||||
| short description for album | Z28803 | Z28806 | Z28811 | Z28784 | Z29156 | Z33156 | Z33299 | Z30813 | Z29134 | Z28977 | ||||||||||||||||||||||||||||
| something begins | Z31405 | Z31407 | Z31451 | |||||||||||||||||||||||||||||||||||
| follows/followed by sentence | Z41716 | Z41715 | Z41707 | Z41701 | ||||||||||||||||||||||||||||||||||
| Dated event sentence from Wikidata | Z42091 | Z42090 | Z42082 | Z41982 | ||||||||||||||||||||||||||||||||||
| Uses property values as roles-sentence | Z42466 | Z42464 | Z42438 | Z42315 | ||||||||||||||||||||||||||||||||||
| Price sentence from Wikidata | Z42220 | Z42219 | Z42208 | Z42158 | ||||||||||||||||||||||||||||||||||
| Multiple property values sentence | Z42537 | Z42536 | Z42519 | Z42479 | ||||||||||||||||||||||||||||||||||
| Property value alternatives sentence | Z42590 | Z42591 | Z42576 | Z42575 | ||||||||||||||||||||||||||||||||||
| Supported item with qualifier sentence | Z42605 | Z42630 | Z42603 | Z42602 | ||||||||||||||||||||||||||||||||||
| Material by part sentence | Z42726 | Z42745 | Z42724 | Z42723 | ||||||||||||||||||||||||||||||||||
| Qualifier of property value sentence | Z42757 | Z42776 | Z42755 | Z42754 | ||||||||||||||||||||||||||||||||||
| Predicate from Wikidata values sentence | Z42891 | Z42893 | Z42879 | Z42878 |
| |||||||||||||||||||||||||||||||||
| Definition depends on sentence | Z42779 | Z42793 | Z42789 |
| ||||||||||||||||||||||||||||||||||
| Qualifier as subject sentence | Z42948 | Z42947 | Z42943 | Z42941 | ||||||||||||||||||||||||||||||||||
| Property values as roles with a relation sentence | Z42975 | Z42974 | Z42970 | Z42968 | ||||||||||||||||||||||||||||||||||
| Preferred value and reason sentence | Z43164 | Z43166 | Z43162 | Z43161 | ||||||||||||||||||||||||||||||||||
| Sentence with a discourse adverbial | Z43188 | Z43189 | Z43186 | Z43185 | ||||||||||||||||||||||||||||||||||
| Counted property values with a relation sentence | Z43221 | Z43223 | Z43219 | Z43218 | ||||||||||||||||||||||||||||||||||
| Qualifier of each value sentence | Z43299 | Z43301 | Z43297 | Z43296 | ||||||||||||||||||||||||||||||||||
| Property values by place sentence | Z43329 | Z43331 | Z43327 | Z43326 | ||||||||||||||||||||||||||||||||||
| Possessed-subject relation sentence | Z44093 | Z44092 | Z44021 | Z43964 | ||||||||||||||||||||||||||||||||||
| Relation sentence with groups of things | Z44178 | Z44174 | Z44167 | Z44164 | ||||||||||||||||||||||||||||||||||
| Relation sentence with counted values | Z44240 | Z44239 | Z44226 | Z44222 | ||||||||||||||||||||||||||||||||||
| Clause stating a relation | Z44365 | Z44364 | Z44346 | Z44337 | ||||||||||||||||||||||||||||||||||
| Heading listing items | Z44447 | Z44442 | Z44374 | Z44307 |
- Check functions in English
Romance languages
French
- Check functions in French
Latin
- Check functions in Latin
Generic
- Check Generic functions