Skip to content

pundrich/gillette_pundrich_grammar

Repository files navigation

gillette & pundrich: Investments in Accounting Resources and the Implications for External Reporting and Disclosure

This repository contains the files used in the paper "Investments in Accounting Resources and the Implications for External Reporting and Disclosure" by:

Jacquelyn Gillette Massachusetts Institute of Technology (MIT) - Sloan School of Management Gabriel Pündrich Bocconi University The paper can be downloaded at https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3496434

To run a grammar check go through the following steps:

1 - Download the code available on this repository or on https://www.dropbox.com/sh/adqtiugkwv602f0/AABBu26YJKJxplipV2zfp5IWa?dl=0

2 - To install the library used in this paper type the following command on the Python prompt: pip install --upgrade language-check

Note - For MacOS users: you may experience issues with MacOS, in this case you may need to install language_tool you must install JDK 8, other versions are not compatible. If you are on MacOS, you may install jdk-8u221-macosx-x64.dmg from https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html.

3 - Running the code:
3.1 - Add all files to be extracted on the directory "files"
3.2 - Change the row number 16 with the local directory address the code was unpacked
3.3 - Push play
3.4 - After processing the results will be added to the file grammar_output.csv in the "output" directory