Giter VIP home page Giter VIP logo

Comments (5)

rubiot avatar rubiot commented on August 26, 2024 1

Thank you, this solves my problem beautifully.

Just curious, do you work in Pandas or R or with other ways to deal with the big table?

I'm running the big table through a Perl script, but that's because I'm more comfortable with Perl.

from bhsa.

dirkroorda avatar dirkroorda commented on August 26, 2024

Hi Rúbio,

yes, at some point we decided that is was redundant to have the glosses on all word nodes, since they are a lexeme property. So in 2017 only lexeme nodes carry the gloss feature.

Then we discovered that in some situations it is very convenient to have the gloss nodes on all occurrences, so in version c we added them back. I hope there will be a brand new data version 2021 soon, and then we will put them back also there.

In the meanwhile, could you explain how the lack of gloss on word nodes is problematic for you? Maybe I can help with a workaround!

from bhsa.

rubiot avatar rubiot commented on August 26, 2024

Thank you for the prompt answer!

OK, I think now I understand. My problem is how do I link a word node to its lex node to get the corresponding gloss. I'm working out the big csv table.

On a side note it's great to know there's a new version coming soon. Thank you for all the hard work!

from bhsa.

rubiot avatar rubiot commented on August 26, 2024

I see oslots.tf does the linking between words and lexemes, but it is possible to do that out of the big table?

from bhsa.

dirkroorda avatar dirkroorda commented on August 26, 2024

It should, but it was very unthoughtful of me to not to include the column that you need for this, namely a column that gives the lexeme node for every word.

However, it turned out extremely easy to add that column, which I did.

You can recreate the table by means of this notebook: https://nbviewer.jupyter.org/github/ETCBC/bhsa/blob/master/programs/bigTables.ipynb

And then (for Pandas), this one https://nbviewer.jupyter.org/github/ETCBC/bhsa/blob/master/programs/bigTablesP.ipynb
and for R this one https://nbviewer.jupyter.org/github/ETCBC/bhsa/blob/master/programs/bigTablesR.ipynb
(if you need them).

Make sure you have the latest version (git pull https://github.com/ETCBC/bhsa) and the latest version of Text-Fabric (pip3 install text-fabric).

I just generated the big table without issue.

Just curious, do you work in Pandas or R or with other ways to deal with the big table?

from bhsa.

Related Issues (7)

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.