-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This work is a contribution to the EWOK project, which receives funding from LABEX ASLAN (ANR–10–LABX–0081) at the Université de Lyon, as part of the "Investissements d'Avenir" program initiated and overseen by the Agence Nationale de la Recherche (ANR) in France.
- Loading branch information
Showing
6 changed files
with
201 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"etymology": ["Etimología"], | ||
"pronunciation": ["pronunciación"], | ||
"ignored_sections": ["Véase también"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"abreviatura": { "pos": "abbrev" }, | ||
"acrónimo": { "pos": "abbrev" }, | ||
"adjetivo": { "pos": "adj" }, | ||
"adjetivo cardinal": { "pos": "num" }, | ||
"adjetivo demostrativo": { "pos": "adj" }, | ||
"adjetivo indefinido": { "pos": "adj" }, | ||
"adjetivo indeterminado": { "pos": "adj" }, | ||
"adjetivo interrogativo": { "pos": "adj" }, | ||
"adjetivo numeral": { "pos": "num" }, | ||
"adjetivo ordinal": { "pos": "num" }, | ||
"adjetivo posesivo": { "pos": "adj" }, | ||
"adjetivo relativo": { "pos": "adj" }, | ||
"adverbio": { "pos": "adv" }, | ||
"adverbio comparativo": { "pos": "adv" }, | ||
"adverbio de afirmación": { "pos": "adv" }, | ||
"adverbio de cantidad": { "pos": "adv" }, | ||
"adverbio de duda": { "pos": "adv" }, | ||
"adverbio de lugar": { "pos": "adv" }, | ||
"adverbio de modo": { "pos": "adv" }, | ||
"adverbio de negación": { "pos": "adv" }, | ||
"adverbio de orden": { "pos": "adv" }, | ||
"adverbio de tiempo": { "pos": "adv" }, | ||
"adverbio demostrativo": { "pos": "adv" }, | ||
"adverbio interrogativo": { "pos": "adv" }, | ||
"adverbio relativo": { "pos": "adv" }, | ||
"afijo": { "pos": "affix" }, | ||
"artículo": { "pos": "article" }, | ||
"artículo determinado": { "pos": "article" }, | ||
"artículo indeterminado": { "pos": "article" }, | ||
"circunfijo": { "pos": "circumfix" }, | ||
"conjunción": { "pos": "conj" }, | ||
"conjunción adversativa": { "pos": "conj" }, | ||
"conjunción ilativa": { "pos": "conj" }, | ||
"dígrafo": { "pos": "character" }, | ||
"expresión": { "pos": "phrase" }, | ||
"forma verbal": { "pos": "verb" }, | ||
"interjección": { "pos": "intj" }, | ||
"letra": { "pos": "character" }, | ||
"locución": { "pos": "phrase" }, | ||
"locución adjetiva": { "pos": "phrase" }, | ||
"locución adverbial": { "pos": "phrase" }, | ||
"locución conjuntiva": { "pos": "phrase" }, | ||
"locución interjectiva": { "pos": "phrase" }, | ||
"locución prepositiva": { "pos": "phrase" }, | ||
"locución pronominal": { "pos": "phrase" }, | ||
"locución sustantiva": { "pos": "phrase" }, | ||
"locución verbal": { "pos": "phrase" }, | ||
"onomatopeya": { "pos": "noun" }, | ||
"partícula": { "pos": "particle" }, | ||
"postposición": { "pos": "postp" }, | ||
"prefijo": { "pos": "prefix" }, | ||
"preposición": { "pos": "prep" }, | ||
"preposición de ablativo": { "pos": "prep" }, | ||
"preposición de acusativo": { "pos": "prep" }, | ||
"preposición de acusativo o ablativo": { "pos": "prep" }, | ||
"preposición de genitivo": { "pos": "prep" }, | ||
"pronombre": { "pos": "pron" }, | ||
"pronombre demostrativo": { "pos": "pron" }, | ||
"pronombre indefinido": { "pos": "pron" }, | ||
"pronombre interrogativo": { "pos": "pron" }, | ||
"pronombre personal": { "pos": "pron" }, | ||
"pronombre posesivo": { "pos": "det" }, | ||
"pronombre relativo": { "pos": "pron" }, | ||
"refrán": { "pos": "proverb" }, | ||
"sigla": { "pos": "abbrev" }, | ||
"sufijo": { "pos": "suffix" }, | ||
"sufijo flexivo": { "pos": "suffix" }, | ||
"sustantivo": { "pos": "noun" }, | ||
"sustantivo ambiguo": { "pos": "noun" }, | ||
"sustantivo animado": { "pos": "noun" }, | ||
"sustantivo común": { "pos": "noun" }, | ||
"sustantivo femenino": { "pos": "noun" }, | ||
"sustantivo femenino y masculino": { "pos": "noun" }, | ||
"sustantivo inanimado": { "pos": "noun" }, | ||
"sustantivo masculino": { "pos": "noun" }, | ||
"sustantivo neutro": { "pos": "noun" }, | ||
"sustantivo neutro y masculino": { "pos": "noun" }, | ||
"sustantivo propio": { "pos": "name" }, | ||
"sustantivo propio/pruebas": { "pos": "name" }, | ||
"símbolo": { "pos": "symbol" }, | ||
"verbo": { "pos": "verb" }, | ||
"verbo auxiliar": { "pos": "verb" }, | ||
"verbo impersonal": { "pos": "verb" }, | ||
"verbo intransitivo": { "pos": "verb" }, | ||
"verbo modal": { "pos": "verb" }, | ||
"verbo perfectivo": { "pos": "verb" }, | ||
"verbo pronominal": { "pos": "verb" }, | ||
"verbo transitivo": { "pos": "verb" } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
from wiktextract.wxr_context import WiktextractContext | ||
from typing import Dict, List | ||
from wikitextprocessor import WikiNode | ||
|
||
|
||
def extract_pronunciation( | ||
wxr: WiktextractContext, page_data: List[Dict], template_node: WikiNode | ||
) -> None: | ||
pass |