File: id.yaml

package info (click to toggle)
dateparser 1.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,196 kB
  • sloc: python: 52,721; makefile: 155; sh: 15
file content (42 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
skip: ["pukul", "tanggal", "yang"]

sentence_splitter_group : 1

sunday:
    - Ahad

august:
    - Agu
september:
    - Sept

ago:
    - lalu
in:
    - dalam

relative-type:
    1 year:
        - setahun
    1 month:
        - sebulan
    1 week:
        - seminggu
    2 day ago:
        - kemarin lusa
    1 day:
        - sehari
    0 second ago:
        - baru saja

relative-type-regex:
    \1 week ago:
        - (\d+[.,]?\d*) minggu lalu
    \1 month ago:
        - (\d+[.,]?\d*) bulan lalu
    \1 year ago:
        - (\d+[.,]?\d*) tahun lalu
    \1 week:
        - (\d+[.,]?\d*) minggu
    sunday:
        - minggu