openjournals / joss-reviews

Reviews for the Journal of Open Source Software
Creative Commons Zero v1.0 Universal
721 stars 38 forks source link

[REVIEW]: corporaexplorer: an R package for dynamic exploration of text collections #1342

Closed whedon closed 5 years ago

whedon commented 5 years ago

Submitting author: @kgjerde (Kristian Lundby Gjerde) Repository: https://github.com/kgjerde/corporaexplorer Version: 0.5.1 Editor: @leouieda Reviewer: @kbenoit, @trinker Archive: 10.5281/zenodo.3239136

Status

status

Status badge code:

HTML: <a href="http://joss.theoj.org/papers/63b0c40585cd7bdf601f9ac9138642ae"><img src="http://joss.theoj.org/papers/63b0c40585cd7bdf601f9ac9138642ae/status.svg"></a>
Markdown: [![status](http://joss.theoj.org/papers/63b0c40585cd7bdf601f9ac9138642ae/status.svg)](http://joss.theoj.org/papers/63b0c40585cd7bdf601f9ac9138642ae)

Reviewers and authors:

Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Reviewer instructions & questions

@kbenoit & @trinker, please carry out your review in this issue by updating the checklist below. If you cannot edit the checklist please:

  1. Make sure you're logged in to your GitHub account
  2. Be sure to accept the invite at this URL: https://github.com/openjournals/joss-reviews/invitations

The reviewer guidelines are available here: https://joss.theoj.org/about#reviewer_guidelines. Any questions/concerns please let @leouieda know.

✨ Please try and complete your review in the next two weeks ✨

Review checklist for @kbenoit

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

Review checklist for @trinker

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

whedon commented 5 years ago

Hello human, I'm @whedon, a robot that can help you with some common editorial tasks. @kbenoit, it looks like you're currently assigned as the reviewer for this paper :tada:.

:star: Important :star:

If you haven't already, you should seriously consider unsubscribing from GitHub notifications for this (https://github.com/openjournals/joss-reviews) repository. As a reviewer, you're probably currently watching this repository which means for GitHub's default behaviour you will receive notifications (emails) for all reviews 😿

To fix this do the following two things:

  1. Set yourself as 'Not watching' https://github.com/openjournals/joss-reviews:

watching

  1. You may also like to change your default settings for this watching repositories in your GitHub profile here: https://github.com/settings/notifications

notifications

For a list of things I can do to help you, just type:

@whedon commands
whedon commented 5 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 5 years ago

:point_right: Check article proof :page_facing_up: :point_left:

leouieda commented 5 years ago

:wave: Hi @kbenoit @trinker, just checking in on the progress of this review.

@trinker thank you for posting the issues on the repo :1st_place_medal: I see that you edited the initial review comment to link to the issues. Please post these as a comment on this issue instead. Otherwise I don't get notifications and it's difficult to keep track of the review progress.

trinker commented 5 years ago

πŸ‘‹ Hi @kbenoit @trinker, just checking in on the progress of this review.

@trinker thank you for posting the issues on the repo πŸ₯‡ I see that you edited the initial review comment to link to the issues. Please post these as a comment on this issue instead. Otherwise I don't get notifications and it's difficult to keep track of the review progress.

Will do. Makes sense on the notifications. This might be better clarified in the review process as it says:

Reviewers and authors: Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)

Maybe just add the phrase "as a reply" in the thread below.

leouieda commented 5 years ago

@trinker thanks for bringing that to our attention. I'll suggest the change to the editorial team.

trinker commented 5 years ago

All required elements of the Review Checklist I had raised have been addressed.

Review checklist for @trinker

Conflict of interest

Code of Conduct

General checks

Functionality

Documentation

Software paper

Other

leouieda commented 5 years ago

@trinker thank you! (Also, I followed up with your suggestion and it has already been included for future JOSS submissions :100:)

@kgjerde please try to address or respond to the last two remaining issues.

kgjerde commented 5 years ago

@trinker I think I have addressed all the points you raised – thanks a lot for the very useful input, much appreciated!

In addition, your point on Windows encoding issues (kgjerde/corporaexplorer#3) forced me to set up a Windows environment, which turned out to be very useful. (I had relied on AppVeyor CI to verify the basic functionality on Windows, having only access to Mac OS and Linux myself.) Playing around a bit on Windows, I realized that unicode datasets that work fine on Mac and Linux may play less nicely with Windows, due to encoding issues. I therefore decided to add a note about this in the README (in https://github.com/kgjerde/corporaexplorer/commit/748f961). Any feedback appreciated.

trinker commented 5 years ago

@kgjerde I tested and they address the issues I raised.

kgjerde commented 5 years ago

@trinker Yes, the UI issues you thankfully pointed out were quite easy to fix as soon as I got aware of the problem! Which led me to understand that similar issues may arise for the corpus texts as well, if one is unlucky/not careful with encoding – hence the README note.

leouieda commented 5 years ago

:wave: Hi @kbenoit please let us know when you have some time to review this submission.

kbenoit commented 5 years ago

Sorry for the delay. I've now had time to examine the package and the paper in detail, and here are my comments.

Overall

I really like the application and its simplicity. It looks great and is very functional. I had almost no problem installing it and testing it. I think this makes a nice addition to text analysis tools. However given the JOSS criteria I think it could be improved a in few ways that will likely not require too much work.

General checks

The last GitHub release (0.4.0) is behind the current version (0.4.0.9000) but this can be corrected upon acceptance.

Documentation

Yes although in its current form, it's very oriented toward documents that span dates, yet the statement of need in the paper speaks to digital humanities and other fields where this may not be the case. See my comments on this below.

Yes, but I had to install PhantomJS before I could get the tests to work. I suggest adding a note about this in the README.md on GitHub.

The Russia example is shown nicely in the GitHub README. But I think that another example that could excite digital humanities scholars would be to apply it to any corpus of documents chapters of a novel, such as Moby Dick as it is analyzed in Jockers, M. L. (2014). Text analysis with R for students of literature. New York: Springer. (We replicate this for quanteda here.) I think that there are far more corpora that lack dates than that have them, so generalizing this and demonstrating it as an example would greatly broaden the user base of the package. Demonstrating the package on Moby Dick would be a great application and it's easy to access that dataset online or bundle it with the package. (You would need to segment it by chapter first but this is not difficult.)

Software paper

Other

kgjerde commented 5 years ago

@kbenoit Thank you very much indeed for the review and proposals! I will start pondering them this weekend.

leouieda commented 5 years ago

Thanks for the comments @kbenoit :+1:

@kgjerde please make sure to link back to the review issue in any issues or PRs opened in the software repo. Let us know when you have addressed the comments or if you want any clarification or further input.

kgjerde commented 5 years ago

@kbenoit

I have now addressed or commented your points summarised in:

Thank you again for very useful input. In particular, allowing for corpora without dates demanded some work on the app internals, but you are clearly correct that this significantly broadens the potensial use cases. I look forward to hearing what you think about the changes made.

leouieda commented 5 years ago

@kgjerde thank you for reporting back to us :+1:

:wave: @trinker @kbenoit please take another look at the project and paper when you have time. Here are a few things to keep in mind:

If you're satisfied with the revisions, please let me know and check any remaining items from the checklist.

trinker commented 5 years ago

The items I brought up were addressed and have been checked off

@kgjerde thank you for reporting back to us πŸ‘

πŸ‘‹ @trinker @kbenoit please take another look at the project and paper when you have time. Here are a few things to keep in mind:

  • Have all your comments/concerns been addressed?
  • Are there still any items from the checklist at the top of this issue left un-checked?

If you're satisfied with the revisions, please let me know and check any remaining items from the checklist.

kbenoit commented 5 years ago

This all looks great to me, and πŸ‘ for the clear and elegant use of issues in your repo with linked commit references. The generalization away from just dates is great, and the two examples are perfect here. Nice! And the name is your decision of course.

One thing only I would suggest, a 20-second change:

kgjerde commented 5 years ago

Excellent, thank you! @kbenoit, I have now addressed your last point (see kgjerde/corporaexplorer#14).

@leouieda I will now also take a new look at the paper itself, bearing in mind the changes I have made to the package in response to the reviews. Will post here when done.

leouieda commented 5 years ago

:confetti_ball: @kbenoit @trinker thank you for your input! @kbenoit I see some items left unchecked in your section at the very top. Is this intentional?

@kgjerde OK, let us know when you're done and we'll compile a new version of the pdf so we can have a final round of reviews of the paper.

kbenoit commented 5 years ago

Sorry, I should have checked those. I have now done so for everything except the DOI, since I have not seen the update paper yet.

leouieda commented 5 years ago

:+1: Thanks @kbenoit, I just wanted to make sure that was the case.

kgjerde commented 5 years ago

@leouieda I have now updated the paper (mainly in kgjerde/corporaexplorer@b0a495c, then just a few corrections). The paper is slightly revised (most of the diffs are language edits) and I have also added a figure to illustrate the apps.

kgjerde commented 5 years ago

@whedon generate pdf

whedon commented 5 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 5 years ago

:point_right: Check article proof :page_facing_up: :point_left:

kgjerde commented 5 years ago

@whedon generate pdf

whedon commented 5 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 5 years ago

:point_right: Check article proof :page_facing_up: :point_left:

kgjerde commented 5 years ago

@leouieda Sorry about the repeated article rendering. There is just a small problem with unicode characters in the caption to figure 1, which is probably linked with whedon's pandoc pdf rendering, but I do not know how to fix it.

leouieda commented 5 years ago

Hi @kgjerde, no worries. Compiling the PDF can be troublesome. I don't know why it's not rendering the unicode in the caption when it has no problem with other characters in the text. I'll have to check with some higher-ups.

@trinker and @kbenoit in the mean time, could you please go over the paper one final time? Please let me know if you're ready to sign off on this submission. Thank you for all your input!

kgjerde commented 5 years ago

@whedon generate pdf

whedon commented 5 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 5 years ago

PDF failed to compile for issue #1342 with the following error:

Error producing PDF. ! LaTeX Error: File `polyglossia.sty' not found.

Type X to quit or to proceed, or enter new name. (Default extension: sty)

Enter file name: ! Emergency stop. <read *>

l.216 \setmainlanguage

Looks like we failed to compile the PDF

kgjerde commented 5 years ago

@whedon generate pdf

whedon commented 5 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 5 years ago

:point_right: Check article proof :page_facing_up: :point_left:

kgjerde commented 5 years ago

@whedon generate pdf

whedon commented 5 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 5 years ago

:point_right: Check article proof :page_facing_up: :point_left:

kgjerde commented 5 years ago

@whedon generate pdf

whedon commented 5 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 5 years ago

:point_right: Check article proof :page_facing_up: :point_left:

kgjerde commented 5 years ago

@leouieda As noted in https://github.com/openjournals/joss/issues/534, I have now fixed the layout issues I wanted to fix in the pdf.

kgjerde commented 5 years ago

@whedon generate pdf

whedon commented 5 years ago
Attempting PDF compilation. Reticulating splines etc...
whedon commented 5 years ago

:point_right: Check article proof :page_facing_up: :point_left:

trinker commented 5 years ago

@leouieda I'm ready to sign off on the submission.

kgjerde commented 5 years ago

@whedon generate pdf