Class API
java.lang.Object
net.reyadeyat.nlp.information.retrieval.API
- Since:
- 2023.01.01
- Author:
- Mohammad Nabil Mostafa code@reyadeyat.net
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IntegerbookInsert(Connection jdbc_connection, String book_name, String book_metadata, String book_lang, Integer book_release_year) static BookbookSelect(Connection jdbc_connection, Integer book_id) bookSelectList(Connection jdbc_connection, ArrayList<Integer> book_id_list) static IntegerdocumentFileInexing(Connection jdbc_connection, Integer document_book_id, String document_name, String document_metadata, String document_color, String document_parser_class_name, Reader document_reader) static ArrayList<SearchingDocument>documentFileListInexing(Connection jdbc_connection, Integer document_book_id, String document_metadata, String document_color, String document_parser_class_name, ArrayList<FileIndexing> file_indexing_list) static voiddocumentIndex(Connection jdbc_connection, Integer indexing_buffer_size) static ArrayList<SearchingDocument>documentListSelect(Connection jdbc_connection, Integer book_id) static voiddocumentRemove(Connection jdbc_connection, Integer book_id, Integer document_id) static voiddocumentRemoveList(Connection jdbc_connection, Integer book_id, ArrayList<Integer> document_id_list) static IntegerdocumentTextInexing(Connection jdbc_connection, Integer document_book_id, String document_name, String document_metadata, String document_color, String document_parser_class_name, String document_raw_text) plagiarismChecker(Connection jdbc_connection, String algorithm, Integer words_before_count, Integer words_after_count, String phrase) plagiarismListChecker(Connection jdbc_connection, String algorithm, Integer words_before_count, Integer words_after_count, ArrayList<String> phrase_list)
-
Constructor Details
-
API
public API()
-
-
Method Details
-
documentIndex
public static void documentIndex(Connection jdbc_connection, Integer indexing_buffer_size) throws Exception - Throws:
Exception
-
documentRemove
public static void documentRemove(Connection jdbc_connection, Integer book_id, Integer document_id) throws Exception - Throws:
Exception
-
documentRemoveList
public static void documentRemoveList(Connection jdbc_connection, Integer book_id, ArrayList<Integer> document_id_list) throws Exception - Throws:
Exception
-
bookInsert
public static Integer bookInsert(Connection jdbc_connection, String book_name, String book_metadata, String book_lang, Integer book_release_year) throws Exception - Throws:
Exception
-
bookSelect
- Throws:
Exception
-
bookSelectList
public static ArrayList<Book> bookSelectList(Connection jdbc_connection, ArrayList<Integer> book_id_list) throws Exception - Throws:
Exception
-
documentListSelect
public static ArrayList<SearchingDocument> documentListSelect(Connection jdbc_connection, Integer book_id) throws Exception - Throws:
Exception
-
documentFileInexing
public static Integer documentFileInexing(Connection jdbc_connection, Integer document_book_id, String document_name, String document_metadata, String document_color, String document_parser_class_name, Reader document_reader) throws Exception - Throws:
Exception
-
documentFileListInexing
public static ArrayList<SearchingDocument> documentFileListInexing(Connection jdbc_connection, Integer document_book_id, String document_metadata, String document_color, String document_parser_class_name, ArrayList<FileIndexing> file_indexing_list) throws Exception - Throws:
Exception
-
documentTextInexing
public static Integer documentTextInexing(Connection jdbc_connection, Integer document_book_id, String document_name, String document_metadata, String document_color, String document_parser_class_name, String document_raw_text) throws Exception - Throws:
Exception
-
plagiarismChecker
public static ArrayList<Citation> plagiarismChecker(Connection jdbc_connection, String algorithm, Integer words_before_count, Integer words_after_count, String phrase) throws Exception - Throws:
Exception
-
plagiarismListChecker
public static ArrayList<Citation> plagiarismListChecker(Connection jdbc_connection, String algorithm, Integer words_before_count, Integer words_after_count, ArrayList<String> phrase_list) throws Exception - Throws:
Exception
-