Main Content

lower

小文字への文書の変換

説明

newDocuments = lower(documents) は、入力文書の各大文字を対応する小文字に変換し、他のすべての文字は未変更のままにします。

すべて折りたたむ

文書の配列内のすべての大文字を小文字に変換します。

documents = tokenizedDocument([
    "An Example of a Short Sentence" 
    "A Second Short Sentence"])
documents = 
  2x1 tokenizedDocument:

    6 tokens: An Example of a Short Sentence
    4 tokens: A Second Short Sentence

newDocuments = lower(documents)
newDocuments = 
  2x1 tokenizedDocument:

    6 tokens: an example of a short sentence
    4 tokens: a second short sentence

入力引数

すべて折りたたむ

入力文書。tokenizedDocument 配列として指定します。

出力引数

すべて折りたたむ

出力文書。tokenizedDocument 配列として返されます。

バージョン履歴

R2017b で導入