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에 개발됨