Skip to content

This repository contains scripts and bits of code that I have found useful while exploring topic modeling.

License

Notifications You must be signed in to change notification settings

rlfordon/topic-mapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JSON to text

This is an experimental Python script that will convert JSON outputs from courtlistener.com into a directory of text files. This directory will then be suitable for ingesting into topic-modeling software such as the Stanford Natural Language Processing Group's Topic Modeling Tool.

Setup

install the lxml module

pip install lxml

Use

To use, ensure that you have a directory of json files. Then, while in the same top-directory that contains the folder of JSON files, run jsontotext.py in the command line. The result will be a folder of opinion text files.

If you have any questions or comments please contact me!

About

This repository contains scripts and bits of code that I have found useful while exploring topic modeling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages