Giter Club home page Giter Club logo

authorstyle's Introduction

Authorship Attribution in Russian with New High-Performing and Fully Interpretable Morpho-Syntactic Features

This project contain implementation the system, proposed in the "Authorship Attribution in Russian with New High-Performing and Fully Interpretable Morpho-Syntactic Features" (E. Pimonova, O. Durandin, A. Malafeev), and will be presented in the AIST-2019 Conference 17-19 July 2019.

Structure of project:

  • Texts should be placed into "Texts" (we didn't shared this folder due to licence restrictions).
  • Result of processing dependency trees with rules will be placed in "OutData" folder (represent in repository).

Initially you should place target texts into Text folder (name format: "Author_Title.txt", i.e. Author must be separated from title with subscript _ ). Script preprocessor.py processed all text files from "Text" folder, through SpaCy analyzer. Please, pay attention that we use Model of Russian Language from https://github.com/buriy/spacy-ru

Dependency trees will be saved into pickle format and will be saved in ProcessedTexts folder. NB: Change value of variable PATH_TO_RUS_LANG_MODEL with path to spaCy model of russian language.

datasetBuilder.py read pickle files from ProcessedTexts and proceed it through processor.py (that implement morpho and syntactic rules). datasetBuilder.py build a few csv files, that contain different text representations (simple/complex morphology, simple/complex syntax, see the paper for additional info).

In the first step you must to run preprocessor.py script to build pickle files. Another runs of this script will check if file already processed. Only new files will be processed.

authorstyle's People

Contributors

olegdurandin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

authorstyle's Issues

UDPipe migration

For extension to new languages (cross-lingual research as one point of our future work), it's supposed to change morpho-syntax framework to UDPipe.

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.