https://github.com/ashleychampagne/lexos

Python/Flask-based website for text analysis workflow. Previous (stable) release is live at:

https://github.com/ashleychampagne/lexos

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (15.2%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Python/Flask-based website for text analysis workflow. Previous (stable) release is live at:

Basic Info
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Fork of WheatonCS/Lexos
Created about 7 years ago · Last pushed about 7 years ago
Metadata Files
Readme License

README.md

Lexos

Build status Build Status JavaScript Style Guide DOI

Summary

Lexos is a suite of tools designed to facilitate the computational analysis of literary and historical texts. It offers an integrated workflow in which the pre-processing ("scrubbing"), analysis, and visualization steps can be accomplished in a single, web-based environment. Scrubbing features include handling punctuation, stop words, markup tags, and character consolidations, as well as document segmentation, culling, and n-gram tokenization. Analytical tools include basic document statistics, hierarchical and k-means cluster analysis, cosine similarity ranking, and z-score analysis. Visualizations include word and bubble clouds, comparative "multiclouds", and rolling window analysis. Analytical tools produce line, PCA, Voronoi cell, and dendrogram graphs. Each of the tools has export functionality.

Lexos is aimed at entry-level users as well as advanced scholars using small to medium-sized text corpora. It places particular emphasis on the processing of ancient and non-standard languages, as well as non-Western languages that do not use the Roman alphabet.

Lexos is produced by the Lexomics Research Group. An online version of Lexos v3.2.0 is available at http://lexos.wheatoncollege.edu/.

Release history

This repo reflects ongoing development since our Summer 2018: Lexos v3.2.0.

New Features in v3.2.0

  • Lexos now uses Plotly on many pages for better interaction in graphs.
  • Bootstrap modals are now used consistently for all error messages, and error messages have been improved for greater clarity.
  • New video introductions have been embedded for the Analyze tools.
  • The Statistics page layout has been re-designed with a new Plotly box plot graph.
  • The Hierarchical Clustering tool now uses Plotly for plotting dendrograms.
  • The K-Means Clustering tool now uses Plotly for Voronoi cell and 2D scatter plots. A new 3D scatter plot has been added.
  • The Topword tool has an improved interface for showing the user the existing document classes.
  • The Rolling Window Analysis tool now uses Plotly graphs. Users now can add multiple milestones. Also the download result button is fixed.

New Beta Tools in v3.2.0

  • Bootstrap Consensus Trees provides a measure of the stability of cluster analyses, as discussed by M. Eder, "Computational stylistics and biblical translation: how reliable can a dendrogram be?" In T. Piotrowski and Ł. Grabowski, editors, The Translator and the Computer, pages 155–170. WSF Press, Wrocław, 2012.
  • Content Analysis provides a method of comparing the presenence of terms in documents according to user defined criteria. The tool can be used for applications as divers as opinion mining, determining organizational hardiness in stock broker reports, and sentiment analysis.

Removed Features in v3.2.0

  • The Grey word feature has been removed.
  • The "topic clouds" feature in the Multicloud tool, which can be used to analyze data from MALLET-produced topic models, has been temporarily removed. We hope to re-introduce it in the next release.

Installation

Installation instructions for Lexos v3.2.x are available in the project Wiki.

System Architecture (in brief)

Lexos v3.2.x is written in Python 3.6 (as distributed in Anaconda 5.2) using the Flask microframework, based on Werkzeug and Jinja2.

The front end is designed using jQuery and the Bootstrap 3 framework, with a few functions derived from jQuery UI and DataTables. We increasingly incorporate the wiz from D3.js and the Plotly Python graphing library in our visualizations and the power in the scikit-learn modules for text and statistical processing.

The directions for setting up the development environment for testing (using localhost:5000) on your local machine can be found on our wiki page.

Dependencies

Lexos requires the following Python packages:

biopython, chardet, colorlover, flask, gensim, matplotlib, natsort, numpy, pandas, pip, plotly, scikit-bio, scikit-learn, scipy, requests

On MacOS, the PDF Viewer extension needs to be enabled in the Chrome browser.

On Windows, the scikit-bio package requires Microsoft Visual C++ 14.0.

Lexos works on Chrome and Firefox. Other browsers are not supported, and some features may not function.

License Information

See the file LICENSE for information on the Terms & Conditions for usage and a DISCLAIMER OF ALL WARRANTIES.

Citation Information

Kleinman, S., LeBlanc, M.D., Drout, M., and Feng, W. (2018). Lexos. v3.2.0 https://github.com/WheatonCS/Lexos/. doi:10.5281/zenodo.1403869.

Owner

  • Name: Ashley Champagne
  • Login: ashleychampagne
  • Kind: user
  • Location: Providence, RI

Director, Center for Digital Scholarship at Brown University Library

GitHub Events

Total
Last Year

Dependencies

lexos/static/package-lock.json npm
  • 204 dependencies
lexos/static/package.json npm
  • eslint ^4.3.0 development
  • eslint-config-standard ^10.2.1 development
  • eslint-plugin-import ^2.7.0 development
  • eslint-plugin-node ^5.1.1 development
  • eslint-plugin-promise ^3.5.0 development
  • eslint-plugin-standard ^3.0.1 development
  • bootstrap ^3.4.1
  • bootstrap-contextmenu 1.0.0
  • bootstrap-switch ^3.3.4
  • canvg github:canvg/canvg#v1.4
  • d3 ^3.5.17
  • d3-cloud ^1.2.4
  • datatables.net ^1.10.15
  • datatables.net-bs ^1.10.15
  • datatables.net-buttons ^1.3.1
  • datatables.net-buttons-bs ^1.3.1
  • datatables.net-fixedcolumns ^3.2.2
  • datatables.net-fixedcolumns-bs ^3.2.2
  • datatables.net-fixedheader ^3.1.2
  • datatables.net-fixedheader-bs ^3.1.2
  • datatables.net-select ^1.2.2
  • datatables.net-select-bs ^1.2.2
  • font-awesome ^4.7.0
  • jquery ^3.4.0
  • lato-font ^3.0.0
  • lodash ^4.17.11
  • package-lock.json ^1.0.0
  • smartmenus ^1.0.1
dev_requirements.txt pypi
  • codecov * development
  • cx_freeze * development
  • flake8 * development
  • pep8-naming * development
  • pydocstyle * development
  • pytest * development
  • pytest-cov * development
requirements.txt pypi
  • beautifulsoup4 *
  • biopython *
  • chardet *
  • colorlover *
  • gensim *
  • natsort *
  • plotly *
  • requests *
  • scikit-bio *
  • scipy *
setup.py pypi
  • beautifulsoup4 *
  • chardet *
  • flask *
  • gensim *
  • lxml *
  • matplotlib *
  • natsort *
  • numpy *
  • pandas *
  • plotly *
  • scikit-learn *
  • scipy *