Text classification and words histogram

i have some data texts (describe device failures) and i want to classify them.
for example (all texts=10 : battery failures = 3 power failures =4 display failures = 1 others = 2)
how I can do this?

4 个评论

you have not gotten any answer to this question because
1) the actual file is not attached so we can't try out any code
2) you have not shown what you have done to try to solve it
3) it is not clear how you want to do the classification and in which format you have the data (i.e. one code per text or per line or per ...?)
thank you for your answer.
I really do nothing in this, as i didn't know how to begin.
i want to classify each row, the data is about some failures of devices, i want to classify them like. ( ex: 1st row is battery failure , 2nd row is display failure , 3 is cable failure ...and so on )

请先登录,再进行评论。

回答(1 个)

Ran Wei
Ran Wei 2018-1-10
If you know that's all the cases you can have you can copy the word file to an excel sheet and use the filter function in excel by typing keywords.

类别

帮助中心File Exchange 中查找有关 Text Data Preparation 的更多信息

回答:

2018-1-10

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by