├── .gitignore ├── README.md ├── docs └── figures │ └── nlp_stuff_logo.png ├── rnn_character_tagging ├── .gitignore ├── README.md ├── apply_tagger_pytorch.py ├── figures │ └── scala_vs_python.png ├── get_data.sh ├── notebooks │ ├── 01_Prepare_Data.ipynb │ └── 02_RNN_Character_Tagging.ipynb ├── plot_predictions.py ├── prepare_input_files.py ├── run_all.sh ├── split_ebooks.py ├── text_utils.py ├── torch_utils.py ├── train_pytorch.py └── train_test_split.py ├── text_classification_CNN_with_tf ├── README.md ├── data_utils.py ├── get_data.sh ├── prepare_text.py ├── pretrained_word_embedding_TF_layer.py ├── pretrained_word_embedding_TF_nn.py └── pretrained_word_embedding_TF_tflearn.py ├── text_classification_DL_battle ├── README.md ├── code_style.sh ├── models │ ├── _embed_regularize.py │ ├── _locked_dropout.py │ ├── _weight_dropout.py │ ├── bert.py │ └── han.py ├── parsers │ ├── bert_parser.py │ └── han_parser.py ├── prepare_data.py ├── run_bert.py ├── run_bert.sh ├── run_fastai_cls.py ├── run_fastai_lm.py ├── run_han.py ├── run_han.sh └── utils │ ├── __init__.py │ ├── metrics.py │ ├── plot_attention.py │ ├── preprocessing_utils.py │ └── tokenizers.py ├── text_classification_EDA ├── .gitignore ├── README.md ├── augment.py ├── eda │ ├── __init__.py │ └── eda.py ├── feature_extraction.py ├── notebooks │ ├── 01_Easy_Data_Augmentation.ipynb │ ├── 02_Feature_Extraction.ipynb │ └── 03_Review_Score_Prediction_Results.ipynb ├── prepare_data.py ├── score.py └── utils │ └── lightgbm_optimizer.py ├── text_classification_HAN ├── .gitignore ├── README.md ├── code_style.sh ├── main_mxnet.py ├── main_pytorch.py ├── models │ ├── embed_regularize.py │ ├── locked_dropout.py │ ├── mxnet_models.py │ ├── pytorch_models.py │ └── weight_dropout.py ├── notebooks │ ├── 01_Data_Preparation.ipynb │ ├── 02_HAN_implementation.ipynb │ ├── 03_Running_the_HAN.ipynb │ ├── 04_Review_Score_Prediction_Results.ipynb │ ├── 05_Visualizing_Attention.ipynb │ └── figures │ │ ├── HAN_arch.png │ │ ├── pred_neg_real_neg_sent_attn.html │ │ ├── pred_neg_real_neg_word_attn.html │ │ ├── pred_neg_real_pos_sent_attn.html │ │ ├── pred_neg_real_pos_word_attn.html │ │ ├── pred_pos_real_neg_sent_attn.html │ │ ├── pred_pos_real_neg_word_attn.html │ │ ├── pred_pos_real_pos_sent_attn.html │ │ └── pred_pos_real_pos_word_attn.html ├── prepare_data.py ├── pyproject.toml ├── run_experiments.sh ├── tests │ └── test_mult.py └── utils │ ├── __init__.py │ ├── metrics.py │ ├── parser.py │ ├── plot_attention.py │ └── preprocessors.py ├── text_classification_without_DL ├── .gitignore ├── README.md ├── feature_extraction.py ├── notebooks │ ├── 00_Prepare_Data.ipynb │ ├── 01_Preprocessing.ipynb │ ├── 02_Feature_Extraction.ipynb │ └── 03_Review_Score_Prediction_Results.ipynb ├── prepare_data.py ├── preprocessing.py ├── run_experiments.sh ├── score.py ├── train_test_split.py └── utils │ ├── lightgbm_optimizer.py │ └── metrics.py └── textrank ├── .gitignore ├── README.md ├── notebooks ├── 01_Prepare_Data.ipynb ├── 02_Sentence_Vectors.ipynb └── 03_Summarize_reviews.ipynb ├── prepare_data.py ├── reviews_summary.py ├── sentence_vectors.py └── summarize.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/README.md -------------------------------------------------------------------------------- /docs/figures/nlp_stuff_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/docs/figures/nlp_stuff_logo.png -------------------------------------------------------------------------------- /rnn_character_tagging/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/.gitignore -------------------------------------------------------------------------------- /rnn_character_tagging/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/README.md -------------------------------------------------------------------------------- /rnn_character_tagging/apply_tagger_pytorch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/apply_tagger_pytorch.py -------------------------------------------------------------------------------- /rnn_character_tagging/figures/scala_vs_python.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/figures/scala_vs_python.png -------------------------------------------------------------------------------- /rnn_character_tagging/get_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/get_data.sh -------------------------------------------------------------------------------- /rnn_character_tagging/notebooks/01_Prepare_Data.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/notebooks/01_Prepare_Data.ipynb -------------------------------------------------------------------------------- /rnn_character_tagging/notebooks/02_RNN_Character_Tagging.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/notebooks/02_RNN_Character_Tagging.ipynb -------------------------------------------------------------------------------- /rnn_character_tagging/plot_predictions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/plot_predictions.py -------------------------------------------------------------------------------- /rnn_character_tagging/prepare_input_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/prepare_input_files.py -------------------------------------------------------------------------------- /rnn_character_tagging/run_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/run_all.sh -------------------------------------------------------------------------------- /rnn_character_tagging/split_ebooks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/split_ebooks.py -------------------------------------------------------------------------------- /rnn_character_tagging/text_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/text_utils.py -------------------------------------------------------------------------------- /rnn_character_tagging/torch_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/torch_utils.py -------------------------------------------------------------------------------- /rnn_character_tagging/train_pytorch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/train_pytorch.py -------------------------------------------------------------------------------- /rnn_character_tagging/train_test_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/rnn_character_tagging/train_test_split.py -------------------------------------------------------------------------------- /text_classification_CNN_with_tf/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_CNN_with_tf/README.md -------------------------------------------------------------------------------- /text_classification_CNN_with_tf/data_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_CNN_with_tf/data_utils.py -------------------------------------------------------------------------------- /text_classification_CNN_with_tf/get_data.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_CNN_with_tf/get_data.sh -------------------------------------------------------------------------------- /text_classification_CNN_with_tf/prepare_text.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_CNN_with_tf/prepare_text.py -------------------------------------------------------------------------------- /text_classification_CNN_with_tf/pretrained_word_embedding_TF_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_CNN_with_tf/pretrained_word_embedding_TF_layer.py -------------------------------------------------------------------------------- /text_classification_CNN_with_tf/pretrained_word_embedding_TF_nn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_CNN_with_tf/pretrained_word_embedding_TF_nn.py -------------------------------------------------------------------------------- /text_classification_CNN_with_tf/pretrained_word_embedding_TF_tflearn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_CNN_with_tf/pretrained_word_embedding_TF_tflearn.py -------------------------------------------------------------------------------- /text_classification_DL_battle/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/README.md -------------------------------------------------------------------------------- /text_classification_DL_battle/code_style.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/code_style.sh -------------------------------------------------------------------------------- /text_classification_DL_battle/models/_embed_regularize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/models/_embed_regularize.py -------------------------------------------------------------------------------- /text_classification_DL_battle/models/_locked_dropout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/models/_locked_dropout.py -------------------------------------------------------------------------------- /text_classification_DL_battle/models/_weight_dropout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/models/_weight_dropout.py -------------------------------------------------------------------------------- /text_classification_DL_battle/models/bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/models/bert.py -------------------------------------------------------------------------------- /text_classification_DL_battle/models/han.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/models/han.py -------------------------------------------------------------------------------- /text_classification_DL_battle/parsers/bert_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/parsers/bert_parser.py -------------------------------------------------------------------------------- /text_classification_DL_battle/parsers/han_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/parsers/han_parser.py -------------------------------------------------------------------------------- /text_classification_DL_battle/prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/prepare_data.py -------------------------------------------------------------------------------- /text_classification_DL_battle/run_bert.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/run_bert.py -------------------------------------------------------------------------------- /text_classification_DL_battle/run_bert.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/run_bert.sh -------------------------------------------------------------------------------- /text_classification_DL_battle/run_fastai_cls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/run_fastai_cls.py -------------------------------------------------------------------------------- /text_classification_DL_battle/run_fastai_lm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/run_fastai_lm.py -------------------------------------------------------------------------------- /text_classification_DL_battle/run_han.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/run_han.py -------------------------------------------------------------------------------- /text_classification_DL_battle/run_han.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/run_han.sh -------------------------------------------------------------------------------- /text_classification_DL_battle/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /text_classification_DL_battle/utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/utils/metrics.py -------------------------------------------------------------------------------- /text_classification_DL_battle/utils/plot_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/utils/plot_attention.py -------------------------------------------------------------------------------- /text_classification_DL_battle/utils/preprocessing_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/utils/preprocessing_utils.py -------------------------------------------------------------------------------- /text_classification_DL_battle/utils/tokenizers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_DL_battle/utils/tokenizers.py -------------------------------------------------------------------------------- /text_classification_EDA/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/.gitignore -------------------------------------------------------------------------------- /text_classification_EDA/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/README.md -------------------------------------------------------------------------------- /text_classification_EDA/augment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/augment.py -------------------------------------------------------------------------------- /text_classification_EDA/eda/__init__.py: -------------------------------------------------------------------------------- 1 | from .eda import * -------------------------------------------------------------------------------- /text_classification_EDA/eda/eda.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/eda/eda.py -------------------------------------------------------------------------------- /text_classification_EDA/feature_extraction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/feature_extraction.py -------------------------------------------------------------------------------- /text_classification_EDA/notebooks/01_Easy_Data_Augmentation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/notebooks/01_Easy_Data_Augmentation.ipynb -------------------------------------------------------------------------------- /text_classification_EDA/notebooks/02_Feature_Extraction.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/notebooks/02_Feature_Extraction.ipynb -------------------------------------------------------------------------------- /text_classification_EDA/notebooks/03_Review_Score_Prediction_Results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/notebooks/03_Review_Score_Prediction_Results.ipynb -------------------------------------------------------------------------------- /text_classification_EDA/prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/prepare_data.py -------------------------------------------------------------------------------- /text_classification_EDA/score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/score.py -------------------------------------------------------------------------------- /text_classification_EDA/utils/lightgbm_optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_EDA/utils/lightgbm_optimizer.py -------------------------------------------------------------------------------- /text_classification_HAN/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/.gitignore -------------------------------------------------------------------------------- /text_classification_HAN/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/README.md -------------------------------------------------------------------------------- /text_classification_HAN/code_style.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/code_style.sh -------------------------------------------------------------------------------- /text_classification_HAN/main_mxnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/main_mxnet.py -------------------------------------------------------------------------------- /text_classification_HAN/main_pytorch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/main_pytorch.py -------------------------------------------------------------------------------- /text_classification_HAN/models/embed_regularize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/models/embed_regularize.py -------------------------------------------------------------------------------- /text_classification_HAN/models/locked_dropout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/models/locked_dropout.py -------------------------------------------------------------------------------- /text_classification_HAN/models/mxnet_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/models/mxnet_models.py -------------------------------------------------------------------------------- /text_classification_HAN/models/pytorch_models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/models/pytorch_models.py -------------------------------------------------------------------------------- /text_classification_HAN/models/weight_dropout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/models/weight_dropout.py -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/01_Data_Preparation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/01_Data_Preparation.ipynb -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/02_HAN_implementation.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/02_HAN_implementation.ipynb -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/03_Running_the_HAN.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/03_Running_the_HAN.ipynb -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/04_Review_Score_Prediction_Results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/04_Review_Score_Prediction_Results.ipynb -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/05_Visualizing_Attention.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/05_Visualizing_Attention.ipynb -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/HAN_arch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/HAN_arch.png -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/pred_neg_real_neg_sent_attn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/pred_neg_real_neg_sent_attn.html -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/pred_neg_real_neg_word_attn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/pred_neg_real_neg_word_attn.html -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/pred_neg_real_pos_sent_attn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/pred_neg_real_pos_sent_attn.html -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/pred_neg_real_pos_word_attn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/pred_neg_real_pos_word_attn.html -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/pred_pos_real_neg_sent_attn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/pred_pos_real_neg_sent_attn.html -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/pred_pos_real_neg_word_attn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/pred_pos_real_neg_word_attn.html -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/pred_pos_real_pos_sent_attn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/pred_pos_real_pos_sent_attn.html -------------------------------------------------------------------------------- /text_classification_HAN/notebooks/figures/pred_pos_real_pos_word_attn.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/notebooks/figures/pred_pos_real_pos_word_attn.html -------------------------------------------------------------------------------- /text_classification_HAN/prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/prepare_data.py -------------------------------------------------------------------------------- /text_classification_HAN/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/pyproject.toml -------------------------------------------------------------------------------- /text_classification_HAN/run_experiments.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/run_experiments.sh -------------------------------------------------------------------------------- /text_classification_HAN/tests/test_mult.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/tests/test_mult.py -------------------------------------------------------------------------------- /text_classification_HAN/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /text_classification_HAN/utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/utils/metrics.py -------------------------------------------------------------------------------- /text_classification_HAN/utils/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/utils/parser.py -------------------------------------------------------------------------------- /text_classification_HAN/utils/plot_attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/utils/plot_attention.py -------------------------------------------------------------------------------- /text_classification_HAN/utils/preprocessors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_HAN/utils/preprocessors.py -------------------------------------------------------------------------------- /text_classification_without_DL/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/.gitignore -------------------------------------------------------------------------------- /text_classification_without_DL/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/README.md -------------------------------------------------------------------------------- /text_classification_without_DL/feature_extraction.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/feature_extraction.py -------------------------------------------------------------------------------- /text_classification_without_DL/notebooks/00_Prepare_Data.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/notebooks/00_Prepare_Data.ipynb -------------------------------------------------------------------------------- /text_classification_without_DL/notebooks/01_Preprocessing.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/notebooks/01_Preprocessing.ipynb -------------------------------------------------------------------------------- /text_classification_without_DL/notebooks/02_Feature_Extraction.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/notebooks/02_Feature_Extraction.ipynb -------------------------------------------------------------------------------- /text_classification_without_DL/notebooks/03_Review_Score_Prediction_Results.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/notebooks/03_Review_Score_Prediction_Results.ipynb -------------------------------------------------------------------------------- /text_classification_without_DL/prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/prepare_data.py -------------------------------------------------------------------------------- /text_classification_without_DL/preprocessing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/preprocessing.py -------------------------------------------------------------------------------- /text_classification_without_DL/run_experiments.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/run_experiments.sh -------------------------------------------------------------------------------- /text_classification_without_DL/score.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/score.py -------------------------------------------------------------------------------- /text_classification_without_DL/train_test_split.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/train_test_split.py -------------------------------------------------------------------------------- /text_classification_without_DL/utils/lightgbm_optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/utils/lightgbm_optimizer.py -------------------------------------------------------------------------------- /text_classification_without_DL/utils/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/text_classification_without_DL/utils/metrics.py -------------------------------------------------------------------------------- /textrank/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/.gitignore -------------------------------------------------------------------------------- /textrank/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/README.md -------------------------------------------------------------------------------- /textrank/notebooks/01_Prepare_Data.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/notebooks/01_Prepare_Data.ipynb -------------------------------------------------------------------------------- /textrank/notebooks/02_Sentence_Vectors.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/notebooks/02_Sentence_Vectors.ipynb -------------------------------------------------------------------------------- /textrank/notebooks/03_Summarize_reviews.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/notebooks/03_Summarize_reviews.ipynb -------------------------------------------------------------------------------- /textrank/prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/prepare_data.py -------------------------------------------------------------------------------- /textrank/reviews_summary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/reviews_summary.py -------------------------------------------------------------------------------- /textrank/sentence_vectors.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/sentence_vectors.py -------------------------------------------------------------------------------- /textrank/summarize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jrzaurin/nlp-stuff/HEAD/textrank/summarize.py --------------------------------------------------------------------------------