Skip to content

Commit

Permalink
Use piccoli instead of apache cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Dargones committed Jul 29, 2024
1 parent e4f4a07 commit 7090e9b
Show file tree
Hide file tree
Showing 9 changed files with 19,396 additions and 242 deletions.
93 changes: 47 additions & 46 deletions .github/workflows/exampleExpectedResult.tsv
Original file line number Diff line number Diff line change
@@ -1,47 +1,48 @@
file,acrostic,rank
data/example/The PearlVolume 18Acrostic - Madrigal.txt prick▁fuck 2401.8522
data/example/Flint and Feather (1914)Part 3Brandon.txt brandon 2867.4580
data/example/The Canadian soldiers' song book.djvu57.txt mother 3222.5353
data/example/Devon and Cornwall Notes and Queries.djvu21.txt thomas 4883.2451
data/example/The Chronicles of CooperstownChapter IV.txt waanna▁cooper 5883.3502
data/example/Notes and Queries - Series 12 - Volume 4.djvu257.txt mary▁stokes 10552.669
data/example/Whole prophecies of Scotland, England, Ireland, France, and Denmark (1).pdf46.txt of▁god▁the 26156.512
data/example/Through the Looking-Glass, and What Alice Found There.djvu243.txt alice▁pleas▁and 55706.981
data/example/The Elements of LawPart IChapter 1.txt thomas▁of 107412.96
data/example/Archaeological Journal, Volume 29.djvu98.txt the▁us▁parker 155277.74
data/example/Love's trilogy.djvu79.txt perhaps 214055.82
data/example/Amazing Stories Volume 17 Number 06.djvu6.txt amazing 649765.01
data/example/Life and wonderful prophecies of Donald Cargill (1).pdf24.txt master▁donald 702177.78
data/example/Life and wonderful prophecies of Donald Cargill (2).pdf24.txt master▁donald 702177.78
data/example/Sentimental valentine writer.pdf11.txt william 1135223.6
data/example/New mirror of love.pdf24.txt william 1135223.6
data/example/United States Army Field Manual 7-93 Long-Range Surveillance Unit OperationsAppendix F.txt survival 2148141.6
data/example/Collingwood - Life and Letters of Lewis Carroll.djvu388.txt agnes▁georgina▁hull 2387092.0
data/example/Clouds without Water (Crowley, 1909).djvu24.txt kathleen▁bruce 2876832.1
data/example/New mirror of love.pdf19.txt love▁you▁henry 2937325.2
data/example/Notes and Queries - Series 2 - Volume 1.djvu216.txt william▁bed▁low 3897305.8
data/example/The Confessions of William-Henry Ireland.txt tail▁chaucer▁fa▁pali▁at▁chatterton 4181925.7
data/example/Carroll - Rhyme and Reason.djvu11.txt gertrude▁chat▁away 5071868.8
data/example/The Hunting of the Snark (1876).djvu11.txt gertrude▁chat▁away 5071868.8
data/example/Ben King's VerseAsphodel.txt cornelia▁bassett 5531929.3
data/example/Carroll - Three Sunsets.djvu83.txt prince▁charlie 6845483.7
data/example/Elegy upon the death of that famous and faithful minister and martyr Mr. James Renwick.pdf11.txt master▁james 9902015.3
data/example/The Alchemist (Jonson)Argument.txt the▁alchemist 10758822
data/example/The Works of Ben Jonson - Gifford - Volume 4.djvu13.txt the▁alchemist 10758822
data/example/Christian Astrology.txt william▁lilly 22242993
data/example/Notes and Queries - Series 9 - Volume 2.djvu394.txt charles▁franck 22864223
data/example/Whole prophecies of Scotland, England, Ireland, France & Denmark.pdf46.txt christ▁sonne▁of▁god▁the 51340131
data/example/Most remarkable passages in the life of the honourable Colonel James Gardiner.pdf24.txt james▁gardiner 1.2367865E+8
data/example/An Acrostic.txt elizabeth 3.2083606E+8
data/example/Through the looking-glass and what Alice found there (IA throughlookinggl00carr4).pdf323.txt alice▁pleasance▁liddell 4.4088332E+8
data/example/Complete Works of Lewis Carroll.djvu292.txt alice▁pleasance▁liddell 4.4088332E+8
data/example/Notes by the Way.djvu61.txt to▁joseph▁knight 1.9729025E+9
data/example/This Canada of ours and other poems.djvu39.txt as▁the▁great▁divided 1.6046686E+10
data/example/The complete poetical works and letters of John Keats, 1899.djvu279.txt georgiana▁augusta▁keats 4.9096952E+10
data/example/Good news to Scotland (2).pdf2.txt master▁richard▁cameron 2.4322116E+11
data/example/Good news to Scotland (1).pdf2.txt master▁richard▁cameron 2.4322116E+11
data/example/St. Nicholas - Volume 41, Part 1.djvu59.txt thanksgiving 3.0636700E+11
data/example/The PearlVolume 18Acrostic.txt is▁sweet▁when▁young▁and▁tender 1.8799826E+12
data/example/Elizabeth (Poe).txt elizabeth▁rebecca 2.2742451E+12
data/example/The Old GuardVolume 1Issue 1Acrostic.txt george▁washington 2.8634869E+12
data/example/The Confessions of William-Henry Ireland.txt warwick▁at▁dudley▁at▁southampton▁at▁rivers▁at▁shakspeare 8.8067434E+27
data/example/Flint and Feather (1914)Part 3Canada.txt canada 1053.8960
data/example/The PearlVolume 18Acrostic - The Martyr.txt fuck▁my▁cunt▁dear▁papa 2536.9493
data/example/Flint and Feather (1914)Part 3Brandon.txt brandon 3092.9519
data/example/The Canadian soldiers' song book.djvu57.txt mother 3164.0043
data/example/Devon and Cornwall Notes and Queries.djvu21.txt thomas 4477.4781
data/example/Notes and Queries - Series 12 - Volume 4.djvu257.txt mary▁stokes 13933.539
data/example/The PearlVolume 18Acrostic - Madrigal.txt cunt▁prick▁fuck 14796.506
data/example/Whole prophecies of Scotland, England, Ireland, France, and Denmark (1).pdf46.txt sonne▁of▁god▁the 23421.687
data/example/Through the Looking-Glass, and What Alice Found There.djvu243.txt alice▁pleas▁and 65249.310
data/example/The Elements of LawPart IChapter 1.txt thomas▁of 100742.81
data/example/Archaeological Journal, Volume 29.djvu98.txt the▁us▁parker 205516.31
data/example/Love's trilogy.djvu79.txt perhaps 239268.61
data/example/Life and wonderful prophecies of Donald Cargill (1).pdf24.txt master▁donald 550373.21
data/example/Life and wonderful prophecies of Donald Cargill (2).pdf24.txt master▁donald 550373.21
data/example/Amazing Stories Volume 17 Number 06.djvu6.txt amazing 565896.26
data/example/Sentimental valentine writer.pdf11.txt william 1024341.2
data/example/New mirror of love.pdf24.txt william 1024341.2
data/example/Clouds without Water (Crowley, 1909).djvu24.txt kathleen▁bruce 1414519.3
data/example/Collingwood - Life and Letters of Lewis Carroll.djvu388.txt agnes▁georgina▁hull 1857954.0
data/example/United States Army Field Manual 7-93 Long-Range Surveillance Unit OperationsAppendix F.txt survival 1914206.3
data/example/The Confessions of William-Henry Ireland.txt tail▁chaucer▁fa▁pali▁at▁chatterton 2949134.8
data/example/New mirror of love.pdf19.txt love▁you▁henry 3346046.1
data/example/Notes and Queries - Series 2 - Volume 1.djvu216.txt william▁bed▁low 3895124.0
data/example/Carroll - Rhyme and Reason.djvu11.txt gertrude▁chat▁away 4860150.2
data/example/The Hunting of the Snark (1876).djvu11.txt gertrude▁chat▁away 4860150.2
data/example/Elegy upon the death of that famous and faithful minister and martyr Mr. James Renwick.pdf11.txt master▁james 8328207.9
data/example/The Alchemist (Jonson)Argument.txt the▁alchemist 11557749
data/example/The Works of Ben Jonson - Gifford - Volume 4.djvu13.txt the▁alchemist 11557749
data/example/Carroll - Three Sunsets.djvu83.txt prince▁charlie 14336506
data/example/Christian Astrology.txt william▁lilly 22086068
data/example/Ben King's VerseAsphodel.txt cornelia▁bassett 22318962
data/example/Notes and Queries - Series 9 - Volume 2.djvu394.txt charles▁franck 37175627
data/example/Whole prophecies of Scotland, England, Ireland, France & Denmark.pdf46.txt christ▁sonne▁of▁god▁the 86669560
data/example/Most remarkable passages in the life of the honourable Colonel James Gardiner.pdf24.txt james▁gardiner 1.2227672E+8
data/example/An Acrostic.txt elizabeth 3.2799235E+8
data/example/Through the looking-glass and what Alice found there (IA throughlookinggl00carr4).pdf323.txt alice▁pleasance▁liddell 5.0375007E+8
data/example/Complete Works of Lewis Carroll.djvu292.txt alice▁pleasance▁liddell 5.0375007E+8
data/example/Notes by the Way.djvu61.txt to▁joseph▁knight 1.6465724E+9
data/example/This Canada of ours and other poems.djvu39.txt as▁the▁great▁divided 1.8429494E+10
data/example/The complete poetical works and letters of John Keats, 1899.djvu279.txt georgiana▁augusta▁keats 4.0955944E+10
data/example/Good news to Scotland (2).pdf2.txt master▁richard▁cameron 1.6211098E+11
data/example/Good news to Scotland (1).pdf2.txt master▁richard▁cameron 1.6211098E+11
data/example/St. Nicholas - Volume 41, Part 1.djvu59.txt thanksgiving 4.1471177E+11
data/example/Elizabeth (Poe).txt elizabeth▁rebecca 1.6337993E+12
data/example/The Old GuardVolume 1Issue 1Acrostic.txt george▁washington 3.5446523E+12
data/example/The PearlVolume 18Acrostic.txt cunt▁is▁sweet▁when▁young▁and▁tender 3.6600743E+12
data/example/The Confessions of William-Henry Ireland.txt warwick▁at▁dudley▁at▁southampton▁at▁rivers▁at▁shakspeare 7.6181055E+27
13 changes: 2 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,8 @@ jobs:
fetch-depth: 0
submodules: true

- name: Compile on Mac or Ubuntu
if: matrix.os != 'windows-latest'
run: |
javac -encoding UTF-8 -cp src:lib/commons-cli-1.5.0.jar src/acrostics/*.java
- name: Compile on Windows
if: matrix.os == 'windows-latest'
run: |
javac -encoding UTF-8 -cp src:lib/commons-cli-1.5.0.jar src/acrostics/*.java
- name: Test
run: |
java -cp src:lib/commons-cli-1.5.0.jar acrostics.Main -input data/example -language EN -mode LINE -charset utf-8 -outputSize 4000 --concise > result.tsv
javac -encoding UTF-8 -cp src src/acrostics/*.java
java -cp src acrostics.Main -input data/example -language EN -mode LINE -charset utf-8 -outputSize 4000 --concise > result.tsv
diff -w result.tsv .github/workflows/exampleExpectedResult.tsv
Loading

0 comments on commit 7090e9b

Please sign in to comment.