Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/phughesmcr/liwcjs-dictionary
Parse and manipulate multiple LIWC dictionary files.
https://github.com/phughesmcr/liwcjs-dictionary
linguistic-analysis linguistics liwc liwc-dictionaries word-count wordcount
Last synced: 24 days ago
JSON representation
Parse and manipulate multiple LIWC dictionary files.
- Host: GitHub
- URL: https://github.com/phughesmcr/liwcjs-dictionary
- Owner: phughesmcr
- License: other
- Created: 2020-02-10T11:25:40.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-07-26T23:03:16.000Z (5 months ago)
- Last Synced: 2024-10-16T03:02:58.281Z (3 months ago)
- Topics: linguistic-analysis, linguistics, liwc, liwc-dictionaries, word-count, wordcount
- Language: TypeScript
- Homepage:
- Size: 172 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# LIWCjs Dictionary
Parse and manipulate multiple LIWC dictionary files.## Table of Contents
1. [Install](#install)
2. [Usage](#usage)
3. [To-Do](#todo)
4. [References](#references)
5. [Disclaimer](#disclaimer)
6. [License](#License)## Install
Requires Node.js v8.10.0 or above.To install:
```bash
npm install --save liwcjs-dictionary
```or, to install without development dependencies:
```bash
npm install --save --production liwcjs-dictionary
```## Usage
LIWCjs-Dictionary is a node module which can be added to your node project like any other:
```javascript
const LIWCDictionary = require('liwcjs-dictionary');
```All of LIWCjs-Dictionary's DictionaryContainer functions are async and return a promise containing the dictionary object.
See ```test/test.js``` for a complete usage example.
See ```docs/index.html``` for API documentation.
## To-Do
- [ ] Testing LIWC 2007 dictionary format
- [ ] Unit tests
- [ ] Improved error handling
- [ ] Complete documentation## Contributing
Contributions are welcome and encouraged. Please read `CODE_OF_CONDUCT.md`, `SECURITY.md` and consult the `docs` directory first.
LIWCjs-Dictionary is written in Typescript and uses [gts](https://github.com/google/gts).
Please run `gts fix` on any code you're wanting to submit and make sure it compiles using `tsc -p .`
As the purpose of this project is to provide results which match LIWC2015, contributions which affect the accuracy of results will not be accepted.
## References
Gottschalk, L.A. (1997). The unobtrusive measurement of psychological states and traits. In Text Analysis for the Social Sciences, (Carl W. Roberts, editor). 117-129.
Pennebaker, J.W. (2011). The Secret Life of Pronouns: What Our Words Say About Us. New York: Bloomsbury.
Tausczik, Y.R., & Pennebaker, J.W. (2010). The psychological meaning of words: LIWC and computerized text analysis methods. Journal of Language and Social Psychology, 29, 24-54.
## Disclaimer
LIWCjs & LIWCjs-Dictionary are unauthorised, unofficial attempts to replicate the functionality of LIWC which is closed-source software created by Pennebaker Conglomerates, Inc. LIWCjs, LIWCjs-Dictionary, their creator and their contributors are not affiliated with, and do not represent, Pennebaker Conglomerates, Inc.
LIWCjs does not provide medical advice. It is intended for informational purposes only.
LIWCjs-Dictionary is shared under the [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported](http://creativecommons.org/licenses/by-nc-sa/3.0/) license. See `LICENSE` for further disclaimers.
## License
Copyright 2019 [P. Hughes](https://www.phugh.es). All rights reserved.Shared under the [Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported](http://creativecommons.org/licenses/by-nc-sa/3.0/) license. See `LICENSE` for further details.