<commit_before>---
layout: base
title:  'Bulgarian UD'
udver: '2'
---

# UD for Bulgarian <span class="flagspan"><img class="flag" src="../../flags/svg/BG.svg" /></span>

## Tokenization and Word Segmentation


* In general, words are delimited by whitespace characters. In our original treebank we use MWEs, such as compound subordinators, adverbs or composite pronouns. However, in UD every single token is segmented separately. For example: _за да_ / za da"in order to", _може би_ / mozhe bi"maybe", _се забавям_ / se zavavyam"slow myself". For indicating the common POS meaning, we use the relation `fixed`.
* The numbers are analyzed as one token when used as expression without spaces (20000) or with an internal comma as indicator (10,434).
* The hyphenated complex words are treated as one token: _външно-политически_ / vanshno-politicheski "foreign-political", _министър-председателят_ / ministar-predsedateleyat "the prime minister", _по-малко_ / po-malko "less".
* Depending on the intervals, there might be cases in which the complex word is analyzed as three tokens. For example _ДПС - депутати_ / DPS - members-of-parliament"MPs from the DPS party".

---
**Instruction**: Describe the general rules for delimiting words (for example, based on whitespace and punctuation) and exceptions to these rules. Specify whether words with spaces and/or multiword tokens occur. Include links to further language-specific documentation if available.

---

## Morphology

### Tags

This is an overview only. For more detailed discussion and examples, see the list of [Bulgarian POS tags](pos/index.html)
and [Bulgarian features](feat/index.html).

* Bulgarian uses 15 universal POS categories. It does not make use of ([SYM]()) and ([X]()).
* Affirmative, negative, interrogative, modal particles are analyzed as ([PART]()). 
* The pronoun ([PRON]()) vs. determiner ([DET]()) distinction is handled as follows:
  * as pronouns - personal and reflexive pronouns, and all entity-pointing other pronouns (demonstrative, interrogative, relative, indefinite, collective, negative).
  * as determiners - the attributive and possessive atributive forms of the demonstrative, interrogative, relative, indefinite, collective, negative pronouns; the long forms of the possessive pronouns.
  * Disclamer 1: entity-denoting demonstrative, interrogative, relative, indefinite, collective, negative pronouns can be either ([PRON]()) or ([DET]()) depending on the usage of the homonymic form. If it is used as a pro-noun, it is pronoun. If it is used attributively, it is determiner.<commit_msg>Update template-index.md<commit_after>---
layout: base
title:  'Bulgarian UD'
udver: '2'
---

# UD for Bulgarian <span class="flagspan"><img class="flag" src="../../flags/svg/BG.svg" /></span>

## Tokenization and Word Segmentation


* In general, words are delimited by whitespace characters. In our original treebank we use MWEs, such as compound subordinators, adverbs or composite pronouns. However, in UD every single token is segmented separately. For example: _за да_ / za da"in order to", _може би_ / mozhe bi"maybe", _се забавям_ / se zavavyam"slow myself". For indicating the common POS meaning, we use the relation `fixed`.
* The numbers are analyzed as one token when used as expression without spaces (20000) or with an internal comma as indicator (10,434).
* The hyphenated complex words are treated as one token: _външно-политически_ / vanshno-politicheski "foreign-political", _министър-председателят_ / ministar-predsedateleyat "the prime minister", _по-малко_ / po-malko "less".
* Depending on the intervals, there might be cases in which the complex word is analyzed as three tokens. For example _ДПС - депутати_ / DPS - members-of-parliament "MPs from the DPS party".

---
**Instruction**: Describe the general rules for delimiting words (for example, based on whitespace and punctuation) and exceptions to these rules. Specify whether words with spaces and/or multiword tokens occur. Include links to further language-specific documentation if available.

---

## Morphology

### Tags

This is an overview only. For more detailed discussion and examples, see the list of [Bulgarian POS tags](pos/index.html)
and [Bulgarian features](feat/index.html).

* Bulgarian uses 15 universal POS categories. It does not make use of ([SYM]()) and ([X]()).
* Affirmative, negative, interrogative, modal particles are analyzed as ([PART]()). 
* The pronoun ([PRON]()) vs. determiner ([DET]()) distinction is handled as follows:
  * as pronouns - personal and reflexive pronouns, and all entity-pointing other pronouns (demonstrative, interrogative, relative, indefinite, collective, negative).
  * as determiners - the attributive and possessive atributive forms of the demonstrative, interrogative, relative, indefinite, collective, negative pronouns; the long forms of the possessive pronouns.
  * Disclamer 1: entity-denoting demonstrative, interrogative, relative, indefinite, collective, negative pronouns can be either ([PRON]()) or ([DET]()) depending on the usage of the homonymic form. If it is used as a pro-noun, it is pronoun. If it is used attributively, it is determiner.
{'fraction_non_alphanumeric': 0.09161190568225744, 'fraction_numerical': 0.005411673753382296, 'mean_word_length': 4.74361820199778, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '3787504', 'n_tokens_mistral': 1517, 'n_tokens_neox': 1430, 'n_words': 657}