Skip to content
Prev 365878 / 398502 Next

Why is DocumentTermMatrix showing 0 term?

Thanks Ista. See codes below. I am not sure why the DTM is showing 0 term. I have 4 documents in the corpus. And I was able to make transformations

to the documents inside the corpus.
[1] "case1.txt" "case2.txt" "case3.txt" "case4.txt"
<<DocumentTermMatrix (documents: 4, terms: 0)>>
Non-/sparse entries: 0/0
Sparsity           : 100%
Maximal term length: 0
Weighting          : term frequency (tf)

        
Message-ID: <BN6PR06MB3025B0DDD8A6B88F88A2B0F2B9820@BN6PR06MB3025.namprd06.prod.outlook.com>
In-Reply-To: <CA+vqiLGzwUdR8m21_eW05VUq_of3enw1D8D7MGMYkoJ8hNSdAA@mail.gmail.com>