The format of x should be of the kind x <- "word1 word2 word3" instead of
x <- c("word1", "word2", "word3") if sentences/documents are used as input. This allows for simple copy&paste-inserting of text.
To import a document Document.txt to from a directory for comparisons, set your working
directory to this directory using setwd(). Then use the following command lines:
fileName1 <- "Alice_in_Wonderland.txt"
x <- readChar(fileName1, file.info(fileName1)$size).
Since x can also be chosen to be any vector of the active LSA Space, this function can be
combined with compose() to compute neighbors of complex expressions (see examples)