Skip to content

Commit

Permalink
Create gloss ordered list in EPUB footnotes
Browse files Browse the repository at this point in the history
Use sense ids to create word wise anchor tag ids, should create
smaller book file when "use pos" option is disabled.
  • Loading branch information
xxyzz committed Mar 12, 2024
1 parent 50999d7 commit e1d52c1
Show file tree
Hide file tree
Showing 20 changed files with 215 additions and 197 deletions.
4 changes: 1 addition & 3 deletions __init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#!/usr/bin/env python3

from calibre.customize import InterfaceActionBase

VERSION = (3, 31, 1)
VERSION = (3, 31, 2)


class WordDumbDumb(InterfaceActionBase):
Expand Down
2 changes: 0 additions & 2 deletions __main__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

"""
Create X-Ray file on macOS: run this script in subprocess to bypass
the ludicrous library validation
Expand Down
2 changes: 0 additions & 2 deletions config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import json
import webbrowser
from functools import partial
Expand Down
2 changes: 0 additions & 2 deletions custom_lemmas.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import base64
import sqlite3
from functools import partial
Expand Down
2 changes: 0 additions & 2 deletions custom_x_ray.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import json
from typing import TYPE_CHECKING, Any

Expand Down
2 changes: 1 addition & 1 deletion data/deps.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"cupy": "12.3.0",
"lxml": "5.1.0",
"rapidfuzz": "3.6.1",
"rapidfuzz": "3.6.2",
"spacy_cpu_model": "3.7.0",
"spacy_trf_model": "3.7.2",
"thinc-apple-ops": "0.1.4",
Expand Down
1 change: 0 additions & 1 deletion database.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
import sqlite3
from pathlib import Path
from typing import Iterator
Expand Down
2 changes: 0 additions & 2 deletions deps.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

import bz2
import platform
import shutil
Expand Down
Loading

0 comments on commit e1d52c1

Please sign in to comment.