Skip to content

Commit

Permalink
Removing Mitie and NER which resolves #1522
Browse files Browse the repository at this point in the history
  • Loading branch information
dvorka committed Jan 8, 2024
1 parent 1374a26 commit 2c06d2a
Show file tree
Hide file tree
Showing 29 changed files with 2 additions and 1,430 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
[submodule "doc"]
path = doc
url = https://github.com/dvorka/mindforger-repository.git
[submodule "deps/mitie"]
path = deps/mitie
url = https://github.com/dvorka/MITIE.git
[submodule "deps/cmark-gfm"]
path = deps/cmark-gfm
url = https://github.com/dvorka/cmark.git
32 changes: 0 additions & 32 deletions app/app.pro
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,6 @@ mfoldhunspell | equals(OS_DISTRO_VERSION, "Windows") | equals(OS_DISTRO_VERSION,
message("Hunspell: configuring use of NEW API on OS: $$OS_DISTRO_VERSION")
}

mfllamacpp {
DEFINES += MF_LLAMA_CPP
}

# Named Entity Recognition
mfner {
DEFINES += MF_NER
}

# webkit is supposed to be OBSOLETED by webengine, but webengine is disabled
# on Linux since Qt 5.9 due to its tragic performance -> conditional compilation
# seems to be the only way:
Expand Down Expand Up @@ -127,12 +118,6 @@ win32 {
}
}

# NER library
mfner {
# MF links MITIE for AI/NLP/DL
LIBS += -L$$OUT_PWD/../deps/mitie/mitielib -lmitie
}

# Zlib
win32 {
INCLUDEPATH += $$PWD/../deps/zlib-win/include
Expand Down Expand Up @@ -337,14 +322,6 @@ HEADERS += \
win32|macx|mfwebengine {
HEADERS += ./src/qt/web_engine_page_link_navigation_policy.h
}
mfner {
HEADERS += \
src/qt/dialogs/ner_choose_tag_types_dialog.h \
src/qt/dialogs/ner_result_dialog.h \
src/qt/ner_leaderboard_model.h \
src/qt/ner_leaderboard_view.h \
src/qt/ner_main_window_worker_thread.h
}

SOURCES += \
./src/qt/mindforger.cpp \
Expand Down Expand Up @@ -463,15 +440,6 @@ win32|macx|mfwebengine {
SOURCES += ./src/qt/web_engine_page_link_navigation_policy.cpp
}

mfner {
SOURCES += \
src/qt/dialogs/ner_choose_tag_types_dialog.cpp \
src/qt/dialogs/ner_result_dialog.cpp \
src/qt/ner_leaderboard_model.cpp \
src/qt/ner_leaderboard_view.cpp \
src/qt/ner_main_window_worker_thread.cpp
}

win32 {
HEADERS += \
../deps/getopt/getopt.h
Expand Down
84 changes: 0 additions & 84 deletions app/src/qt/dialogs/ner_choose_tag_types_dialog.cpp

This file was deleted.

72 changes: 0 additions & 72 deletions app/src/qt/dialogs/ner_choose_tag_types_dialog.h

This file was deleted.

118 changes: 0 additions & 118 deletions app/src/qt/dialogs/ner_result_dialog.cpp

This file was deleted.

Loading

0 comments on commit 2c06d2a

Please sign in to comment.