@tricoteuses/tisseuse 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1 @@
1
+ export declare function formatLongDate(date: string): string;
@@ -1,3 +1,21 @@
1
+ export { formatLongDate } from './dates.js';
2
+ export { iterCardinalNumeralFormsFromNumber, iterLatinMultiplicativeAdverbsFromNumber, iterOrdinalNumeralFormsFromNumber, numberFromRomanNumeral, ordinalNumeralFromNumber, romanNumeralFromNumber, } from './numbers.js';
3
+ export { action } from './text_parsers/actions.js';
4
+ export { article, articles, definitionArticle, designationArticle, listeArticles, nomArticle, nomSpecialArticle, } from './text_parsers/articles.js';
5
+ export { compoundReferencesSeparators, divisionTypes, europeanLawNatures, frenchLawNatures, internationalLawNatures, isTextAstAtomicReference, isTextAstDivision, isTextAstPortion, lawNatures, localizationAdverbs, portionTypes, type CompoundReferencesSeparator, type DivisionType, type EuropeanLawNature, type FrenchLawNature, type InternationalLawNature, type LawNature, type LocalizationAdverb, type PortionType, type TextAst, type TextAstAction, type TextAstArticle, type TextAstAtomicReference, type TextAstBoundedInterval, type TextAstCitation, type TextAstCompoundReference, type TextAstConseilConstitutionnelDecision, type TextAstCountedInterval, type TextAstDivision, type TextAstEnumeration, type TextAstExclusion, type TextAstIncompleteHeader, type TextAstLocalization, type TextAstNumber, type TextAstParentChild, type TextAstPortion, type TextAstPosition, type TextAstReference, type TextAstReferenceAndAction, type TextAstText, type TextAstTextIdentification, type TextAstTextInfos, type TextInfosByWordsTree, } from './text_parsers/ast.js';
6
+ export { citation, citationLigne, citationSimple, } from './text_parsers/citations.js';
7
+ export { date, duDate } from './text_parsers/dates.js';
8
+ export { definitionDivision, designationDivision, division, divisions, natureDivisionSingulier, numeroDivision, } from './text_parsers/divisions.js';
9
+ export { addChildLeftToLastChild, createEnumerationOrBoundedInterval, createParentChildTreeFromReferences, iterAtomicFirstParentReferences, iterAtomicOrParentChildReferences, iterAtomicReferences, iterIncludedReferences, } from './text_parsers/helpers.js';
10
+ export { adjectifNumeralOrdinalCourt, adverbeMultiplicatifLatin, nombreAsTextAstNumber, nombreCardinal, nombreRomainCardinal, nombreRomainOrdinal, nombreRomainOu0iAsTextAstNumber, } from './text_parsers/numbers.js';
11
+ export { alternatives, chain, convert, optional, parseText, regExp, repeat, TextParserContext, variable, wordsTree, } from './text_parsers/parsers.js';
12
+ export { auPortion, auxPortions, numeroPortion, portions, unePortion, } from './text_parsers/portions.js';
1
13
  export type { TextPosition } from './text_parsers/positions.js';
14
+ export { ditPluriel, ditSingulier, introPluriel, introSingulier, liaisonPluriel, liaisonSingulier, } from './text_parsers/prepositions.js';
15
+ export { reference, uniteBasePreciseeSingulier, uniteBaseSingulier, } from './text_parsers/references.js';
16
+ export { adverbeRelatif, espaceAdverbeRelatif, relatifPlurielPrepose, relatifSingulierPrepose, } from './text_parsers/relative_locations.js';
2
17
  export { convertHtmlElementsToText, decodeNamedHtmlEntities, decodeNumericHtmlEntities, replacePattern, replacePatterns, simplifyHtml, simplifyText, simplifyUnicodeCharacters, } from './text_parsers/simplifiers.js';
18
+ export { identificationTexteEuropeen, natureTexteFrancais, numeroEtOuDateTexteFrancais, numeroTexteEuropeen, numeroTexteFrancais, optionalEspaceDuTerritoire, texte, texteEuropeen, texteFrancais, texteInternational, } from './text_parsers/texts.js';
3
19
  export { chainTransformers, iterOriginalMergedPositionsFromTransformed, originalMergedPositionsFromTransformed, originalSplitPositionsFromTransformed, type FragmentReverseTransformation, type SourceMapSegment, type Transformation, type TransformationLeaf, type TransformationNode, type Transformer, type TransformerLeaf, type TransformerNode, } from './text_parsers/transformers.js';
20
+ export { espace, lettreAsciiMinuscule, nonLettre, numero, virguleOuEspace, } from './text_parsers/typography.js';
21
+ export { escapeHtml } from './strings.js';
@@ -55,6 +55,14 @@ export type TextAstExclusion = {
55
55
  right: TextAstReference;
56
56
  type: "exclusion";
57
57
  } & TextAstPosition;
58
+ export interface TextAstTextIdentification {
59
+ date?: string;
60
+ /**
61
+ * For the texts found in the Légifrance datasets, this is
62
+ * Légifrance NUM of the text (for example the number of the law).
63
+ */
64
+ num?: string;
65
+ }
58
66
  export type TextAstIncompleteHeader = {
59
67
  localizationAdverb?: LocalizationAdverb;
60
68
  ofTheSaid?: boolean;
@@ -105,14 +113,6 @@ export type TextAstText = {
105
113
  title?: string;
106
114
  type: "texte";
107
115
  } & TextAstLocalization;
108
- export interface TextAstTextIdentification {
109
- date?: string;
110
- /**
111
- * For the texts found in the Légifrance datasets, this is
112
- * Légifrance NUM of the text (for example the number of the law).
113
- */
114
- num?: string;
115
- }
116
116
  export interface TextAstTextInfos {
117
117
  cid: string | string[];
118
118
  }