{"Entry":{"collection":"func","key":"ts-lexize","name":"ts_lexize","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.3"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"84933e9168f47cfd1ed39441680699df8d9b4f314048536da4c6871a53e8d2f1","first_version":"8.3","group":"textsearch","group_label":"Text Search Functions And Operators","groups":["textsearch"],"imported_at":"2026-09-27T17:57:28.723648+08:00","last_version":"20","name":"ts_lexize","name_key":"ts_lexize","position":12016,"present_in":["8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"signature":"ts_lexize ( dict regdictionary, token text ) → text[]","signature_count":1,"slug":"ts-lexize","source_rev":"b7bd9cda","summary":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word.","summary_zh":""}},"Definition":{"Collection":"func","Key":"ts-lexize","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"ts-lexize","SourceRevision":"b7bd9cda","Facts":{"description":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","description_html":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. Dictionary Testing\"\u003eSection 12.8.3\u003c/a\u003e for details.","description_zh":"","description_zh_html":"","doc":{"anchor":"TEXTSEARCH-FUNCTIONS-DEBUG-TABLE","file":"functions-textsearch.html","slug":"18"},"group":"textsearch","group_label":"Text Search Functions And Operators","lang":"en","layout":"table-new","pages":["functions-textsearch.html"],"prose_only":false,"signatures":[{"description":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","description_html":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. Dictionary Testing\"\u003eSection 12.8.3\u003c/a\u003e for details.","description_zh":"","description_zh_html":"","examples":[{"expr":"ts_lexize('english_stem', 'stars')","result":"{star}"}],"html":"\u003ccode class=\"function\"\u003ets_lexize\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003edict\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregdictionary\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etoken\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext[]\u003c/code\u003e","returns":"text[]","text":"ts_lexize ( dict regdictionary, token text ) → text[]","zh_from":""}],"zh_from":""},"ManualEvidence":{"doc":{"anchor":"TEXTSEARCH-FUNCTIONS-DEBUG-TABLE","file":"functions-textsearch.html","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"ts-lexize","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"ts_lexize","Summary":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回NULL。详情参见第 12.8.3 节。","BodyHTML":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回NULL。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" rel=\"nofollow\"\u003e第 12.8.3 节\u003c/a\u003e。\u003cpre\u003ets_lexize ( dict regdictionary, token text ) → text[]\u003c/pre\u003e如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回NULL。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" rel=\"nofollow\"\u003e第 12.8.3 节\u003c/a\u003e。","SourceRevision":"ca936764","ContentHash":"383ac12432878ce37abb48e96a4ea9cab4ac7d301112742a92db60d00f5dedca","Payload":{"description_zh":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回NULL。详情参见第 12.8.3 节。","description_zh_html":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回NULL。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. 词典测试\"\u003e第 12.8.3 节\u003c/a\u003e。","signatures":[{"description_zh":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回NULL。详情参见第 12.8.3 节。","description_zh_html":"如果词典识别输入词元，则返回由替换词位组成的数组；如果词典识别该词元，但它是停用词，则返回空数组；如果词典无法识别该词元，则返回NULL。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. 词典测试\"\u003e第 12.8.3 节\u003c/a\u003e。","returns":"text[]","text":"ts_lexize ( dict regdictionary, token text ) → text[]","zh_from":"doc"}],"zh_from":"doc"}},"RequestedLocale":"zh-Hans","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"703b0ea499d9dc39a096a708f97cbecb24516b7b9e602705f423947143cece9c","Text":"ts_lexize ( dict regdictionary, token text ) → text[]","Returns":"text[]","Payload":{"description":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See Section 12.8.3 for details.","description_html":"Returns an array of replacement lexemes if the input token is known to the dictionary, or an empty array if the token is known to the dictionary but it is a stop word, or NULL if it is not a known word. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-DICTIONARY-TESTING\" title=\"12.8.3. Dictionary Testing\"\u003eSection 12.8.3\u003c/a\u003e for details.","description_zh":"","description_zh_html":"","examples":[{"expr":"ts_lexize('english_stem', 'stars')","result":"{star}"}],"html":"\u003ccode class=\"function\"\u003ets_lexize\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003edict\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eregdictionary\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003etoken\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003etext[]\u003c/code\u003e","returns":"text[]","text":"ts_lexize ( dict regdictionary, token text ) → text[]","zh_from":""}}],"Spellings":null,"SQLState":null,"Evidence":null}
