Coder Social home page Coder Social logo

alaradirik / tr-nlp-workshop Goto Github PK

View Code? Open in Web Editor NEW
12.0 1.0 3.0 8.63 MB

2020 Açık Seminer - Turkish NLP workshop

License: Creative Commons Zero v1.0 Universal

Python 0.89% Jupyter Notebook 99.11%
nlp spacy natural-language-processing turkish-language ner named-entity-recognition text-clustering k-means-clustering text-preprocessing workshop-seminar dataset news

tr-nlp-workshop's Introduction

Tr-NLP Workshop

Açık Seminer 2020 - Turkish NLP Seminar and Workshop

This repo includes the notebooks and slides for the Turkish Natural Language workshop. The implemented modules are:

  • Text preprocessing
  • Named Entity Recognition with SpaCy
  • Unsupervised text classification with K-Means

Dataset

TWNERTC (Turkish Wikipedia Named-Entity Recognition and Text Categorization Dataset ) by Sahin, et al. is used for Named Entity Recognition. The TWNERTC dataset contains approximately 300K named entities in 77 domains with more than 1000 fine-grained entity types. A subset of the dataset (the astronomy domain) is provided in the repo and the full clean version of the dataset in json format can be downloaded here.

JSON schema

[ {
    TOPIC_1: {
        SENTENCE_1: {
            "entities": [
                [
                    START_INDEX,
                    END_INDEX,
                    ENTITY_LABEL
                ], ...
            ]
        },
        SENTENCE_2: {...}
    TOPIC_2 : {...}
 } ]

A small Turkish news dataset crawled from various news websites is used for text clustering. This dataset contains news in 5 categories (economy, arts, politics, sports, technology) with 100 samples per category.

Notebooks

Clone the repo and install the requirements before running the notebooks:

git clone https://github.com/alaradirik/TR-NLP-workshop.git

pip install -r requirements.txt

tr-nlp-workshop's People

Contributors

alaradirik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.