Skip to content

Commit

Permalink
add new phpmorphy for php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
webber12 committed Aug 24, 2022
1 parent e5c2dd6 commit 51cf9d1
Show file tree
Hide file tree
Showing 20 changed files with 292 additions and 229 deletions.
1 change: 0 additions & 1 deletion assets/lib/phpmorphy/dicts/__put_dicts_here__

This file was deleted.

Binary file added assets/lib/phpmorphy/dicts/common_aut.de_de.bin
Binary file not shown.
Binary file added assets/lib/phpmorphy/dicts/common_aut.uk_ua.bin
Binary file not shown.
1 change: 1 addition & 0 deletions assets/lib/phpmorphy/dicts/gramtab.de_de.bin

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/lib/phpmorphy/dicts/gramtab.uk_ua.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:3:{s:5:"poses";a:1:{i:0;a:2:{s:10:"is_predict";b:1;s:4:"name";s:7:"UNKNOWN";}}s:8:"grammems";a:1:{i:0;a:2:{s:5:"shift";i:255;s:4:"name";s:0:"";}}s:7:"ancodes";a:1:{i:0;a:2:{s:6:"pos_id";i:0;s:11:"grammem_ids";a:1:{i:0;i:0;}}}}
1 change: 1 addition & 0 deletions assets/lib/phpmorphy/dicts/gramtab_txt.de_de.bin

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/lib/phpmorphy/dicts/gramtab_txt.uk_ua.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
a:3:{s:5:"poses";a:1:{i:0;a:2:{s:10:"is_predict";b:1;s:4:"name";s:7:"UNKNOWN";}}s:8:"grammems";a:1:{i:0;a:2:{s:5:"shift";i:255;s:4:"name";s:0:"";}}s:7:"ancodes";a:1:{i:0;a:2:{s:6:"pos_id";s:7:"UNKNOWN";s:11:"grammem_ids";a:1:{i:0;s:0:"";}}}}
Binary file added assets/lib/phpmorphy/dicts/morph_data.de_de.bin
Binary file not shown.
Binary file added assets/lib/phpmorphy/dicts/morph_data.uk_ua.bin
Binary file not shown.
29 changes: 29 additions & 0 deletions assets/lib/phpmorphy/dicts/morph_data_header_cache.de_de.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php
return array (
'ver' => 3,
'is_be' => 0,
'flex_count_old' => 1319,
'flex_offset' => 256,
'flex_size' => 490720,
'flex_count' => 1319,
'flex_index_offset' => 490976,
'flex_index_size' => 5276,
'poses_offset' => 496384,
'poses_size' => 178,
'poses_count' => 18,
'poses_index_offset' => 496576,
'poses_index_size' => 72,
'grammems_offset' => 496896,
'grammems_size' => 626,
'grammems_count' => 62,
'grammems_index_offset' => 497536,
'grammems_index_size' => 248,
'ancodes_offset' => 497920,
'ancodes_size' => 16602,
'ancodes_count' => 1153,
'ancodes_index_offset' => 514528,
'ancodes_index_size' => 4612,
'char_size' => 1,
'lang' => 'de_DE',
'encoding' => 'utf-8',
);
29 changes: 29 additions & 0 deletions assets/lib/phpmorphy/dicts/morph_data_header_cache.uk_ua.bin
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?php
return array (
'ver' => 3,
'is_be' => 0,
'flex_count_old' => 908,
'flex_offset' => 256,
'flex_size' => 345824,
'flex_count' => 908,
'flex_index_offset' => 346080,
'flex_index_size' => 3632,
'poses_offset' => 349952,
'poses_size' => 14,
'poses_count' => 1,
'poses_index_offset' => 349984,
'poses_index_size' => 4,
'grammems_offset' => 350208,
'grammems_size' => 6,
'grammems_count' => 1,
'grammems_index_offset' => 350240,
'grammems_index_size' => 4,
'ancodes_offset' => 350464,
'ancodes_size' => 8,
'ancodes_count' => 1,
'ancodes_index_offset' => 350496,
'ancodes_index_size' => 4,
'char_size' => 1,
'lang' => 'uk_UA',
'encoding' => 'utf-8',
);
1 change: 1 addition & 0 deletions assets/lib/phpmorphy/dicts/options.de_de.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
is_annot_with_form_no = 1
1 change: 1 addition & 0 deletions assets/lib/phpmorphy/dicts/options.uk_ua.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
is_annot_with_form_no = 1
Binary file added assets/lib/phpmorphy/dicts/predict_aut.de_de.bin
Binary file not shown.
Binary file added assets/lib/phpmorphy/dicts/predict_aut.uk_ua.bin
Binary file not shown.
Loading

0 comments on commit 51cf9d1

Please sign in to comment.