{"action":"closed","issue":{"url":"https://api.github.com/repos/honnibal/spaCy/issues/38","labels_url":"https://api.github.com/repos/honnibal/spaCy/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/honnibal/spaCy/issues/38/comments","events_url":"https://api.github.com/repos/honnibal/spaCy/issues/38/events","html_url":"https://github.com/honnibal/spaCy/issues/38","id":64538170,"number":38,"title":"Idea: Switch orth / orth_, tag / tag_, etc from int / unicode to unicode / int (please debate)","user":{"login":"syllog1sm","id":781165,"avatar_url":"https://avatars.githubusercontent.com/u/781165?v=3","gravatar_id":"","url":"https://api.github.com/users/syllog1sm","html_url":"https://github.com/syllog1sm","followers_url":"https://api.github.com/users/syllog1sm/followers","following_url":"https://api.github.com/users/syllog1sm/following{/other_user}","gists_url":"https://api.github.com/users/syllog1sm/gists{/gist_id}","starred_url":"https://api.github.com/users/syllog1sm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syllog1sm/subscriptions","organizations_url":"https://api.github.com/users/syllog1sm/orgs","repos_url":"https://api.github.com/users/syllog1sm/repos","events_url":"https://api.github.com/users/syllog1sm/events{/privacy}","received_events_url":"https://api.github.com/users/syllog1sm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-03-26T14:20:02Z","updated_at":"2015-09-08T10:23:29Z","closed_at":"2015-09-08T10:23:29Z","body":"SpaCy maintains a global mapping of strings to integers. Currently the integer-value is named \"foo\", and the string value is named \"foo_\".\r\n\r\nI now think I prefer to have the string value named \"foo\", and the integer value named \"foo_\". I had convinced myself that it should be possible to avoid using the string attributes almost entirely, but in my own use, I find myself needing these attributes a lot.\r\n\r\nWhat do you think? Should I keep token.orth as the integer ID, or should I move the integer IDs to the underscored attributes?"}}