graphrt-core 0.7.0

Executor-agnostic graph runtime for agentic AI workflows: graph model, variable pool, scheduler, events, snapshots and built-in control nodes.
Documentation
//! Word lists of the claims check, English and Indonesian.
//!
//! A word on these lists states no fact by itself: function words ("the", "yang"), the words
//! any business chat uses ("price", "harga", "open", "thanks") and units. Every other word of a
//! reply has to be in the sources. The lists are short on purpose: a word missing here makes the
//! check stricter (a paraphrase is dropped), never looser.

/// Function words: articles, pronouns, auxiliaries, prepositions, conjunctions, negations,
/// question words, quantifiers.
pub(super) const FUNCTION_WORDS: &str = "a about above after again all also am an and any are as at be because been before being below \
     between both but by can could did do does doing don down during each either else even ever every few \
     for from further had has have having he her here hers him his how i if in into is it its itself just \
     least less let like may me might more most much must my no nor not now of off on once one only or \
     other our ours ourselves out over own per same shall she should so some such than that the their \
     them then there these they this those through to too under until up upon us very via was we were \
     what when where whether which while who whom whose why will with within without would yes yet you \
     your yours yourself ll re ve s t d m isn aren wasn weren doesn didn won wouldn couldn shouldn haven \
     hasn can't cannot already still always never usually often sometimes really quite around \
     approximately about currently right anything something everything nothing anyone someone everyone \
     via etc e.g i.e including include includes ada adalah agak agar akan aku anda apa apakah atau \
     bagaimana bahwa baik banyak beberapa begitu belum benar berapa biasanya bila bisa boleh bukan buat \
     cukup dalam dan dapat dari dengan di dia ini itu jadi jika juga kalau kami kamu kapan karena ke kita \
     lagi lain lebih maka mana masih mau melalui memang mereka mungkin namun nya oleh pada para perlu \
     saat saja sama sampai sangat saya se sebagai sebelum sedang sejak sekali selalu selama semua sendiri \
     seperti sesudah setelah setiap siapa silakan silahkan sudah supaya tapi tetapi tentang tersebut \
     tidak tiap untuk yang ya iya nggak gak enggak tak pun lah kah dong kok sih deh nih kakak kak bapak \
     ibu pak bu mas mbak sekitar sebesar harus wajib must lanjut further soal mengenai terkait perihal \
     regarding concerning sini situ sana back senilai seharga secara berupa kurang hanya masing antara \
     hingga s/d sd mulai dimulai yaitu yakni termasuk jam pukul hari setiap per";

/// Words any business chat uses that state no fact of their own: greetings, thanks, offers of
/// help, the owner and the team, asking and answering, prices, opening, ordering, time words,
/// units. "We offer free delivery" still has "free" and "delivery" to check.
pub(super) const CHAT_WORDS: &str = "hello hi hey dear thanks thank welcome please sorry glad happy pleased great good nice sure \
     certainly absolutely of course help assist assistance question questions ask asking asked answer \
     reply replies information info details detail know knows let feel contact reach message chat team \
     staff owner person someone soon shortly moment today tomorrow now time times day days week weeks \
     hour hours minute minutes date price prices priced pricing cost costs costing charge charges fee \
     fees rate rates pay paid total only each open opens opening closed close closes closing available \
     availability offer offers offering provide provides service services order orders ordering book \
     booking need needs want wants would like get make take give go come see look looking find check \
     visit us here customer customers business shop store place currently regular usual normal standard \
     kind type types option options item items range operating operate operates work works working able \
     unable happy enjoy great day ready starting start starts from through until till between and morning \
     afternoon evening night noon midnight daily weekly hand pass forward connect wait patient patience \
     appreciate understand unfortunately however please note noted mention mentioned said say says tell \
     told share currently yet still orang wib wita wit people persons kilogram kilograms kilo kilos kg \
     gram grams gr liter liters litre ml piece pieces pcs pc unit units portion portions serving servings \
     minimum maximum least most amount number much many full half whole halo hai selamat pagi siang sore \
     malam terima kasih makasih sama-sama maaf mohon senang baik tentu pasti bantu membantu bantuan tanya \
     bertanya pertanyaan jawab menjawab balas membalas info informasi detail tahu mengetahui hubungi \
     menghubungi kontak pesan chat tim pemilik owner admin segera nanti sebentar hari minggu jam waktu \
     menit tanggal harga harganya biaya biayanya tarif bayar membayar total buka dibuka tutup ditutup \
     tersedia menyediakan sedia layanan melayani pelayanan jasa pesanan memesan pesan order booking perlu \
     butuh ingin mau dapatkan mendapatkan datang lihat cek kunjungi pelanggan toko tempat usaha bisnis \
     biasa reguler jenis macam pilihan pilih operasional beroperasi kerja bekerja siap mulai sampai \
     hingga setiap kunjungan tunggu menunggu sabar mengerti paham sayangnya namun catat dicatat sebut \
     disebutkan bilang katakan kilogram kilo kg gram liter buah potong porsi minimal maksimal paling \
     sedikit jumlah banyak penuh setengah kami kita";

/// Days of the week, Monday first, by the words a text writes for them.
pub(super) const DAYS: &[&[&str]] = &[
    &["monday", "mon", "senin"],
    &["tuesday", "tue", "tues", "selasa"],
    &["wednesday", "wed", "rabu"],
    &["thursday", "thu", "thurs", "kamis"],
    &["friday", "fri", "jumat"],
    &["saturday", "sat", "sabtu"],
    &["sunday", "sun", "minggu", "ahad"],
];

/// Words for several days at once, with the days they mean (Monday is 0).
pub(super) const DAY_GROUPS: &[(&str, &[usize])] = &[
    ("weekend", &[5, 6]),
    ("weekends", &[5, 6]),
    ("weekday", &[0, 1, 2, 3, 4]),
    ("weekdays", &[0, 1, 2, 3, 4]),
    ("daily", &[0, 1, 2, 3, 4, 5, 6]),
    ("everyday", &[0, 1, 2, 3, 4, 5, 6]),
];

/// Number words: "dua minggu" is two weeks, not two Sundays.
pub(super) const NUMBER_WORDS: &[&str] = &[
    "one", "two", "three", "four", "five", "six", "few", "several", "satu", "dua", "tiga", "empat", "lima", "enam",
    "tujuh", "delapan", "sembilan", "sepuluh", "beberapa",
];

/// Words that join two days into a range ("Monday to Saturday", "Senin sampai Sabtu", "Mon-Sat").
pub(super) const RANGE_WORDS: &[&str] =
    &["to", "through", "thru", "till", "until", "sampai", "hingga", "s/d", "sd", "-"];

/// Words that say a day is closed.
pub(super) const CLOSED_WORDS: &[&str] = &[
    "closed", "close", "closes", "shut", "off", "tutup", "libur", "ditutup", "tidak", "not", "no", "never", "except",
    "kecuali", "bukan", "nggak", "gak", "isn", "aren", "don", "doesn",
];