keeleleek/pextract2gf

Code refactoring

Opened this issue · 0 comments

Here are some sleepy notes found on a scrap-paper in my pocket:

  • get-variable-instantiation-map( $paradigm-cell as element(p:paradigm-cell) ) as map
  • reconstruct-wordforms( $paradigm-cell ) as xs:string+ (: notice plural :)
  • collapse-variants( $paradigm-file as element(p:paradigm-file) ) as element(p:paradigm-file)
  • make-smart-paradigm( $paradigm-file )
    • but reflect also on how to get weights and other external information from elsewhere (LMF)
  • lemma choosing by declaring it's features $use-features-for-lemma :=