repo stringlengths 1 191 ⌀ | file stringlengths 23 351 | code stringlengths 0 5.32M | file_length int64 0 5.32M | avg_line_length float64 0 2.9k | max_line_length int64 0 288k | extension_type stringclasses 1
value |
|---|---|---|---|---|---|---|
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/TextToNgram/TextToNgramRunner.java | package main.java.TextToNgram;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class TextToNgramRunner ... | 1,714 | 40.829268 | 157 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/TextToNgram/NgramContainer.java | package main.java.TextToNgram;
import main.java.PMI.FeatureHandler;
import main.java.Text.WordDictionary;
import main.java.Utility.Config;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy o... | 4,832 | 29.783439 | 98 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/TextToNgram/Utils.java | package main.java.TextToNgram;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class Utils {
public ... | 584 | 38 | 83 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/JuntoOutputConvert/MessagePrinter.java | package main.java.JuntoOutputConvert;
public class MessagePrinter {
public static void Print (String msg) {
System.out.println(msg);
}
public static void PrintAndDie(String msg) {
Print(msg);
printHelpMessage();
System.exit(1);
}
private static void printHelpMessa... | 636 | 26.695652 | 92 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/JuntoOutputConvert/JuntoOutputHandler.java | package main.java.JuntoOutputConvert;
import main.java.Utility.Config;
import main.java.Utility.LabelFileHandler;
import main.java.Utility.TextFileInput;
import main.java.Utility.TextFileOutput;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonC... | 2,263 | 33.830769 | 86 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/JuntoOutputConvert/JuntoOutputConvertor.java | package main.java.JuntoOutputConvert;
import main.java.Utility.Defaults;
import java.util.Hashtable;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creat... | 1,824 | 35.5 | 102 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphConstructRunner.java | package main.java.Graph;
import main.java.Graph.Builder.*;
import main.java.Graph.GraphStructure.GraphContainer;
import main.java.PMI.FeatureHandler;
import main.java.Text.WordDictionary;
import main.java.Utility.*;
import java.util.Hashtable;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is li... | 8,012 | 41.173684 | 131 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Concurrency/GraphThreadHandler.java | package main.java.Graph.Concurrency;
import main.java.Graph.GraphStructure.GraphContainer;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.... | 1,122 | 28.552632 | 94 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Concurrency/GraphWithPOSThreadHandler.java | package main.java.Graph.Concurrency;
import main.java.Graph.GraphStructure.GraphContainerWithPOS;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativec... | 1,170 | 29.815789 | 108 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/NodeWithPartOfSpeech.java | package main.java.Graph.GraphStructure;
import main.java.TextToNgram.NgramContainer;
import main.java.Utility.Defaults;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, vis... | 1,674 | 36.222222 | 94 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/LabelCountContainer.java | package main.java.Graph.GraphStructure;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class LabelCount... | 1,286 | 22.833333 | 84 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/Edge.java | package main.java.Graph.GraphStructure;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class Edge<Locat... | 679 | 25.153846 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/LabelCountMap.java | package main.java.Graph.GraphStructure;
import main.java.Utility.Config;
import java.util.ArrayList;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creat... | 2,123 | 28.5 | 86 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/GraphContainerWithPOS.java | package main.java.Graph.GraphStructure;
import main.java.PMI.FeatureHandler;
import main.java.Text.WordDictionary;
import main.java.TextToNgram.NgramContainer;
import main.java.Utility.LocationToLabelFileHandler;
import java.util.ArrayList;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licen... | 5,865 | 34.98773 | 175 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/NgramStatMapCell.java | package main.java.Graph.GraphStructure;
import main.java.TextToNgram.NgramContainer;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/li... | 800 | 21.25 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/Node.java | package main.java.Graph.GraphStructure;
import main.java.PMI.Struct.NodePairFeatureSetContainer;
import main.java.Text.WordDictionary;
import main.java.TextToNgram.NgramContainer;
import main.java.Utility.Config;
import main.java.Utility.DataTypeManipulator;
import main.java.Utility.Defaults;
import java.util.ArrayLi... | 8,231 | 34.482759 | 129 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/LocationForUnigrams.java | package main.java.Graph.GraphStructure;
import main.java.TextToNgram.NgramContainer;
import main.java.Utility.Config;
import java.util.StringTokenizer;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To... | 3,869 | 29.96 | 106 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/NgramPairStatMap.java | package main.java.Graph.GraphStructure;
import main.java.TextToNgram.NgramContainer;
import java.util.Hashtable;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* ... | 1,298 | 29.209302 | 84 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/GraphContainerAbstract.java | package main.java.Graph.GraphStructure;
import main.java.PMI.FeatureHandler;
import main.java.PMI.Struct.NodePairFeatureSetContainer;
import main.java.Text.WordDictionary;
import main.java.TextToNgram.NgramContainer;
import main.java.Utility.*;
import java.util.ArrayList;
/**
* Copyright: Masoud Kiaeeha, Mohammad A... | 22,351 | 37.537931 | 150 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/LocationLabelProbability.java | package main.java.Graph.GraphStructure;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class LocationLa... | 1,090 | 22.212766 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/NgramStatMap.java | package main.java.Graph.GraphStructure;
import main.java.TextToNgram.NgramContainer;
import java.util.ArrayList;
import java.util.Hashtable;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a cop... | 1,201 | 26.318182 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/Location.java | package main.java.Graph.GraphStructure;
import main.java.TextToNgram.NgramContainer;
import main.java.TextToNgram.Utils;
import main.java.Utility.Config;
import main.java.Utility.DataTypeManipulator;
import java.util.StringTokenizer;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed und... | 3,797 | 29.878049 | 106 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/LocationWithPOSTags.java | package main.java.Graph.GraphStructure;
import main.java.TextToNgram.NgramContainer;
import main.java.Utility.LocationToLabelFileHandler;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of... | 2,341 | 36.174603 | 105 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/GraphStructure/GraphContainer.java | package main.java.Graph.GraphStructure;
import main.java.Text.WordDictionary;
import main.java.TextToNgram.NgramContainer;
import java.util.ArrayList;
//todo: ngram search should be modified after adding POS feature capability
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the ... | 2,461 | 30.164557 | 109 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/GraphBuilderStandardCRFWordClassWithPOSImpl.java | package main.java.Graph.Builder;
import main.java.CRF.CRFFileReaderWithPOSTags;
import main.java.Utility.Logger;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* h... | 705 | 32.619048 | 97 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/GraphBuilderStandardCRFWordClassImpl.java | package main.java.Graph.Builder;
import main.java.CRF.CRFFileReader;
import main.java.Utility.*;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativeco... | 658 | 28.954545 | 83 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/GraphBuilderStandardCRFWordsImpl.java | package main.java.Graph.Builder;
import main.java.CRF.CRFFileReader;
import main.java.Utility.*;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativeco... | 645 | 28.363636 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/IGraphBuilder.java | package main.java.Graph.Builder;
import main.java.Graph.GraphStructure.GraphContainer;
import main.java.Graph.GraphStructure.GraphContainerAbstract;
import main.java.Text.WordDictionary;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercia... | 8,533 | 51.679012 | 121 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/GraphBuilderStandardCRFWordsWithPOSImpl.java | package main.java.Graph.Builder;
import main.java.CRF.CRFFileReader;
import main.java.CRF.CRFFileReaderWithPOSTags;
import main.java.Graph.GraphStructure.GraphContainer;
import main.java.Graph.GraphStructure.GraphContainerWithPOS;
import main.java.Graph.GraphStructure.NodeWithPartOfSpeech;
import main.java.TextToNgram... | 991 | 35.740741 | 93 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/GraphBuilderImplOld.java | package main.java.Graph.Builder;
import main.java.Graph.GraphStructure.GraphContainer;
import main.java.Graph.GraphStructure.Node;
import main.java.Graph.GraphStructure.Location;
import main.java.Graph.Concurrency.GraphThreadHandler;
import main.java.Text.WordDictionary;
import main.java.TextToNgram.NgramContainer;
im... | 15,369 | 40.428571 | 141 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/IGraphBuilderWithPOS.java | package main.java.Graph.Builder;
import main.java.Graph.GraphStructure.GraphContainer;
import main.java.Graph.GraphStructure.GraphContainerWithPOS;
import main.java.Text.WordDictionary;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial... | 8,615 | 52.515528 | 121 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/GraphBuilderStandardCRF.java | package main.java.Graph.Builder;
import main.java.CRF.CRFFileReader;
import main.java.Graph.Concurrency.GraphThreadHandler;
import main.java.Graph.GraphStructure.GraphContainer;
import main.java.Graph.GraphStructure.Location;
import main.java.Graph.GraphStructure.Node;
import main.java.Text.WordDictionary;
import main... | 19,537 | 43.404545 | 158 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/GraphBuilderFactory.java | package main.java.Graph.Builder;
import main.java.Utility.Logger;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
... | 1,051 | 29.941176 | 89 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Graph/Builder/GraphBuilderStandardCRFWithPOS.java | package main.java.Graph.Builder;
import main.java.CRF.CRFFileReader;
import main.java.CRF.CRFFileReaderWithPOSTags;
import main.java.Graph.Concurrency.GraphThreadHandler;
import main.java.Graph.Concurrency.GraphWithPOSThreadHandler;
import main.java.Graph.GraphStructure.*;
import main.java.Text.WordDictionary;
import ... | 20,208 | 44.515766 | 158 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/RuntimeAnalyzer.java | package main.java.Utility;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class RuntimeAnalyzer {
p... | 998 | 30.21875 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/Logger.java | package main.java.Utility;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* Int... | 2,826 | 30.065934 | 115 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/Defaults.java | package main.java.Utility;
import java.util.Hashtable;
public class Defaults {
public static final String packageExceptionPrefix = "[Graph]-";
public static final String packageOutputDelimiter = " ";
public static final String exportFileType = "";
public static final String exportIndexToNgramPostfix ... | 2,064 | 29.820896 | 108 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/TextFileOutput.java | package main.java.Utility;
import java.io.*;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class Text... | 2,046 | 28.666667 | 108 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/MessagePrinter.java | package main.java.Utility;
public class MessagePrinter {
public static void Print (String msg) {
System.out.println(msg);
}
public static void PrintAndDie(String msg) {
Print(msg);
printHelpMessage();
System.exit(1);
}
private static void printHelpMessage() {
... | 3,175 | 54.719298 | 148 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/Mathematics.java | package main.java.Utility;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class Mathematics {
publi... | 406 | 28.071429 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/TextFileInput.java | package main.java.Utility;
import java.io.*;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class Text... | 1,892 | 29.532258 | 107 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/DataTypeManipulator.java | package main.java.Utility;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class DataTypeManipulator {
... | 1,166 | 33.323529 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/LocationToLabelFileHandler.java | package main.java.Utility;
import main.java.Graph.GraphStructure.Location;
import main.java.Graph.GraphStructure.LocationLabelProbability;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy o... | 4,440 | 41.701923 | 119 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/Config.java | package main.java.Utility;
import main.java.Graph.Builder.GraphBuilderFactory;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses... | 1,578 | 35.72093 | 116 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/src/main/java/Utility/LabelFileHandler.java | package main.java.Utility;
/**
* Copyright: Masoud Kiaeeha, Mohammad Aliannejadi
* This work is licensed under the Creative Commons Attribution-NonCommercial 4.0
* International License. To view a copy of this license, visit
* http://creativecommons.org/licenses/by-nc/4.0/.
*/
public class LabelFileHandler {
... | 688 | 27.708333 | 81 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/tests/main/java/TextToNgram/NgramUtilityTest.java | package main.java.TextToNgram;
import main.java.Utility.Config;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/**
* Created with IntelliJ IDEA.
* User: masouD
* Date: 1/30/14
* Time: 4:00 PM
* To change this template use F... | 4,062 | 41.322917 | 89 | java |
g-ssl-crf | g-ssl-crf-master/src/GraphConstruct/tests/main/java/TextToNgram/NgramContainerTest.java | package main.java.TextToNgram;
import main.java.PMI.FeatureHandler;
import main.java.Text.WordDictionary;
import main.java.Utility.Config;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;... | 4,926 | 29.226994 | 99 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/config/Flags.java | package upenn.junto.config;
/**
* Copyright 2011 Partha Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... | 1,022 | 26.648649 | 75 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/config/ConfigReader.java | package upenn.junto.config;
import upenn.junto.util.MessagePrinter;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Hashtable;
import java.util.StringTokenizer;
public class ConfigReader {
public static Hashtable<String... | 2,290 | 23.634409 | 103 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/eval/GraphEval.java | package upenn.junto.eval;
import upenn.junto.graph.Graph;
import upenn.junto.graph.Vertex;
import java.util.Iterator;
public class GraphEval {
public static double GetAccuracy(Graph g) {
double doc_mrr_sum = 0;
int correct_doc_cnt = 0;
int total_doc_cnt = 0;
Iterator<String> vIter = g.vertices().... | 2,246 | 23.423913 | 83 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/RyanAlphabet.java | /* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... | 5,804 | 26.77512 | 89 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/Constants.java | package upenn.junto.util;
import gnu.trove.map.hash.TObjectDoubleHashMap;
public class Constants {
public static String _kContProb = "cont_prob";
public static String _kInjProb = "inj_prob";
public static String _kTermProb = "term_prob";
public static double GetSmallConstant() {
return (1e-12);
}
p... | 1,020 | 19.019608 | 58 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/Defaults.java | package upenn.junto.util;
import java.util.Hashtable;
public class Defaults {
public static String GetValueOrDie(Hashtable config, String key) {
if (!config.containsKey(key)) {
MessagePrinter.PrintAndDie("Must specify " + key + "");
}
return ((String) config.get(key));
}
public static Strin... | 1,079 | 21.978723 | 78 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/IoUtil.java | package upenn.junto.util;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class IoUtil {
private static Logger logger = LogManager.getLogger(IoUtil.class);
... | 2,189 | 28.2 | 80 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/MessagePrinter.java | package upenn.junto.util;
public class MessagePrinter {
public static void Print (String msg) {
System.out.print (msg + "\n");
}
public static void PrintAndDie(String msg) {
System.out.println(msg + "\n");
System.exit(1);
}
}
| 250 | 16.928571 | 46 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/ObjectDoublePair.java | package upenn.junto.util;
/**
* Used, e.g., to keep track of an Object and its associated score.
*/
public class ObjectDoublePair {
private Object label_;
private double score_;
public ObjectDoublePair (Object l, double s) {
this.label_ = l;
this.score_ = s;
}
public Object GetLabel() {
ret... | 392 | 16.086957 | 67 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/CollectionUtil.java | package upenn.junto.util;
import gnu.trove.iterator.TObjectDoubleIterator;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Hashtable;
import java.util.Iterator;
public class CollectionUtil {
public static Array... | 3,518 | 26.708661 | 93 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/RyanFeatureVector.java | package upenn.junto.util;
import gnu.trove.map.hash.TIntDoubleHashMap;
import gnu.trove.iterator.TIntDoubleIterator;
import java.io.*;
import java.util.*;
public class RyanFeatureVector implements Comparable, Serializable {
public int index;
public double value;
public RyanFeatureVector next;
pu... | 6,221 | 26.052174 | 111 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/ProbUtil.java | package upenn.junto.util;
import gnu.trove.iterator.TObjectDoubleIterator;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import java.util.ArrayList;
public class ProbUtil {
public static TObjectDoubleHashMap GetUniformPrior(ArrayList<String> labels) {
int totalLabels = labels.size();
assert (totalLabel... | 5,406 | 28.872928 | 107 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/util/GraphStats.java | package upenn.junto.util;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.jgrapht.GraphPath;
import org.jgr... | 4,194 | 30.780303 | 98 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/app/ConfigTuner.java | package upenn.junto.app;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import gnu... | 11,087 | 35.715232 | 99 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/graph/CrossValidationGenerator.java | package upenn.junto.graph;
import upenn.junto.util.ObjectDoublePair;
import upenn.junto.util.Constants;
import upenn.junto.util.CollectionUtil;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import gnu.trove.iterator.TObjectDoubleIterator;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Rand... | 2,568 | 33.253333 | 83 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/graph/parallel/Edge2NodeFactoredHadoop.java | package upenn.junto.graph.parallel;
import upenn.junto.util.*;
import upenn.junto.graph.Vertex;
import java.io.*;
import java.util.*;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.conf.*;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.FileInputFo... | 7,418 | 31.539474 | 71 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/graph/parallel/EdgeFactored2NodeFactored.java | package upenn.junto.graph.parallel;
/**
* Copyright 2011 Partha Pratim Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*... | 4,080 | 37.5 | 88 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/algorithm/parallel/LP_ZGL_Hadoop.java | package upenn.junto.algorithm.parallel;
/**
* Copyright 2011 Partha Pratim Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | 9,681 | 37.11811 | 103 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/algorithm/parallel/MADHadoop.java | package upenn.junto.algorithm.parallel;
/**
* Copyright 2011 Partha Pratim Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | 12,015 | 36.201238 | 108 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/upenn/junto/algorithm/parallel/AdsorptionHadoop.java | package upenn.junto.algorithm.parallel;
/**
* Copyright 2011 Partha Pratim Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*... | 9,698 | 37.185039 | 96 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/config/Flags.java | package junto.config;
/**
* Copyright 2011 Partha Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... | 1,016 | 26.486486 | 75 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/config/ConfigReader.java | package junto.config;
import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Hashtable;
import java.util.StringTokenizer;
import junto.util.MessagePrinter;
public class ConfigReader {
public static Hashtable<String,String> re... | 2,279 | 23.255319 | 103 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/eval/GraphEval.java | package junto.eval;
import java.util.Iterator;
import junto.graph.Graph;
import junto.graph.Vertex;
public class GraphEval {
public static double GetAccuracy(Graph g) {
double doc_mrr_sum = 0;
int correct_doc_cnt = 0;
int total_doc_cnt = 0;
Iterator<String> vIter = g.vertices().keySet().iterator... | 2,228 | 23.228261 | 83 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/RyanAlphabet.java | /* Copyright (C) 2002 Univ. of Massachusetts Amherst, Computer Science Dept.
This file is part of "MALLET" (MAchine Learning for LanguagE Toolkit).
http://www.cs.umass.edu/~mccallum/mallet
This software is provided under the terms of the Common Public License,
version 1.0, as published by http://www.opensou... | 5,798 | 26.746411 | 89 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/Constants.java | package junto.util;
import gnu.trove.map.hash.TObjectDoubleHashMap;
public class Constants {
public static String _kContProb = "cont_prob";
public static String _kInjProb = "inj_prob";
public static String _kTermProb = "term_prob";
public static double GetSmallConstant() {
return (1e-12);
}
public ... | 1,014 | 18.901961 | 58 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/Defaults.java | package junto.util;
import java.util.Hashtable;
public class Defaults {
public static String GetValueOrDie(Hashtable config, String key) {
if (!config.containsKey(key)) {
MessagePrinter.PrintAndDie("Must specify " + key + "");
}
return ((String) config.get(key));
}
public static String GetV... | 1,073 | 21.851064 | 78 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/IoUtil.java | package junto.util;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.ArrayList;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
public class IoUtil {
private static Logger logger = LogManager.getLogger(IoUtil.class);
pub... | 2,183 | 28.12 | 80 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/MessagePrinter.java | package junto.util;
public class MessagePrinter {
public static void Print (String msg) {
System.out.print (msg + "\n");
}
public static void PrintAndDie(String msg) {
System.out.println(msg + "\n");
System.exit(1);
}
}
| 244 | 16.5 | 46 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/ObjectDoublePair.java | package junto.util;
/**
* Used, e.g., to keep track of an Object and its associated score.
*/
public class ObjectDoublePair {
private Object label_;
private double score_;
public ObjectDoublePair (Object l, double s) {
this.label_ = l;
this.score_ = s;
}
public Object GetLabel() {
return la... | 386 | 15.826087 | 67 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/CollectionUtil.java | package junto.util;
import gnu.trove.iterator.TObjectDoubleIterator;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Hashtable;
import java.util.Iterator;
public class CollectionUtil {
public static ArrayList<O... | 3,512 | 26.661417 | 93 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/RyanFeatureVector.java | package junto.util;
import gnu.trove.map.hash.TIntDoubleHashMap;
import gnu.trove.iterator.TIntDoubleIterator;
import java.io.*;
import java.util.*;
public class RyanFeatureVector implements Comparable, Serializable {
public int index;
public double value;
public RyanFeatureVector next;
public R... | 6,215 | 26.026087 | 111 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/ProbUtil.java | package junto.util;
import gnu.trove.iterator.TObjectDoubleIterator;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import java.util.ArrayList;
public class ProbUtil {
public static TObjectDoubleHashMap GetUniformPrior(ArrayList<String> labels) {
int totalLabels = labels.size();
assert (totalLabels > 0)... | 5,400 | 28.839779 | 107 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/util/GraphStats.java | package junto.util;
import java.io.BufferedWriter;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.List;
import junto.config.ConfigReader;
import junto.config.GraphConfigLoader;
import junto.graph.Graph;
import junto.graph.Vertex;
import ... | 4,165 | 30.323308 | 98 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/app/ConfigTuner.java | package junto.app;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Iterator;
import junto.app... | 11,088 | 35.476974 | 99 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/graph/CrossValidationGenerator.java | package junto.graph;
import gnu.trove.map.hash.TObjectDoubleHashMap;
import gnu.trove.iterator.TObjectDoubleIterator;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Random;
import junto.graph.Graph;
import junto.graph.Vertex;
import junto.util.CollectionUtil;
import junto.util.Constants;
im... | 2,598 | 32.320513 | 83 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/graph/parallel/Edge2NodeFactoredHadoop.java | package junto.graph.parallel;
import java.io.*;
import java.util.*;
import junto.graph.Vertex;
import junto.util.*;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.conf.*;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.FileInputFormat;
import org.... | 7,401 | 31.323144 | 71 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/graph/parallel/EdgeFactored2NodeFactored.java | package junto.graph.parallel;
/**
* Copyright 2011 Partha Pratim Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | 4,057 | 36.925234 | 88 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/algorithm/parallel/LP_ZGL_Hadoop.java | package junto.algorithm.parallel;
/**
* Copyright 2011 Partha Pratim Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | 9,664 | 36.901961 | 103 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/algorithm/parallel/MADHadoop.java | package junto.algorithm.parallel;
/**
* Copyright 2011 Partha Pratim Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | 11,998 | 36.033951 | 108 | java |
g-ssl-crf | g-ssl-crf-master/bin/junto-master/src/main/java/junto/algorithm/parallel/AdsorptionHadoop.java | package junto.algorithm.parallel;
/**
* Copyright 2011 Partha Pratim Talukdar
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* U... | 9,681 | 36.968627 | 96 | java |
java-design-patterns | java-design-patterns-master/factory/src/test/java/com/iluwatar/factory/CoinFactoryTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,588 | 39.74359 | 140 | java |
java-design-patterns | java-design-patterns-master/factory/src/test/java/com/iluwatar/factory/AppTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,532 | 38.307692 | 140 | java |
java-design-patterns | java-design-patterns-master/factory/src/main/java/com/iluwatar/factory/Coin.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,397 | 38.942857 | 140 | java |
java-design-patterns | java-design-patterns-master/factory/src/main/java/com/iluwatar/factory/App.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,146 | 40.288462 | 140 | java |
java-design-patterns | java-design-patterns-master/factory/src/main/java/com/iluwatar/factory/CoinFactory.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,564 | 39.128205 | 140 | java |
java-design-patterns | java-design-patterns-master/factory/src/main/java/com/iluwatar/factory/GoldCoin.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,530 | 38.25641 | 140 | java |
java-design-patterns | java-design-patterns-master/factory/src/main/java/com/iluwatar/factory/CoinType.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,620 | 36.697674 | 140 | java |
java-design-patterns | java-design-patterns-master/factory/src/main/java/com/iluwatar/factory/CopperCoin.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 1,536 | 38.410256 | 140 | java |
java-design-patterns | java-design-patterns-master/event-sourcing/src/test/java/IntegrationTest.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 3,824 | 36.871287 | 140 | java |
java-design-patterns | java-design-patterns-master/event-sourcing/src/main/java/com/iluwatar/event/sourcing/processor/JsonFileJournal.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 4,429 | 34.15873 | 140 | java |
java-design-patterns | java-design-patterns-master/event-sourcing/src/main/java/com/iluwatar/event/sourcing/processor/DomainEventProcessor.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 2,244 | 31.071429 | 140 | java |
java-design-patterns | java-design-patterns-master/event-sourcing/src/main/java/com/iluwatar/event/sourcing/processor/EventJournal.java | package com.iluwatar.event.sourcing.processor;
import com.iluwatar.event.sourcing.event.DomainEvent;
import java.io.File;
import lombok.extern.slf4j.Slf4j;
/**
* Base class for Journaling implementations.
*/
@Slf4j
public abstract class EventJournal {
File file;
/**
* Write.
*
* @param domainEvent th... | 637 | 15.789474 | 59 | java |
java-design-patterns | java-design-patterns-master/event-sourcing/src/main/java/com/iluwatar/event/sourcing/app/App.java | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 4,992 | 41.313559 | 140 | java |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.