<commit_before>---
layout: relation
title: 'nummod'
shortdef: 'numeric modifier'
---

*Numeric modifiers* of a noun or NP, including both cardinal and
ordinal numbers, are marked with the `nummod` dependency type. Quantifiers are also included.

_sa bhliain <b>1975</b>_ `in the year <b>1975</b>'

~~~ sdparse
sa bhliain 1975 \n in year 1975
nummod(bhliain, 1975)<commit_msg>Update nummod.md<commit_after>---
layout: relation
title: 'nummod'
shortdef: 'numeric modifier'
---

*Numeric modifiers* of a noun or NP, including both cardinal and
ordinal numbers, are marked with the `nummod` dependency type. Quantifiers are also included.

### Examples

_sa bhliain <b>1975</b>_ `in the year <b>1975</b>'

~~~ sdparse
sa bhliain 1975 \n in year 1975
nummod(bhliain, 1975)
{'fraction_non_alphanumeric': 0.11734028683181226, 'fraction_numerical': 0.05215123859191656, 'mean_word_length': 4.731343283582089, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5170172', 'n_tokens_mistral': 303, 'n_tokens_neox': 255, 'n_words': 99}