Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.7%) to scientific vocabulary
Last synced: 7 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: CentreForDigitalHumanities
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: develop
  • Size: 35.5 MB
Statistics
  • Stars: 0
  • Watchers: 6
  • Forks: 0
  • Open Issues: 1
  • Releases: 0
Created over 3 years ago · Last pushed 11 months ago
Metadata Files
Readme License Citation

README.md

MWE Query

DOI PyPI version Actions Status

Run Locally

This will ask for the (local) BaseX-database to query.

bash pip install -r requirements.txt python -m mwe_query

Use as Library

Create Queries

```python from mwequery import Mwe from alpinoquery import parse_sentence

the pronominal is marked with <>

sentence = 'iemand zal er voor staan' mwe = Mwe(sentence)

parse this sentence using Alpino

tree = parsesentence(mwe.canform) mwe.set_tree(tree)

This generates a list of MweQuery-objects

queries = mwe.generate_queries()

precise = queries[0]

near_miss = queries[1]

superset = queries[2]

print(superset.xpath)

/node[..//node[@lemma="goed" and @pt="adj"] and ..//node[@lemma="staan" and @pt="ww"]]

print(superset.description)

superset

print(superset.rank)

3

```

Analyze Results

```python from mwequery import analyzemwe_hit

hit: etree._Element containing the node which matched on of the

queries

queries: generated query objects

tree: etree._Element of the entire utterance tree

info = analyzemwehit(hit, queries, tree) print(hit.components.marked_utt) ```

Upload to PyPi

```bash pip install twine python setup.py sdist

this can be tested locally by creating a virtualenv and installing it:

pip install dist/mwe-query-x.x.x.tar.gz

twine upload dist/* ```

Owner

  • Name: Centre for Digital Humanities
  • Login: CentreForDigitalHumanities
  • Kind: organization
  • Email: cdh@uu.nl
  • Location: Netherlands

Interdisciplinary centre for research and education in computational and data-driven methods in the humanities.

GitHub Events

Total
  • Delete event: 2
  • Member event: 2
  • Push event: 4
  • Create event: 1
Last Year
  • Delete event: 2
  • Member event: 2
  • Push event: 4
  • Create event: 1

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 36
  • Total Committers: 4
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.583
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Sheean Spoel s****l@u****l 15
Ben Bonfil b****l@u****l 10
Jan Odijk j****k@u****l 9
mskroon 3****n 2
Committer Domains (Top 20 + Academic)
uu.nl: 3

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 3
  • Total pull requests: 11
  • Average time to close issues: 6 months
  • Average time to close pull requests: about 2 months
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 1.33
  • Average comments per pull request: 0.45
  • Merged pull requests: 8
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • oktaal (1)
Top Labels
Issue Labels
Pull Request Labels