Recognizing Plans by Learning Embeddings from Observed Action Distributions