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
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
Metadata Files
README.md
MWE Query
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
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
- Website: https://cdh.uu.nl/
- Repositories: 39
- Profile: https://github.com/CentreForDigitalHumanities
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
Top Committers
| Name | 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)
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)