도움말 센터도움말 센터
스칼라 문서를 string형 벡터로 변환
words = string(document)
예제
words= string(document)는 스칼라tokenizedDocument를 단어로 구성된 string형 배열로 변환합니다.
words= string(document)
words
document
tokenizedDocument
모두 축소
토큰화된 스칼라 문서를 단어로 구성된 string형 배열로 변환합니다.
document = tokenizedDocument("an example of a short sentence")
document = tokenizedDocument: 6 tokens: an example of a short sentence
words =1x6 string"an" "example" "of" "a" "short" "sentence"
입력 문서로, 스칼라tokenizedDocument객체로 지정됩니다.
출력 단어로, string형 벡터로 반환됩니다.
context|doclength|doc2cell|joinWords|tokenizedDocument
context
doclength
doc2cell
joinWords
이 예제의 수정된 버전이 있습니다. 사용자가 편집한 내용을 반영하여 이 예제를 여시겠습니까?
다음 MATLAB 명령에 해당하는 링크를 클릭했습니다.
명령을 실행하려면 MATLAB 명령 창에 입력하십시오. 웹 브라우저는 MATLAB 명령을 지원하지 않습니다.
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select:.
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office