Skip to content

Commit

Permalink
Merge pull request #4 from perseids-tools/include-stemlibs
Browse files Browse the repository at this point in the history
Include Linux stemlibs
  • Loading branch information
zfletch authored Aug 15, 2018
2 parents 0f5f96d + 55f6ea6 commit c14c886
Show file tree
Hide file tree
Showing 590 changed files with 322,781 additions and 38 deletions.
22 changes: 2 additions & 20 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# output files
*.o
*.a
*.out
*.asc

# binaries
bin/

src/anal/cruncher
src/anal/deverbal
src/anal/findbase
Expand All @@ -31,20 +30,3 @@ src/gkends/buildend
src/gkends/buildword
src/gkends/indderivtables
src/gkends/indendtables

stemlib/Greek/conjfile
stemlib/Greek/derivs/indices/
stemlib/Greek/endtables/indices/
stemlib/Greek/steminds/
stemlib/Greek/stemsrc/flatlems
stemlib/Greek/stemsrc/goodstem
stemlib/Greek/stemsrc/headnolen
stemlib/Greek/stemsrc/stripref
stemlib/Greek/stemsrc/zapfirstf

stemlib/Latin/conjfile
stemlib/Latin/derivs/indices/
stemlib/Latin/endtables/indices/nendind
stemlib/Latin/endtables/indices/vbendind
stemlib/Latin/oddfile
stemlib/Latin/steminds/
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ before_install:

script:
- bash -c "cd src/ && CFLAGS='-std=gnu89' make && make install"
- bash -c "cd stemlib/Greek && PATH=$PATH:../../bin MORPHLIB=.. make && PATH=$PATH:../../bin MORPHLIB=.. make"
- bash -c "cd stemlib/Latin && PATH=$PATH:../../bin MORPHLIB=.. make && PATH=$PATH:../../bin MORPHLIB=.. make"
- ruby test/test.rb
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,3 @@ ADD . /morpheus
WORKDIR /morpheus

RUN cd src/ && make clean && CFLAGS='-std=gnu89' make && make install

RUN cd stemlib/Latin && make clean && PATH=$PATH:../../bin MORPHLIB=.. make && PATH=$PATH:../../bin MORPHLIB=.. make
RUN cd stemlib/Greek && make clean && PATH=$PATH:../../bin MORPHLIB=.. make && PATH=$PATH:../../bin MORPHLIB=.. make
24 changes: 11 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,6 @@ cd src/
make clean
CFLAGS='-std=gnu89 -Wno-return-type' make LOADLIBES='-ll'
make install

cd ../stemlib/Greek/
make clean
PATH="$PATH:../../bin" MORPHLIB='..' make
PATH="$PATH:../../bin" MORPHLIB='..' make

cd ../Latin/
make clean
PATH="$PATH:../../bin" MORPHLIB='..' make
PATH="$PATH:../../bin" MORPHLIB='..' make
```

(Tested on macOS High Sierra Version 10.13.5, Apple LLVM version 9.1.0.)
Expand All @@ -65,8 +55,18 @@ cd src/
make clean
CFLAGS='-std=gnu89' make
make install
```

(Tested on Ubuntu 16.04 and 18.04.)

### Stemlibs

cd ../stemlib/Greek/
The stemlibs are checked in and included in the repository.
To rebuild the stemlibs, run the following commands (with the same
`CFLAGS` used when compiling the binaries):

```
cd stemlib/Greek/
make clean
PATH="$PATH:../../bin" MORPHLIB='..' make
PATH="$PATH:../../bin" MORPHLIB='..' make
Expand All @@ -77,8 +77,6 @@ PATH="$PATH:../../bin" MORPHLIB='..' make
PATH="$PATH:../../bin" MORPHLIB='..' make
```

(Tested on Ubuntu 16.04 and 18.04.)

## Usage

