Skip to content

Documentation / @jalali-js/nlp / WordList

Interface: WordList

Defined in: word-list.ts:10

Properties

monthNames

monthNames: readonly readonly string[][]

Defined in: word-list.ts:22

12 entries, index 0 is Farvardin (Jalali month 1). Each entry lists every accepted spelling for that month, so more variants can be added without changing parse().


nextMonthMarkers

nextMonthMarkers: readonly string[]

Defined in: word-list.ts:16

The word(s) meaning "next", used to build a "next Farvardin"-style phrase.


nextMonthOrder

nextMonthOrder: "prefix" | "suffix"

Defined in: word-list.ts:19

Whether the marker comes before the month name ('prefix', "next Farvardin") or after it ('suffix', "فروردین آینده").


nextWeek

nextWeek: readonly string[]

Defined in: word-list.ts:14


today

today: readonly string[]

Defined in: word-list.ts:11


tomorrow

tomorrow: readonly string[]

Defined in: word-list.ts:12


yesterday

yesterday: readonly string[]

Defined in: word-list.ts:13