{"action":"closed","issue":{"url":"https://api.github.com/repos/Masclins/signepedia/issues/105","repository_url":"https://api.github.com/repos/Masclins/signepedia","labels_url":"https://api.github.com/repos/Masclins/signepedia/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/Masclins/signepedia/issues/105/comments","events_url":"https://api.github.com/repos/Masclins/signepedia/issues/105/events","html_url":"https://github.com/Masclins/signepedia/issues/105","id":321334262,"number":105,"title":"Replantejar les cerques","user":{"login":"Masclins","id":7271634,"avatar_url":"https://avatars2.githubusercontent.com/u/7271634?v=4","gravatar_id":"","url":"https://api.github.com/users/Masclins","html_url":"https://github.com/Masclins","followers_url":"https://api.github.com/users/Masclins/followers","following_url":"https://api.github.com/users/Masclins/following{/other_user}","gists_url":"https://api.github.com/users/Masclins/gists{/gist_id}","starred_url":"https://api.github.com/users/Masclins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Masclins/subscriptions","organizations_url":"https://api.github.com/users/Masclins/orgs","repos_url":"https://api.github.com/users/Masclins/repos","events_url":"https://api.github.com/users/Masclins/events{/privacy}","received_events_url":"https://api.github.com/users/Masclins/received_events","type":"User","site_admin":false},"labels":[{"id":911443739,"url":"https://api.github.com/repos/Masclins/signepedia/labels/backend","name":"backend","color":"0052cc","default":false},{"id":923848840,"url":"https://api.github.com/repos/Masclins/signepedia/labels/nova%20funcionalitat","name":"nova funcionalitat","color":"8cf7b9","default":false},{"id":911179130,"url":"https://api.github.com/repos/Masclins/signepedia/labels/vocabulari","name":"vocabulari","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":{"login":"Masclins","id":7271634,"avatar_url":"https://avatars2.githubusercontent.com/u/7271634?v=4","gravatar_id":"","url":"https://api.github.com/users/Masclins","html_url":"https://github.com/Masclins","followers_url":"https://api.github.com/users/Masclins/followers","following_url":"https://api.github.com/users/Masclins/following{/other_user}","gists_url":"https://api.github.com/users/Masclins/gists{/gist_id}","starred_url":"https://api.github.com/users/Masclins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Masclins/subscriptions","organizations_url":"https://api.github.com/users/Masclins/orgs","repos_url":"https://api.github.com/users/Masclins/repos","events_url":"https://api.github.com/users/Masclins/events{/privacy}","received_events_url":"https://api.github.com/users/Masclins/received_events","type":"User","site_admin":false},"assignees":[{"login":"Masclins","id":7271634,"avatar_url":"https://avatars2.githubusercontent.com/u/7271634?v=4","gravatar_id":"","url":"https://api.github.com/users/Masclins","html_url":"https://github.com/Masclins","followers_url":"https://api.github.com/users/Masclins/followers","following_url":"https://api.github.com/users/Masclins/following{/other_user}","gists_url":"https://api.github.com/users/Masclins/gists{/gist_id}","starred_url":"https://api.github.com/users/Masclins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Masclins/subscriptions","organizations_url":"https://api.github.com/users/Masclins/orgs","repos_url":"https://api.github.com/users/Masclins/repos","events_url":"https://api.github.com/users/Masclins/events{/privacy}","received_events_url":"https://api.github.com/users/Masclins/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-08T20:24:54Z","updated_at":"2018-05-09T23:01:50Z","closed_at":"2018-05-09T23:01:50Z","author_association":"OWNER","body":"Ara mateix al `diccionari.csv` tenim entrades del tipus `\"abans\",\"d'ahir\",...` que fem servir per mostrar com a alternativa a *abans*, *abans d'ahir*.\r\nQuan es tracta d'expresions apareix un problema. *Deixa-m'ho veure* hauria de sortir com a alternativa a *veure*, però si guardem `\"veure\",\", deixa-m'ho\"` es mostraria *veure, deixa-m'ho*, que no és el més desitjable.\r\n\r\nFins i tot solucionar això de manera simple, implicaria que per alternatives que volem que surtin en diversos casos, caldria tenir una entrada per cada cerca que volem que la faci apareixer.\r\n\r\nA més, això ens impedeix fer la cerca més ràpida, doncs encara que el diccionari estigui ordenat alfabèticament, no sabem quina paraula ens pot mostrar l'expresió (a menys que tinguem un munt d'entrades, que també relentiria la cerca).\r\n\r\nPer solucionar-ho tot plegat proposo el següent:\r\nEl `diccionari.csv` tindria els camps `\"entrada\",\"url\",\"autor\",\"alternatives\"` (trec `\"origen\"` perque també podriem fer que se sàpiga mirant la `\"url\"`).\r\n* `\"entrada\"` per la definició del vídeo. La cerca d'aquesta paraula o expressió és el que fa que es mostri el vídeo.\r\n* `\"url\",\"autor` com fins ara.\r\n* `\"alternatives\"` serien totes les cerques alternatives (cadascuna ha de correspondre a una `\"entrada\"` del diccionari) que volem mostrar quan es cerca aquesta paraula. Separades, per exemple, per `|`.\r\nFins i tot podriem acceptar entrades sense `\"url\"`, si s'escaiés."}}
{"actor":{"display_login":"Masclins"}}