{"action":"created","issue":{"url":"https://api.github.com/repos/WheatonCS/Lexos/issues/164","labels_url":"https://api.github.com/repos/WheatonCS/Lexos/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/WheatonCS/Lexos/issues/164/comments","events_url":"https://api.github.com/repos/WheatonCS/Lexos/issues/164/events","html_url":"https://github.com/WheatonCS/Lexos/issues/164","id":83694564,"number":164,"title":"Similarity Query Crashes","user":{"login":"akuisara","id":4997873,"avatar_url":"https://avatars.githubusercontent.com/u/4997873?v=3","gravatar_id":"","url":"https://api.github.com/users/akuisara","html_url":"https://github.com/akuisara","followers_url":"https://api.github.com/users/akuisara/followers","following_url":"https://api.github.com/users/akuisara/following{/other_user}","gists_url":"https://api.github.com/users/akuisara/gists{/gist_id}","starred_url":"https://api.github.com/users/akuisara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akuisara/subscriptions","organizations_url":"https://api.github.com/users/akuisara/orgs","repos_url":"https://api.github.com/users/akuisara/repos","events_url":"https://api.github.com/users/akuisara/events{/privacy}","received_events_url":"https://api.github.com/users/akuisara/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/WheatonCS/Lexos/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"chantisnake","id":10100995,"avatar_url":"https://avatars.githubusercontent.com/u/10100995?v=3","gravatar_id":"","url":"https://api.github.com/users/chantisnake","html_url":"https://github.com/chantisnake","followers_url":"https://api.github.com/users/chantisnake/followers","following_url":"https://api.github.com/users/chantisnake/following{/other_user}","gists_url":"https://api.github.com/users/chantisnake/gists{/gist_id}","starred_url":"https://api.github.com/users/chantisnake/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chantisnake/subscriptions","organizations_url":"https://api.github.com/users/chantisnake/orgs","repos_url":"https://api.github.com/users/chantisnake/repos","events_url":"https://api.github.com/users/chantisnake/events{/privacy}","received_events_url":"https://api.github.com/users/chantisnake/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-06-01T21:07:44Z","updated_at":"2015-06-03T00:55:38Z","closed_at":null,"body":"Similarity Query crashes when there is only a few chunks active, but not exactly how many. I have tried different input files and got different error messages, including \"invalid shape\", \"failed to create intent(cache|hide)|optional array-- must have defined dimensions but got (0,)\" and \"decomposition not initialized yet\". There is no exception handling before calling the models.LsiModel() function inside the similarity.py file."},"comment":{"url":"https://api.github.com/repos/WheatonCS/Lexos/issues/comments/108145516","html_url":"https://github.com/WheatonCS/Lexos/issues/164#issuecomment-108145516","issue_url":"https://api.github.com/repos/WheatonCS/Lexos/issues/164","id":108145516,"user":{"login":"scottkleinman","id":1125917,"avatar_url":"https://avatars.githubusercontent.com/u/1125917?v=3","gravatar_id":"","url":"https://api.github.com/users/scottkleinman","html_url":"https://github.com/scottkleinman","followers_url":"https://api.github.com/users/scottkleinman/followers","following_url":"https://api.github.com/users/scottkleinman/following{/other_user}","gists_url":"https://api.github.com/users/scottkleinman/gists{/gist_id}","starred_url":"https://api.github.com/users/scottkleinman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottkleinman/subscriptions","organizations_url":"https://api.github.com/users/scottkleinman/orgs","repos_url":"https://api.github.com/users/scottkleinman/repos","events_url":"https://api.github.com/users/scottkleinman/events{/privacy}","received_events_url":"https://api.github.com/users/scottkleinman/received_events","type":"User","site_admin":false},"created_at":"2015-06-03T00:55:38Z","updated_at":"2015-06-03T00:55:38Z","body":"Are you still using the old code as a basis to work from? Try the code at [https://de.dariah.eu/tatom/working_with_text.html#comparing-texts](https://de.dariah.eu/tatom/working_with_text.html#comparing-texts). In my experience, it's much faster, and it may avoid the problem you are encountering."}}