Commit Graph

80 Commits

Author SHA1 Message Date
18118328cc
Merge pull request #6 from aaronshaw/translations
minimal example in R
2020-03-28 10:28:41 -05:00
aaronshaw
c025a526e8 a minimal example in R that outputs a table of top 5 related search terms per day per query 2020-03-28 10:18:33 -05:00
49c3203d78 A few suggestions for the python script:
- using format strings (f-strings) is a nice way in python to build
strings using variables.
- you can read and process a file in one pass if you iterate over the
open file itself instead of reading it into a variable and then
looping
- i had to change your strip code when i stopped using csv reader
- my python linter and auto-formater hate non-indendent comments
- i added a few lines to print cases where we don't get Ok responses.
2020-03-27 20:43:29 -07:00
c54d8ba28a Reorganize wikipedia views subproject into subpackage. 2020-03-27 20:13:11 -07:00
6e7afee8b3 add mwapi to requirements 2020-03-27 20:05:07 -07:00
Kaylea Champion
5ffb2cacd6 all data 2020-03-27 18:24:19 -07:00
Kaylea Champion
7d7fe9aaf6 cleaning out commented code 2020-03-27 18:19:22 -07:00
Kaylea Champion
d845c30455 reorganizes comments 2020-03-27 18:17:39 -07:00
Kaylea Champion
7ab95ae5f6 initial files 2020-03-27 18:10:13 -07:00
Kaylea Champion
e71b896cec makes TSV
makes JSON
2020-03-27 18:08:43 -07:00
Kaylea Champion
0cc1ffd0b6 many bug fixes 2020-03-27 17:24:18 -07:00
070a1623aa add output files from tranliteration search using google trends 2020-03-27 16:53:03 -07:00
f548eeedd5 expand wikidata search to get keywords from google trends 2020-03-27 16:52:19 -07:00
Kaylea Champion
ec3f66bbcc for testing 2020-03-27 16:00:36 -07:00
Benjamin Mako Hill
3584dccef3
Merge pull request #3 from kayleachampion/master
adding in an article list
2020-03-27 14:47:15 -07:00
Kaylea Champion
9f0dbb00f7 new file -- list of article names 2020-03-27 14:41:38 -07:00
8668a764ad start keeping track of installation requirements 2020-03-27 10:55:24 -07:00
96286a07d8 update output using limited base terms list 2020-03-26 11:14:55 -07:00
6905a52044 shell script to run the whoe process 2020-03-26 11:13:23 -07:00
36d9a1aa8a narrow base terms 2020-03-26 10:24:31 -07:00
groceryheist
f35216cfce
Merge pull request #2 from aaronshaw/patch-1
Update base_terms.txt
2020-03-26 10:23:27 -07:00
d75ef80b4a
Update base_terms.txt
typo fix
2020-03-25 20:28:20 -05:00
36167295ec Finish MVP for transliterations
code is reasonably well-written
checked that we get seemingly good data back
adding README
adding data
2020-03-24 22:06:45 -07:00
308d462e76 Untested code to get labels from wikidata in all languages. 2020-03-24 18:04:22 -07:00
836098461e Python code to find wikidata entities to translate. Here we search the api for entities that have covid keywords.
Building system for finding translations from Wikidata.
2020-03-24 15:03:47 -07:00
groceryheist
3441ae7adf
Merge pull request #1 from kayleachampion/patch-1
Update README.md
2020-03-24 14:31:36 -07:00
b648ae82c2
Update README.md
some language nicing and adding in immediacy goal
2020-03-24 14:28:17 -07:00
becbaa1676
Update README.md
language nicing
2020-03-24 14:25:43 -07:00
c0e067ecc1 add code of conduct and elaborate description 2020-03-24 12:12:57 -07:00
groceryheist
6272cb7be5
Initial commit 2020-03-24 11:10:29 -07:00