Skip to main content

Topic Ontologies

Project description

Configuration Topic Ontologies.

Topic-Ontologies-NodeJs

Tool to convert various corpora of documents into CSV-files structured as argument-id,argument and or document-id,document.

Config

Config files have to be placed in the conf folder and follow the the following example:

# path to the sourcefolder (mandatory)
source=data/corpus-upittsburgh-arguing-subjectivity/

# output csv file for the documents (either this or arugments has be present)
preprocessed-documents=preprocessed/corpus-upittsburgh-arguing-subjectivity-preprocessed-documents.csv
# output csv file for the arguments (either this or documents has be present)
preprocessed-arguments=preprocessed/corpus-upittsburgh-arguing-subjectivity-preprocessed-arguments.csv

# script for the preprocessing (mandatory)
preprocessing-script=corpus-upittsburgh-arguing-subjectivity

Run

Install NodeJS

For all configs present in the conf-folder:

npm run preprocess

For specific .conf-files (automatically searches for the .conf-files in the conf-folder):

npm run preprocess kialo.conf aifdb.conf

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topic_ontologies-0.0.100.linux-x86_64.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

topic_ontologies-0.0.100-py3-none-any.whl (26.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page