mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
'v3.6.3.1'
This commit is contained in:
@@ -19,7 +19,7 @@ package gplx.xowa.langs.grammars; import gplx.*; import gplx.xowa.*; import gplx
|
||||
import gplx.core.btries.*;
|
||||
public class Xol_grammar_he implements Xol_grammar {
|
||||
public boolean Grammar_eval(Bry_bfr bfr, Xol_lang_itm lang, byte[] word, byte[] type) {
|
||||
// if ( isset( $wgGrammarForms['he'][$case][$word] ) ) return $wgGrammarForms['he'][$case][$word]; // TODO: implement global $wgGrammarForms; WHEN: need to find he.w entries for DefaultSettings.php
|
||||
// if ( isset( $wgGrammarForms['he'][$case][$word] ) ) return $wgGrammarForms['he'][$case][$word]; // TODO_OLD: implement global $wgGrammarForms; WHEN: need to find he.w entries for DefaultSettings.php
|
||||
if (hash.Get_as_int_or(type, -1) == Tid__prefixed) {
|
||||
// Duplicate the "Waw" if prefixed, but not if it is already double.
|
||||
if ( Bry_.Match(word, 0, 2, Bry__waw__0) // "ו"
|
||||
@@ -39,11 +39,11 @@ public class Xol_grammar_he implements Xol_grammar {
|
||||
return true;
|
||||
}
|
||||
private static final int Tid__prefixed = 1;
|
||||
private static final Hash_adp_bry hash = Hash_adp_bry.ci_u8(gplx.xowa.langs.cases.Xol_case_mgr_.U8())
|
||||
private static final Hash_adp_bry hash = Hash_adp_bry.ci_u8(gplx.xowa.langs.cases.Xol_case_mgr_.U8())
|
||||
.Add_str_int("prefixed" , Tid__prefixed)
|
||||
.Add_str_int("תחילית" , Tid__prefixed)
|
||||
;
|
||||
private static final byte[]
|
||||
private static final byte[]
|
||||
Bry__waw__0 = Bry_.new_u8("ו"), Bry__waw__1 = Bry_.new_u8("וו")
|
||||
, Bry__he__0 = Bry_.new_u8("ה")
|
||||
, Bry__maqaf__0 = Bry_.new_u8("א"), Bry__maqaf__1 = Bry_.new_u8("ת"), Bry__maqaf__2 = Bry_.new_u8("־")
|
||||
|
||||
Reference in New Issue
Block a user