Documentation

Linglib.Fragments.Japanese.Nouns

Japanese Noun Lexicon Fragment #

Japanese-specific noun entries and NP structure. Japanese is [+arg, -pred]: no articles, optional number morphology, classifiers for counting, bare nouns freely occur as arguments with multiple interpretations.

Classifier handles are typed Fragments.Japanese.Classifier constructors from the enum-as-source-of-truth fragment (Fragments.Japanese.Classifier).

A lexical entry for a Japanese noun.

  • form : String
  • romaji : String
  • pluralForm : Option String
  • classifier : Option Classifier
  • proper : Bool
Instances For
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      Instances For

        Japanese NP structure (no articles).

        Case marking on the NP is not represented at this layer — the authoritative case-marker registry lives in Fragments.Japanese.Case (CaseMarker with fields romaji, kana, cases : Finset Core.Case, omissibleInCasual). A case-marked NP type is intentionally not introduced here; downstream consumers that need NP-with-case should pair NP with a CaseMarker explicitly rather than embedding a case slot of unknown semantics.

        • noun : NounEntry
        • isBare : Bool
        • demonstrative : Option String
        • numeral : Option
        • usePlural : Bool
        Instances For
          def Fragments.Japanese.Nouns.instReprNP.repr :
          NPStd.Format
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            Equations
            Instances For

              Japanese has no articles, so no type shifts are blocked.

              Equations
              Instances For
                Equations
                Instances For
                  Equations
                  Instances For
                    Equations
                    Instances For
                      Equations
                      Instances For
                        Equations
                        Instances For
                          Equations
                          Instances For
                            Equations
                            Instances For
                              Equations
                              Instances For
                                Equations
                                Instances For
                                  Equations
                                  Instances For
                                    Equations
                                    Instances For
                                      Equations
                                      Instances For
                                        Equations
                                        Instances For
                                          Equations
                                          Instances For
                                            Equations
                                            Instances For
                                              Equations
                                              Instances For
                                                Equations
                                                Instances For
                                                  Equations
                                                  Instances For
                                                    Equations
                                                    Instances For
                                                      Equations
                                                      Instances For
                                                        Equations
                                                        Instances For
                                                          Equations
                                                          • One or more equations did not get rendered due to their size.
                                                          Instances For
                                                            def Fragments.Japanese.Nouns.lookup (form : String) :
                                                            Option NounEntry
                                                            Equations
                                                            Instances For

                                                              Small animals take 匹.

                                                              theorem Fragments.Japanese.Nouns.mass_nouns_no_classifier :
                                                              ([mizu, gohan].all fun (x : NounEntry) => x.classifier == none) = true

                                                              Mass nouns have no classifier.