Socket
Socket
Sign inDemoInstall

prospectimo

Package Overview
Dependencies
2
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    prospectimo

Analyse the temporal orientation of a string.


Version published
Maintainers
1
Created

Readme

Source

prospectimo

Analyse the temporal orientation of a string.

Usage

const prospectimo = require('prospectimo');
const opts = {
  'return': 'orientation', // 'orientation' return string, 'lex' returns object of lexical values
  'more': false            // add more information to returned string if return = 'orientation'
}
const text = "A big long string of text...";
let orientation = prospectimo(text, opts);
console.log(orientation)

Acknowledgements

References

Park, G., Schwartz, H.A., Sap, M., Kern, M.L., Weingarten, E., Eichstaedt, J.C., Berger, J., Stillwell, D.J., Kosinski, M., Ungar, L.H. & Seligman, M.E. (2015). Living in the Past, Present, and Future: Measuring Temporal Orientation with Language. Journal of personality.

Lexicon

Using the prospection lexicon data from http://www.wwbp.org/lexica.html Used under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported licence

Licence

(C) 2017 P. Hughes Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported

Keywords

FAQs

Last updated on 29 Apr 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc