{"action":"created","issue":{"url":"https://api.github.com/repos/mikhaildubov/AST-text-analysis/issues/2","labels_url":"https://api.github.com/repos/mikhaildubov/AST-text-analysis/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/mikhaildubov/AST-text-analysis/issues/2/comments","events_url":"https://api.github.com/repos/mikhaildubov/AST-text-analysis/issues/2/events","html_url":"https://github.com/mikhaildubov/AST-text-analysis/issues/2","id":123244387,"number":2,"title":"How to store/get an id for a string?","user":{"login":"pombredanne","id":675997,"avatar_url":"https://avatars.githubusercontent.com/u/675997?v=3","gravatar_id":"","url":"https://api.github.com/users/pombredanne","html_url":"https://github.com/pombredanne","followers_url":"https://api.github.com/users/pombredanne/followers","following_url":"https://api.github.com/users/pombredanne/following{/other_user}","gists_url":"https://api.github.com/users/pombredanne/gists{/gist_id}","starred_url":"https://api.github.com/users/pombredanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pombredanne/subscriptions","organizations_url":"https://api.github.com/users/pombredanne/orgs","repos_url":"https://api.github.com/users/pombredanne/repos","events_url":"https://api.github.com/users/pombredanne/events{/privacy}","received_events_url":"https://api.github.com/users/pombredanne/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-21T09:53:42Z","updated_at":"2016-01-10T10:30:07Z","closed_at":null,"body":"@mikhaildubov I am just starting to play with this code. How would I be able to store some ID for a string in the AST?"},"comment":{"url":"https://api.github.com/repos/mikhaildubov/AST-text-analysis/issues/comments/170332708","html_url":"https://github.com/mikhaildubov/AST-text-analysis/issues/2#issuecomment-170332708","issue_url":"https://api.github.com/repos/mikhaildubov/AST-text-analysis/issues/2","id":170332708,"user":{"login":"pombredanne","id":675997,"avatar_url":"https://avatars.githubusercontent.com/u/675997?v=3","gravatar_id":"","url":"https://api.github.com/users/pombredanne","html_url":"https://github.com/pombredanne","followers_url":"https://api.github.com/users/pombredanne/followers","following_url":"https://api.github.com/users/pombredanne/following{/other_user}","gists_url":"https://api.github.com/users/pombredanne/gists{/gist_id}","starred_url":"https://api.github.com/users/pombredanne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pombredanne/subscriptions","organizations_url":"https://api.github.com/users/pombredanne/orgs","repos_url":"https://api.github.com/users/pombredanne/repos","events_url":"https://api.github.com/users/pombredanne/events{/privacy}","received_events_url":"https://api.github.com/users/pombredanne/received_events","type":"User","site_admin":false},"created_at":"2016-01-10T10:30:07Z","updated_at":"2016-01-10T10:30:07Z","body":"@mikhaildubov I was mostly interested in your generalized suffix tree construction to evaluate that for multiple pattern search. And not so much by the scoring for now.  Now the id of a string can be seen as the unique terminator added to each string https://github.com/mikhaildubov/AST-text-analysis/blob/2b8eff7e430f32fd87408401012eb315b767a2ba/east/asts/utils.py#L25 "}}