fozziethebeat / S-Space

The S-Space repsitory, from the AIrhead-Research group
GNU General Public License v2.0
203 stars 106 forks source link

Loading a previously created LatentSemanticAnalysis Semantic Space. #57

Closed aichemzee closed 9 years ago

aichemzee commented 9 years ago

Hi, Is there a way to project documents on a SemanticSpace (LatentSemanticAnalysis) previously saved in text format (or any other format) ?

davidjurgens commented 9 years ago

Hi Harris,

Unfortunately, I think only saving a LatentSemanticAnalysis instance in the serialized format will preserve all the state required to project new documents. The text format was mostly intended as as a debugging / teaching tool for inspecting the results. However, if you save the LatentSemanticAnalysis instance through regular Java serialization, the project() method should work as expected.

Thanks, David

On Mon, Dec 8, 2014 at 6:39 AM, Harris Siddiqui notifications@github.com wrote:

Hi, Is there a way to project documents on a previously saved LatentSemanticAnalysis SemanticSpace in text format?

— Reply to this email directly or view it on GitHub https://github.com/fozziethebeat/S-Space/issues/57.

aichemzee commented 9 years ago

Hi David, Serialized format works like a charm! Thanks