PerseusDL / morpheus

Morpheus parser
26 stars 24 forks source link

Missing files from stemlib/Latin #23

Open lutetiensis opened 2 years ago

lutetiensis commented 2 years ago

The following files seem to be missing from the repository:

morpheus/stemlib/Latin/endtables/source/aLs_aris.end
morpheus/stemlib/Latin/endtables/source/abbrev.end
morpheus/stemlib/Latin/endtables/source/adverb.end
morpheus/stemlib/Latin/endtables/source/alphabetic.end
morpheus/stemlib/Latin/endtables/source/article.end
morpheus/stemlib/Latin/endtables/source/as_anis.end
morpheus/stemlib/Latin/endtables/source/conj.end
morpheus/stemlib/Latin/endtables/source/connect.end
morpheus/stemlib/Latin/endtables/source/demonstr.end
morpheus/stemlib/Latin/endtables/source/demonstr.end
morpheus/stemlib/Latin/endtables/source/es_idis.end
morpheus/stemlib/Latin/endtables/source/exclam.end
morpheus/stemlib/Latin/endtables/source/expletive.end
morpheus/stemlib/Latin/endtables/source/indecl.end
morpheus/stemlib/Latin/endtables/source/indecl_adj.end
morpheus/stemlib/Latin/endtables/source/indecl_noun.end
morpheus/stemlib/Latin/endtables/source/indef.end
morpheus/stemlib/Latin/endtables/source/indef_pron.end
morpheus/stemlib/Latin/endtables/source/indef_rel_pron.end
morpheus/stemlib/Latin/endtables/source/interrog.end
morpheus/stemlib/Latin/endtables/source/interrog.end
morpheus/stemlib/Latin/endtables/source/irreg_adj1.end
morpheus/stemlib/Latin/endtables/source/irreg_adj2.end
morpheus/stemlib/Latin/endtables/source/irreg_adj3.end
morpheus/stemlib/Latin/endtables/source/irreg_nom2.end
morpheus/stemlib/Latin/endtables/source/irreg_nom3.end
morpheus/stemlib/Latin/endtables/source/numeral.end
morpheus/stemlib/Latin/endtables/source/or_uris.end
morpheus/stemlib/Latin/endtables/source/particle.end
morpheus/stemlib/Latin/endtables/source/pers_pron.end
morpheus/stemlib/Latin/endtables/source/prep.end
morpheus/stemlib/Latin/endtables/source/pron1.end
morpheus/stemlib/Latin/endtables/source/pron2.end
morpheus/stemlib/Latin/endtables/source/pron3.end
morpheus/stemlib/Latin/endtables/source/pron_adj1.end
morpheus/stemlib/Latin/endtables/source/pron_adj3.end
morpheus/stemlib/Latin/endtables/source/reflex.end
morpheus/stemlib/Latin/endtables/source/rel_pron.end
morpheus/stemlib/Latin/endtables/source/relative.end
morpheus/stemlib/Latin/endtables/source/s_dis_adj.end

and

morpheus/stemlib/Latin/stemsrc/vbs.mpi

I could not find them in the whole history of this repository and they don't seem to be autogenerated. Would anyone have them? This is would also fix @christiancasey's #18.

@lcerrato (sorry to ping you directly), this repository seems to be abandoned, are you looking for contributors? I am very seriously willing to fix bugs, modernize the repository, update the code... Let me know.

Thanks.

lcerrato commented 2 years ago

@lutetiensis Hi, I'm afraid I have no role with this data or this repository and can't assist with the missing data. adding @gregorycrane @jtauber

bcrowell commented 5 months ago

I think I've found a fix for this, although I'm not 100% clear on why it works.

I checked, and these files were never present at any point in the git history at any time since 1998. The files do not seem to be generated, since I eventually got it to work without them. Apparently when the whole thing is configured correctly, it is willing to ignore the fact that they're missing, but attempting to adapt the instructions in the README (which have mistakes in them) can lead to a misconfigured setup in which it isn't so forgiving about the missing files. The reason it thinks it needs the files seems to be that the relevant strings occur (for Greek) in stemlib/Greek/rule_files/stemtypes.table. There is a long list of them at the end of that file, and their names match the missing files. This material in stemtypes.table is not new: the file hasn't changed much since 1998.

The readme says to modify PATH so it includes bin, but this doesn't make sense, there is no such directory. What I did that eventually made this work involved creating such a directory. After compiling all the executables:

mkdir bin
export PATH=$PATH:/home/bcrowell/morpheus/src/gkends/:/home/bcrowell/morpheus/bin
cp /home/bcrowell/morpheus/src/anal/cruncher bin
cp /home/bcrowell/morpheus/src/gener/do_conj bin
cp /home/bcrowell/morpheus/src/gkdict/indexnoms bin
cp /home/bcrowell/morpheus/src/gkdict/indexvbs bin
cd stemlib/Greek
MORPHLIB=.. make

attn: @lutetiensis