Example usage:
Expand Down
73,545 changes: 73,545 additions & 0 deletions stemlib/Greek/conjfile

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions stemlib/Greek/derivs/ascii/aL_stem.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
* aw_pr aL_stem
a_s reg_fut aL_stem
a_s aor1 aL_stem
a_k perf_act aL_stem
a_ perfp_vow aL_stem
a_sq aor_pass aL_stem
72 changes: 72 additions & 0 deletions stemlib/Greek/derivs/ascii/a_stem.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
* aw_pr a_stem
* ami_pr a_stem
ai w_stem a_stem
* ew_pr a_stem ionic
* ajw_pr a_stem
* ami_short a_stem
a_ ath_primary a_stem attic r_e_i_alpha
h ath_primary a_stem
a_ ath_primary a_stem
ask w_stem a_stem
a_sk w_stem a_stem attic r_e_i_alpha
hsk w_stem a_stem
a_|sk w_stem a_stem attic r_e_i_alpha
h|sk w_stem a_stem
a_|sk w_stem a_stem doric aeolic
a_sk w_stem a_stem doric aeolic
au w_stem a_stem
a w_stem a_stem epic
ass reg_fut a_stem epic
a_s reg_fut a_stem attic r_e_i_alpha
hs reg_fut a_stem
as reg_fut a_stem
a_s reg_fut a_stem epic doric aeolic
* aw_fut a_stem
as aor1 a_stem
ass aor1 a_stem epic
a_s aor1 a_stem attic r_e_i_alpha
hs aor1 a_stem
a_s aor1 a_stem epic doric aeolic
* ath_h_aor a_stem
* ami_aor a_stem
ak perf_act a_stem
a_k perf_act a_stem attic r_e_i_alpha
hk perf_act a_stem
a_k perf_act a_stem epic doric aeolic
a_ perf2_act a_stem attic r_e_i_alpha
h perf2_act a_stem
a perfp_vow a_stem
a_ perfp_vow a_stem attic r_e_i_alpha
h perfp_vow a_stem
a_ perfp_vow a_stem epic doric aeolic
a perfp_s a_stem
a_ perfp_s a_stem attic r_e_i_alpha
h perfp_s a_stem
asq aor_pass a_stem
aq aor_pass a_stem
a_q aor_pass a_stem attic r_e_i_alpha
hq aor_pass a_stem
a_q aor_pass a_stem epic doric aeolic
a_sq aor_pass a_stem attic r_e_i_alpha
hsq aor_pass a_stem
a_sq aor_pass a_stem doric aeolic
a_s fut_perf a_stem attic r_e_i_alpha
hs fut_perf a_stem
a_s fut_perf a_stem epic doric aeolic
a_c fut_perf a_stem attic r_e_i_alpha
hc fut_perf a_stem
a_t os_on a_stem attic r_e_i_alpha
ht os_on a_stem
a_t os_on a_stem doric aeolic
a_st os_on a_stem attic r_e_i_alpha
hst os_on a_stem
ast os_on a_stem
a_st os_on a_stem doric aeolic
a^t os_on a_stem
a^t os_h_on a_stem
a_m wn_on a_stem attic r_e_i_alpha
hm wn_on a_stem
a_m wn_on a_stem doric aeolic
a_sim os_on a_stem attic r_e_i_alpha
hsim os_on a_stem
* as_asa_an a_stem
21 changes: 21 additions & 0 deletions stemlib/Greek/derivs/ascii/ainw.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ain w_stem ainw
an ew_fut ainw
a_s reg_fut ainw attic r_e_i_alpha
hs reg_fut ainw
a_n aor1 ainw attic r_e_i_alpha
hn aor1 ainw
a_n aor1 ainw epic doric aeolic
an aor2 ainw
a_s aor1 ainw attic r_e_i_alpha
hs aor1 ainw
a_n perf_act ainw attic r_e_i_alpha
hn perf_act ainw
agk perf_act ainw
a perfp_n ainw
a_ perfp_n ainw
a_ perfp_vow ainw attic r_e_i_alpha
h perfp_vow ainw
a perfp_p ainw
anq aor_pass ainw
ant os_on ainw
a^n hs_es ainw
14 changes: 14 additions & 0 deletions stemlib/Greek/derivs/ascii/airw.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
air w_stem airw
ar ew_fut airw
a_r aor1 airw attic r_e_i_alpha
hr aor1 airw
a_r aor1 airw
ar aor2 airw
a_rk perf_act airw attic r_e_i_alpha
hrk perf_act airw
a_ perfp_r airw attic r_e_i_alpha
h perfp_r airw
a perfp_r airw
arq aor_pass airw
ar aor2_pass airw
art os_on airw
10 changes: 10 additions & 0 deletions stemlib/Greek/derivs/ascii/aiw.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ai w_stem aiw
a_ w_stem aiw
* aw_pr aiw
au w_stem aiw
aus reg_fut aiw
aus aor1 aiw
auk perf_act aiw
au perfp_vow aiw
auq aor_pass aiw
ausq aor_pass aiw
12 changes: 12 additions & 0 deletions stemlib/Greek/derivs/ascii/allw.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
all w_stem allw
al ew_fut allw
a_l aor1 allw attic r_e_i_alpha
hl aor1 allw
a_l aor1 allw doric
al aor2 allw
alk perf_act allw
a_lk perf_act allw attic r_e_i_alpha
hlk perf_act allw
a perfp_l allw
alq aor_pass allw
a^l os_on allw comp_only
17 changes: 17 additions & 0 deletions stemlib/Greek/derivs/ascii/anw.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
an w_stem anw
* w_stem anw
a_s reg_fut anw attic r_e_i_alpha
hs reg_fut anw
* aor2 anw
a_s aor1 anw attic r_e_i_alpha
hs aor1 anw
a_k perf_act anw attic r_e_i_alpha
hk perf_act anw
a_ perfp_vow anw attic r_e_i_alpha
h perfp_vow anw
a_q aor_pass anw attic r_e_i_alpha
hq aor_pass anw
a_t os_on anw attic r_e_i_alpha
ht os_on anw
a_t verb_adj1 anw attic r_e_i_alpha
ht verb_adj1 anw
13 changes: 13 additions & 0 deletions stemlib/Greek/derivs/ascii/av_stem.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ai w_stem av_stem
a_ w_stem av_stem attic
* aw_pr av_stem
au w_stem av_stem
aus reg_fut av_stem
aus aor1 av_stem
auk perf_act av_stem
au perfp_vow av_stem
au perfp_s av_stem
auq aor_pass av_stem
ausq aor_pass av_stem
aus fut_perf av_stem
aust os_on av_stem
41 changes: 41 additions & 0 deletions stemlib/Greek/derivs/ascii/aw_denom.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
* aw_pr aw_denom
* ew_pr aw_denom epic ionic
a_ ath_primary aw_denom attic r_e_i_alpha
h ath_primary aw_denom
a_s reg_fut aw_denom attic r_e_i_alpha
hs reg_fut aw_denom attic ionic
a_s reg_fut aw_denom doric aeolic
a_s aor1 aw_denom attic r_e_i_alpha
hs aor1 aw_denom attic ionic
a_s aor1 aw_denom doric aeolic
a_k perf_act aw_denom attic r_e_i_alpha
hk perf_act aw_denom attic ionic
a_k perf_act aw_denom doric aeolic
a_ perfp_vow aw_denom attic r_e_i_alpha
h perfp_vow aw_denom attic ionic
a_ perfp_vow aw_denom doric aeolic
a_q aor_pass aw_denom attic r_e_i_alpha
hq aor_pass aw_denom attic ionic
a_q aor_pass aw_denom doric aeolic
a_s fut_perf aw_denom attic r_e_i_alpha
hs fut_perf aw_denom attic ionic
a_s fut_perf aw_denom doric aeolic
a_t os_on aw_denom attic r_e_i_alpha
ht os_on aw_denom attic ionic
a_t os_on aw_denom doric aeolic
a_s is_ews aw_denom fem attic r_e_i_alpha
hs is_ews aw_denom fem attic ionic
a_s is_ews aw_denom fem doric aeolic
a_thri os_ou aw_denom neut attic r_e_i_alpha
hthri os_ou aw_denom neut
a_thri os_h_on aw_denom attic r_e_i_alpha
hthri os_h_on aw_denom
a_teir a_hs aw_denom fem attic r_e_i_alpha
hteir a_hs aw_denom fem
a_tik os_h_on aw_denom attic suff_acc r_e_i_alpha
htik os_h_on aw_denom suff_acc
a_sin h_hs aw_denom fem attic r_e_i_alpha nu_movable
a_si h_hs aw_denom fem attic r_e_i_alpha
a_sin h_hs aw_denom fem attic r_e_i_alpha nu_movable
hsin h_hs aw_denom fem nu_movable
hsi h_hs aw_denom fem
20 changes: 20 additions & 0 deletions stemlib/Greek/derivs/ascii/azw.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
az w_stem azw
asd w_stem azw doric aeolic
as reg_fut azw
ac reg_fut azw
ac ew_fut azw doric
ass reg_fut azw epic
* aw_fut azw
as aor1 azw
ac aor1 azw
ass aor1 azw
ak perf_act azw
a perfp_d azw
a perfp_g azw
asq aor_pass azw
axq aor_pass azw
ast os_on azw
akt os_on azw
asm wn_on azw
adm wn_on azw doric ionic
asm wn_on azw
44 changes: 44 additions & 0 deletions stemlib/Greek/derivs/ascii/e_stem.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
* ew_pr e_stem
ei w_stem e_stem
esk w_stem e_stem
* evw_pr e_stem
* emi_pr e_stem
a_ ath_primary e_stem attic r_e_i_alpha
h ath_primary e_stem
es reg_fut e_stem
a_s reg_fut e_stem attic r_e_i_alpha
hs reg_fut e_stem
* ew_fut e_stem
ess reg_fut e_stem
es aor1 e_stem
ess aor1 e_stem
a_s aor1 e_stem attic r_e_i_alpha
hs aor1 e_stem
ek perf_act e_stem
a_k perf_act e_stem attic r_e_i_alpha
hk perf_act e_stem
e perfp_vow e_stem
e perfp_s e_stem
a_ perfp_vow e_stem attic r_e_i_alpha
h perfp_vow e_stem
a_ perfp_s e_stem attic r_e_i_alpha
h perfp_s e_stem
eq aor_pass e_stem
esq aor_pass e_stem
* aor2_pass e_stem
a_q aor_pass e_stem attic r_e_i_alpha
hq aor_pass e_stem
es fut_perf e_stem
a_s fut_perf e_stem attic r_e_i_alpha
hs fut_perf e_stem
a_t os_on e_stem attic r_e_i_alpha
ht os_on e_stem
et os_on e_stem
est os_on e_stem
est os_h_on e_stem
a_t verb_adj1 e_stem attic r_e_i_alpha
ht verb_adj1 e_stem
a_ s_tos e_stem masc/fem attic r_e_i_alpha
h s_tos e_stem masc/fem
a_m wn_on e_stem attic r_e_i_alpha
hm wn_on e_stem
21 changes: 21 additions & 0 deletions stemlib/Greek/derivs/ascii/e_suppl.asc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
a_s reg_fut e_suppl attic r_e_i_alpha
hs reg_fut e_suppl
a_s reg_fut e_suppl doric aeolic
a_s aor1 e_suppl attic r_e_i_alpha
hs aor1 e_suppl
a_s aor1 e_suppl doric
a_k perf_act e_suppl attic r_e_i_alpha
hk perf_act e_suppl
a_k e_suppl doric
a_ perfp_vow e_suppl attic r_e_i_alpha
h perfp_vow e_suppl
a_ perfp_vow e_suppl doric aeolic
a_q aor_pass e_suppl attic r_e_i_alpha
hq aor_pass e_suppl
a_q aor_pass e_suppl doric aeolic
a_s fut_perf e_suppl attic r_e_i_alpha
hs fut_perf e_suppl
a_s fut_perf e_suppl doric aeolic
a_t os_on e_suppl attic r_e_i_alpha
ht os_on e_suppl
a_t os_on e_suppl doric aeolic
Loading

0 comments on commit c14c886

Please sign in to comment.