Content deleted Content added
Line 5:
When creating a database of [[term (language)|terms]] that appear in a set of [[document]]s the document-term matrix contains rows corresponding to the documents and columns corresponding to the terms. For instance if one has the following two (short) documents:
*D1 = "I like databases"
*D2 = "I
then the document-term matrix would be:
{| border="1" cellspacing="0"
! ||I||like||
|- align=center
|'''D1'''||1||1||0||1
|