GithubHelp home page GithubHelp logo

hansonmenghan / contactrees-indoeuropean Goto Github PK

View Code? Open in Web Editor NEW

This project forked from niconeureiter/contactrees-indoeuropean

0.0 0.0 0.0 12.57 MB

A case study on the phylogeny and contact in a subset of the Indo-European languages

Python 100.00%

contactrees-indoeuropean's Introduction

contacTrees case study on Celtic, Germanic and Romance languages

The BEAST 2 package contacTrees (https://github.com/NicoNeureiter/contacTrees) offers a model for horizontal transfer (borrowing) in linguistic phylogenies. This repository contains data and python scripts to set up a case study on Indo-European languages (Celtic, Germanic, Romance), as described in the Neureiter et al. (2022).

The data is provided in the ressources directory and all scripts are provided in the contacTreesIE directory. You can reproduce the case study using the following steps:

  1. Run python -m contacTreesIE.compile_beast_xmls to generate the XML files for the BEAST analysis.
  2. Run BEAST 2 using an XML file in one of the generated sub-directories of runs.
  3. The results will contain a .log and a .trees file. The trees can be summarised using the ContactreesAnnotator app: applauncher ContactreesAnnotator -threshold 50 -burnin 10 CT_full_1.trees CT_full_1.summary.tree
  4. The python scripts in contacTreesIE.plotting provides various ways of visualising the results. E.g. plot_contact_edges.py will generate a plot for each summarised contact edge including the data for the corresponding loanwords reconstructed at this edge.

The results of the analysis in Neureiter et al. (2022) are avaialbe in the results directory and visualised in the visualisations directory.

Neureiter N, Ranacher P, Efrat-Kowalsky N, Kaiping G, Weibel R, Widmer P, and Bouckaert R R. "Detecting contact in language trees: a Bayesian phylogenetic model with horizontal transfer", 2022 (in review).

contactrees-indoeuropean's People

Contributors

niconeureiter 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.