Text Segmentation

Implementation of the paper: Text Segmentation as a Supervised Learning Task
Alternatives To Text Segmentation
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Awesome Domain Adaptation4,211
a month ago1mit
A collection of AWESOME things about domian adaptation
Segloss2,870
9 months ago1apache-2.0Python
A collection of loss functions for medical image segmentation
Deep Learning For Tracking And Detection2,085
5 months ago5Shell
Collection of papers, datasets, code and other resources for object tracking and detection using deep learning
3d Pointcloud1,374
5 days ago2Python
Papers and Datasets about Point Cloud.
Torchseg1,106
3 years ago33mitPython
Fast, modular reference implementation and easy training of Semantic Segmentation algorithms in PyTorch.
Panet1,054
4 years ago46mitPython
PANet for Instance Segmentation and Object Detection
Unet Family1,029
3 years ago4Python
Paper and implementation of UNet-related model.
Semanticsegmentation_dl983
3 years ago8Jupyter Notebook
Resources of semantic segmantation based on Deep Learning model
Cv_paperdaily673
a year ago
CV 论文笔记
All About The Gan602
4 years ago1mitPython
All About the GANs(Generative Adversarial Networks) - Summarized lists for GAN
Alternatives To Text Segmentation
Select To Compare


Alternative Project Comparisons
Readme

Text Segmentation as a Supervised Learning Task

This repository contains code and supplementary materials which are required to train and evaluate a model as described in the paper Text Segmentation as a Supervised Learning Task

Downalod required resources

wiki-727K, wiki-50 datasets:

https://www.dropbox.com/sh/k3jh0fjbyr0gw0a/AADzAd9SDTrBnvs1qLCJY5cza?dl=0

word2vec:

https://drive.google.com/a/audioburst.com/uc?export=download&confirm=zrin&id=0B7XkCwpI5KDYNlNUTTlSS21pQmM

Fill relevant paths in configgenerator.py, and execute the script (git repository includes Choi dataset)

Creating an environment:

conda create -n textseg python=2.7 numpy scipy gensim ipython 
source activate textseg
pip install http://download.pytorch.org/whl/cu80/torch-0.3.0-cp27-cp27mu-linux_x86_64.whl 
pip install tqdm pathlib2 segeval tensorboard_logger flask flask_wtf nltk
pip install pandas xlrd xlsxwriter termcolor

How to run training process?

python run.py --help

Example:

python run.py --cuda --model max_sentence_embedding --wiki 

How to evaluate trained model (on wiki-727/choi dataset)?

python test_accuracy.py  --help

Example:

python test_accuracy.py --cuda --model <path_to_model> --wiki

How to create a new wikipedia dataset:

python wiki_processor.py --input <input> --temp <temp_files_folder> --output <output_folder> --train <ratio> --test <ratio>

Input is the full path to the wikipedia dump, temp is the path to the temporary files folder, and output is the path to the newly generated wikipedia dataset.

Wikipedia dump can be downloaded from following url:

https://dumps.wikimedia.org/enwiki/latest/enwiki-latest-pages-articles.xml.bz2

Popular Segmentation Projects
Popular Paper Projects
Popular Machine Learning Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Machine Learning
Deep Learning
Dataset
Paper
Neural Network
Nlp
Wiki
Segmentation
Wikipedia