Skip to content

Commit

Permalink
simplify architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
bguil committed Jan 9, 2025
1 parent 5b7fa05 commit 3971ba8
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 22 deletions.
29 changes: 15 additions & 14 deletions content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ You will find informations about :

The other layers of annotations follow the UD guidelines. Please refer to UD for these aspects:

- [Tokenization and word segmentation](https://universaldependencies.org/u/overview/tokenization.html)
- [Morphology](https://universaldependencies.org/u/overview/morphology.html)
- [POS tags](https://universaldependencies.org/u/pos), [single document](https://universaldependencies.org/u/pos/all.html)
- [Features](https://universaldependencies.org/u/feat), [single document](https://universaldependencies.org/u/feat/all.html)
- [Layered features](https://universaldependencies.org/u/overview/feat-layers.html)
- [Language-specific features](https://universaldependencies.org/ext-feat-index.html)
- [UD: Tokenization and word segmentation](https://universaldependencies.org/u/overview/tokenization.html)
- [UD: Morphology](https://universaldependencies.org/u/overview/morphology.html)
- [UD: POS tags](https://universaldependencies.org/u/pos), [single document](https://universaldependencies.org/u/pos/all.html)
- [UD: Features](https://universaldependencies.org/u/feat), [single document](https://universaldependencies.org/u/feat/all.html)
- [UD: Layered features](https://universaldependencies.org/u/overview/feat-layers.html)
- [UD: Language-specific features](https://universaldependencies.org/ext-feat-index.html)

## General Principles

## General SUD Principles

The main differences with respect to UD are the following:

Expand All @@ -47,7 +47,13 @@ The main differences with respect to UD are the following:

- There is a strict distinction between surface-syntactic relations and deep-syntactic features expressed as extensions of syntactic relation names using the `@` symbol.

UD relations that are not used in **SUD**:
In **SUD**, three major relations are used:
[`subj`](docs/general_guideline/Syntactic_relations/subj.md),
[`comp`](docs/general_guideline/Syntactic_relations/comp/_index.md),
[`mod`](./docs/general_guideline/Syntactic_relations/mod/mod.md)
(subject, complement, modifier) -- with possible sub-relations, in addition to the general [`udep`](docs/general_guideline/Syntactic_relations/udep/udep.md) (underspecified dependency) to a more marginal extent.

This three major relations replace the following UD relations:
[`nsubj`](https://universaldependencies.org/u/dep/nsubj.html),
[`csubj`](https://universaldependencies.org/u/dep/csubj.html),
[`obj`](https://universaldependencies.org/u/dep/obj.html),
Expand All @@ -65,11 +71,6 @@ UD relations that are not used in **SUD**:
[`cop`](https://universaldependencies.org/u/dep/cop.html),
[`case`](https://universaldependencies.org/u/dep/case.html),
[`mark`](https://universaldependencies.org/u/dep/mark.html).
These 17 relations are replaced by three major relations in SUD --
[`subj`](docs/general_guideline/Syntactic_relations/subj.md),
[`comp`](docs/general_guideline/Syntactic_relations/comp/_index.md),
[`mod`](./docs/general_guideline/Syntactic_relations/mod/mod.md)
(subject, complement, modifier) -- with possible sub-relations, in addition to the general [`udep`](docs/general_guideline/Syntactic_relations/udep/udep.md) (underspecified dependency) to a more marginal extent.
These relations are not used SUD.


## Authors and contributors
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"requests": {
"adverb_used_as_pronoun": "pattern {N [ExtPos=PRON, !Idiom, !Title, upos=ADV]}",
"noun_as_adverb": "pattern {N [ExtPos=ADV, !Idiom, !Title, upos=NOUN]}",
"symbols": "pattern {N [ExtPos, !Idiom, !Title, upos=SYM]}"
},
"grid": {
"defaultColDef": {
"width": 150,
"sortable": true,
"sortingOrder": [
"desc",
"asc"
],
"resizable": true
},
"columnDefs": [
{
"field": "row_header",
"headerName": "Treebank",
"pinned": "left",
"lockPinned": true
},
{
"field": "adverb_used_as_pronoun",
"headerName": "adverb_used_as_pronoun"
},
{
"field": "noun_as_adverb",
"headerName": "noun_as_adverb"
},
{
"field": "symbols",
"headerName": "symbols"
}
],
"rowData": [
{
"row_header": "SUD_French-GSD@latest",
"adverb_used_as_pronoun": 397,
"noun_as_adverb": 207,
"symbols": 684
},
{
"row_header": "SUD_French-ParisStories@latest",
"adverb_used_as_pronoun": 0,
"noun_as_adverb": 0,
"symbols": 0
},
{
"row_header": "SUD_French-Rhapsodie@latest",
"adverb_used_as_pronoun": 18,
"noun_as_adverb": 0,
"symbols": 0
}
]
}
}
2 changes: 1 addition & 1 deletion tools/french/french_page/output_french_subj.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Overview

The [subj](docs/general_guideline/Syntactic_relations/subj/subj.md) in french is usualy between a [VERB](docs/general_guideline/Upos/VERB.md) or anAUX (often the root) and a nominal group ([NOUN](docs/general_guideline/Upos/NOUN.md), [PROPN](docs/general_guideline/Upos/PROPN.md) or [PRON](docs/general_guideline/Upos/PRON.md)). You can see all the pattern in this table. In french, we can have three deep syntactic sub-relations :
The [subj](docs/general_guideline/Syntactic_relations/subj.md) in french is usualy between a [VERB](docs/general_guideline/Upos/VERB.md) or anAUX (often the root) and a nominal group ([NOUN](docs/general_guideline/Upos/NOUN.md), [PROPN](docs/general_guideline/Upos/PROPN.md) or [PRON](docs/general_guideline/Upos/PRON.md)). You can see all the pattern in this table. In french, we can have three deep syntactic sub-relations :

@[pass](docs/general_guideline/Deep/pass.md) : expressing a passiv subject
@expl : expressing an [expletiv](docs/general_guideline/Deep/expl.md) subject
Expand Down
6 changes: 3 additions & 3 deletions tools/french/french_table_json/sud_french.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"corpora": [
{
"id": "SUD_French-GSD@latest",
"directory": "french/corpora/SUD_French-GSD"
"directory": "/Users/guillaum/github/surfacesyntacticud/guidelines/tools/french/corpora/SUD_French-GSD"
},
{
"id": "SUD_French-ParisStories@latest",
"directory": "french/corpora/SUD_French-ParisStories"
"directory": "/Users/guillaum/github/surfacesyntacticud/guidelines/tools/french/corpora/SUD_French-ParisStories"
},
{
"id": "SUD_French-Rhapsodie@latest",
"directory": "french/corpora/SUD_French-Rhapsodie"
"directory": "/Users/guillaum/github/surfacesyntacticud/guidelines/tools/french/corpora/SUD_French-Rhapsodie"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

### Overview

In Haitian creole The [subj](docs/general_guideline/Syntactic_relations/subj/subj.md) relation is used for all subjects, regardless of their form. The [subj](docs/general_guideline/Syntactic_relations/subj/subj.md) label in Haitian Creole is usually used to mark relations between a [VERB](docs/general_guideline/Upos/VERB.md) and a nominal group ( [NOUN](docs/general_guideline/Upos/NOUN.md), [PROPN](docs/general_guideline/Upos/PROPN.md) or [PRON](docs/general_guideline/Upos/PRON.md)). You can see all the patterns in the table below.
In Haitian creole The [subj](docs/general_guideline/Syntactic_relations/subj.md) relation is used for all subjects, regardless of their form. The [subj](docs/general_guideline/Syntactic_relations/subj.md) label in Haitian Creole is usually used to mark relations between a [VERB](docs/general_guideline/Upos/VERB.md) and a nominal group ( [NOUN](docs/general_guideline/Upos/NOUN.md), [PROPN](docs/general_guideline/Upos/PROPN.md) or [PRON](docs/general_guideline/Upos/PRON.md)). You can see all the patterns in the table below.

{{<conll>}}
# sent_id = my_sample__1
Expand Down Expand Up @@ -54,7 +54,7 @@

#### Causative construction with [ADP](docs/general_guideline/Upos/ADP.md) governor

- Description: In Haitian Creole a causative construction can be expressed with [ADP](docs/general_guideline/Upos/ADP.md) in the role of the root instead of a [VERB](docs/general_guideline/Upos/VERB.md) or an [AUX](docs/general_guideline/Upos/AUX.md). Then the governor of the [subj](docs/general_guideline/Syntactic_relations/subj/subj.md) is en [ADP](docs/general_guideline/Upos/ADP.md).
- Description: In Haitian Creole a causative construction can be expressed with [ADP](docs/general_guideline/Upos/ADP.md) in the role of the root instead of a [VERB](docs/general_guideline/Upos/VERB.md) or an [AUX](docs/general_guideline/Upos/AUX.md). Then the governor of the [subj](docs/general_guideline/Syntactic_relations/subj.md) is en [ADP](docs/general_guideline/Upos/ADP.md).

- Pattern: GOV -[subj]-> DEP; GOV[upos=ADP]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

#### Causative construction with [ADP](docs/general_guideline/Upos/ADP.md) governor

- Description: In Haitian Creole a causative construction can be expressed with [ADP](docs/general_guideline/Upos/ADP.md) in the role of the root instead of a [VERB](docs/general_guideline/Upos/VERB.md) or an [AUX](docs/general_guideline/Upos/AUX.md). Then the governor of the [subj](docs/general_guideline/Syntactic_relations/subj/subj.md) is en [ADP](docs/general_guideline/Upos/ADP.md).
- Description: In Haitian Creole a causative construction can be expressed with [ADP](docs/general_guideline/Upos/ADP.md) in the role of the root instead of a [VERB](docs/general_guideline/Upos/VERB.md) or an [AUX](docs/general_guideline/Upos/AUX.md). Then the governor of the [subj](docs/general_guideline/Syntactic_relations/subj.md) is en [ADP](docs/general_guideline/Upos/ADP.md).

- Pattern: GOV -[subj]-> DEP; GOV[upos=ADP]

Expand Down
2 changes: 1 addition & 1 deletion tools/links.csv
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ comp:cleft,docs/general_guideline/Syntactic_relations/comp/comp_cleft.md
comp:obl,docs/general_guideline/Syntactic_relations/comp/comp_obl.md
comp:pred,docs/general_guideline/Syntactic_relations/comp/comp_pred.md
comp ,docs/general_guideline/Syntactic_relations/comp/_index.md
subj,docs/general_guideline/Syntactic_relations/subj/subj.md
subj,docs/general_guideline/Syntactic_relations/subj.md
number,docs/general_guideline/Particular_construction/number.md
disfluency,docs/general_guideline/Particular_construction/disfluency.md
comparative_construction,docs/general_guideline/Particular_construction/comparative_construction.md
Expand Down

0 comments on commit 3971ba8

Please sign in to comment.