Source
stringclasses
1 value
Date
int32
2.01k
2.01k
Text
stringlengths
3
15.9M
Token_count
int32
1
2.44M
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.util.ArrayList; import java.util.List; /** * 最多分词. 在ComplexSeg基础上把长的词拆. * * @author chenlb 2009-4-6 下午08:12:11 */ public class MaxWordSeg extends ComplexSeg { public MaxWordSeg(Dictionary dic) { super(dic); } public Chunk seg(Sentence sen) { ...
436
github-java-corpus
2,012
package com.chenlb.mmseg4j.analysis; import java.io.File; import com.chenlb.mmseg4j.Dictionary; import com.chenlb.mmseg4j.Seg; import com.chenlb.mmseg4j.SimpleSeg; /** * mmseg 的 simple anlayzer. * * @author chenlb 2009-3-16 下午10:08:13 */ public class SimpleAnalyzer extends MMSegAnalyzer { publ...
162
github-java-corpus
2,012
package com.chenlb.mmseg4j.analysis; import java.io.File; import java.io.IOException; import java.io.Reader; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.TokenStream; import com.chenlb.mmseg4j.Dictionary; import com.chenlb.mmseg4j.MaxWordSeg; import com.chenlb.mmseg4j.Seg;...
441
github-java-corpus
2,012
package com.chenlb.mmseg4j.analysis; import java.io.File; import com.chenlb.mmseg4j.ComplexSeg; import com.chenlb.mmseg4j.Dictionary; import com.chenlb.mmseg4j.Seg; /** * mmseg 的 complex analyzer * * @author chenlb 2009-3-16 下午10:08:16 */ public class ComplexAnalyzer extends MMSegAnalyzer { pub...
159
github-java-corpus
2,012
package com.chenlb.mmseg4j.analysis; import java.io.File; import com.chenlb.mmseg4j.Dictionary; import com.chenlb.mmseg4j.MaxWordSeg; import com.chenlb.mmseg4j.Seg; /** * 最多分词方式. * * @author chenlb 2009-4-6 下午08:43:46 */ public class MaxWordAnalyzer extends MMSegAnalyzer { public MaxWordAnaly...
165
github-java-corpus
2,012
package com.chenlb.mmseg4j.analysis; import java.io.IOException; import java.io.Reader; import org.apache.lucene.analysis.Tokenizer; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; import org.apache.lucene.analysis.tokenattributes.OffsetAttribute; import org.apache.lucene.analysis.tokenat...
552
github-java-corpus
2,012
package com.chenlb.mmseg4j.analysis; import java.io.IOException; import org.apache.lucene.analysis.Token; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.tokenattributes.CharTermAttribute; import org.apache.lucene.analysis.tokenattributes.OffsetAttribute; import org.apache.luc...
426
github-java-corpus
2,012
package com.chenlb.mmseg4j.analysis; import java.io.IOException; import java.util.LinkedList; import java.util.Queue; import org.apache.lucene.analysis.Token; import org.apache.lucene.analysis.TokenFilter; import org.apache.lucene.analysis.TokenStream; import org.apache.lucene.analysis.tokenattributes.Offset...
1,053
github-java-corpus
2,012
package com.chenlb.mmseg4j.example; import java.io.IOException; import com.chenlb.mmseg4j.Seg; import com.chenlb.mmseg4j.SimpleSeg; /** * * @author chenlb 2009-3-14 上午12:38:40 */ public class Simple extends Complex { protected Seg getSeg() { return new SimpleSeg(dic); } public static v...
108
github-java-corpus
2,012
package com.chenlb.mmseg4j.example; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.Reader; import java.io.StringReader; import com.chenlb.mmseg4j.ComplexSeg; import com.chenlb.mmseg4j.Dictionary; import com.chenlb.mmseg4j.MMSeg; import com.chenlb...
642
github-java-corpus
2,012
package com.chenlb.mmseg4j.example; import java.io.IOException; import com.chenlb.mmseg4j.MaxWordSeg; import com.chenlb.mmseg4j.Seg; public class MaxWord extends Complex { protected Seg getSeg() { return new MaxWordSeg(dic); } public static void main(String[] args) throws IOException { new M...
86
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.util.ArrayList; import java.util.List; import com.chenlb.mmseg4j.rule.LargestAvgLenRule; import com.chenlb.mmseg4j.rule.LargestSumDegreeFreedomRule; import com.chenlb.mmseg4j.rule.MaxMatchRule; import com.chenlb.mmseg4j.rule.Rule; import com.chenlb.mmseg4j.rule.Smalles...
1,305
github-java-corpus
2,012
package com.chenlb.mmseg4j; /** * 正向最大匹配的分词方式. * * @author chenlb 2009-3-16 下午09:07:36 */ public class SimpleSeg extends Seg{ public SimpleSeg(Dictionary dic) { super(dic); } public Chunk seg(Sentence sen) { Chunk chunk = new Chunk(); char[] chs = sen.getText(); for(int k=0; k<3&&!...
209
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.util.ArrayList; import java.util.List; /** * 分词抽象类. * * @author chenlb 2009-3-16 下午09:15:30 */ public abstract class Seg { protected Dictionary dic; public Seg(Dictionary dic) { super(); this.dic = dic; } /** * 输出 chunks, 调试用. */ prot...
764
github-java-corpus
2,012
package com.chenlb.mmseg4j; /** * 类似 lucene 的 token * * @author chenlb 2009-8-15下午10:23:32 */ public class Word { public static final String TYPE_WORD = "word"; public static final String TYPE_LETTER = "letter"; /** 字母开头的"字母或数字" */ public static final String TYPE_LETTER_OR_DIGIT = "letter_or_digi...
665
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.io.BufferedInputStream; import java.io.BufferedReader; import java.io.File; import java.io.FileInputStream; import java.io.FilenameFilter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.util.A...
3,521
github-java-corpus
2,012
package com.chenlb.mmseg4j; /** * 句子, 在一大串字符中断出连续中文的文本. * * @author chenlb 2009-3-3 下午11:56:53 */ public class Sentence { private char[] text; private int startOffset; private int offset; public Sentence() { text = new char[0]; } public Sentence(char[] text, int startOffset) { r...
316
github-java-corpus
2,012
package com.chenlb.mmseg4j.solr; import java.io.File; import org.apache.solr.common.ResourceLoader; import org.apache.solr.core.SolrResourceLoader; import com.chenlb.mmseg4j.Dictionary; public class Utils { public static Dictionary getDict(String dicPath, ResourceLoader loader) { Dictionary dic = nu...
184
github-java-corpus
2,012
package com.chenlb.mmseg4j.solr; import org.apache.solr.common.params.SolrParams; import org.apache.solr.common.util.NamedList; import org.apache.solr.core.SolrCore; import org.apache.solr.core.SolrResourceLoader; import org.apache.solr.handler.RequestHandlerBase; import org.apache.solr.request.SolrQueryRequest...
574
github-java-corpus
2,012
package com.chenlb.mmseg4j.solr; import java.io.IOException; import java.io.Reader; import java.util.Map; import java.util.logging.Logger; import org.apache.lucene.analysis.Tokenizer; import org.apache.solr.analysis.BaseTokenizerFactory; import org.apache.solr.common.ResourceLoader; import org.apache.solr.u...
543
github-java-corpus
2,012
package com.chenlb.mmseg4j.solr; import org.apache.lucene.analysis.TokenStream; import org.apache.solr.analysis.BaseTokenFilterFactory; import com.chenlb.mmseg4j.analysis.CutLetterDigitFilter; /** * CutLetterDigitFilter 支持在 solr 上配置用。 * * @author chenlb 2010-12-17下午10:10:48 */ public class CutLetter...
125
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.util.ArrayList; import java.util.HashMap; import java.util.Map; /** * 所有词都记录在第一个字的结点下. * * @author chenlb 2009-2-20 下午11:30:14 */ public class CharNode { private int freq = -1; //Degree of Morphemic Freedom of One-Character, 单字才需要 private int maxLen = 0; /...
1,171
github-java-corpus
2,012
package com.chenlb.mmseg4j; import java.io.BufferedReader; import java.io.IOException; import java.io.PushbackReader; import java.io.Reader; import java.util.LinkedList; import java.util.Queue; /** * Reader 流的分词(有字母,数字等), 析出中文(其实是 CJK)成句子 {@link Sentence} 再对 mmseg 算法分词.<br/> * * 非线程安全 * @author chen...
2,898
github-java-corpus
2,012
package com.chenlb.mmseg4j.rule; import com.chenlb.mmseg4j.Chunk; /** * Smallest Variance of Word Lengths.<p/> * * 标准差的平方 * * @see http://technology.chtsai.org/mmseg/ * * @author chenlb 2009-3-16 上午11:28:27 */ public class SmallestVarianceRule extends Rule { private double smallestVariance...
208
github-java-corpus
2,012
package com.chenlb.mmseg4j.rule; import com.chenlb.mmseg4j.Chunk; /** * Maximum Matching.<p/> * * chuck中各个词的长度之和 * * @see http://technology.chtsai.org/mmseg/ * * @author chenlb 2009-3-16 上午09:47:51 */ public class MaxMatchRule extends Rule{ private int maxLen; public void addChunk(Chu...
182
github-java-corpus
2,012
package com.chenlb.mmseg4j.rule; import com.chenlb.mmseg4j.Chunk; /** * Largest Sum of Degree of Morphemic Freedom of One-Character. <p/> * * 各单字词词频的对数之和*100 * * @see http://technology.chtsai.org/mmseg/ * * @author chenlb 2009-3-16 上午11:28:30 */ public class LargestSumDegreeFreedomRule extends...
219
github-java-corpus
2,012
package com.chenlb.mmseg4j.rule; import com.chenlb.mmseg4j.Chunk; /** * Largest Average Word Length.<p/> * * 长度(Length)/词数 * * @see http://technology.chtsai.org/mmseg/ * * @author chenlb 2009-3-16 上午11:28:21 */ public class LargestAvgLenRule extends Rule { private double largestAvgLen; ...
198
github-java-corpus
2,012
package com.chenlb.mmseg4j.rule; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import com.chenlb.mmseg4j.Chunk; /** * 过虑规则的抽象类。 * * @author chenlb 2009-3-16 上午11:35:06 */ public abstract class Rule { protected List<Chunk> chunks; public void addChunks(List<C...
339
github-java-corpus
2,012
package com.chenlb.mmseg4j; /** * 它是MMSeg分词算法中一个关键的概念。Chunk中包含依据上下文分出的一组词和相关的属性,包括长度(Length)、平均长度(Average Length)、标准差的平方(Variance)和自由语素度(Degree Of Morphemic Freedom)。 * * @author chenlb 2009-3-16 上午11:39:42 */ public class Chunk { Word[] words = new Word[3]; int count = -1; /** Word Length ...
780
github-java-corpus
2,012
/* * Copyright (C) 2010 The Android Open Source Project * * 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 app...
514
github-java-corpus
2,012
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
4,170
github-java-corpus
2,012
/* * Copyright (C) 2009 The Android Open Source Project * * 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 app...
672
github-java-corpus
2,012
package com.stylingandroid.background; import android.app.IntentService; import android.content.Intent; public class MyService extends IntentService { public static final String ACTION_DO_SOMETHING = "com.stylingandroid.background.ACTION_DO_SOMETHING"; public static final String ACTION_UPDATE = "com.styling...
321
github-java-corpus
2,012
package com.stylingandroid.background; import java.net.MalformedURLException; import java.net.URL; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; import android.os.Bundle; import android.support.v4.app.FragmentActivity; imp...
778
github-java-corpus
2,012
package com.stylingandroid.background; import android.app.Activity; import android.support.v4.content.AsyncTaskLoader; import android.widget.ProgressBar; public class MyLoader extends AsyncTaskLoader<String> { private ProgressBar progress; /* * Please Note: This code is slightly different from the code in the ar...
224
github-java-corpus
2,012
package com.stylingandroid.background; import java.net.URL; import com.stylingandroid.background.R; import android.app.Activity; import android.os.AsyncTask; import android.view.View; import android.widget.Button; import android.widget.ProgressBar; import android.widget.Toast; public class MyAsyncTask extends Async...
401
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
536
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
1,978
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
231
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
265
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1,992
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
893
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
536
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
395
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
357
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
254
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
338
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
312
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
550
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
278
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
235
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
329
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
429
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
1,045
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
916
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
451
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
599
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
1,892
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
1,424
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
1,318
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
377
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
738
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
884
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
624
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
289
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
600
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
846
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
445
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
587
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
368
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
411
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
475
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
501
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
238
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
1,180
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
1,317
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
822
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
401
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
842
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
213
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
767
github-java-corpus
2,012
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not u...
1,978
github-java-corpus
2,012
/* * Copyright 2012 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Licen...
1,024
github-java-corpus
2,012
/** * Copyright 2011 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lice...
568
github-java-corpus
2,012
/** * Copyright 2012 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lice...
544
github-java-corpus
2,012
/** * Copyright 2011 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lice...
1,091
github-java-corpus
2,012
/* * Copyright 2012 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Licen...
1,133
github-java-corpus
2,012
/* * Copyright 2012 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Licen...
1,030
github-java-corpus
2,012
/* * Copyright 2012 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Licen...
3,297
github-java-corpus
2,012
/** * Copyright 2012 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lice...
1,705
github-java-corpus
2,012
/** * Copyright 2011 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Lice...
2,313
github-java-corpus
2,012
/* * Copyright 2011 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Licen...
1,734
github-java-corpus
2,012
/* * Copyright 2011 Mozilla Foundation * * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache Licen...
2,596
github-java-corpus
2,012
package com.mozilla.telemetry.pig.eval.json; import static org.junit.Assert.*; import java.io.BufferedReader; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStreamReader; import org.apache.pig.data.Tuple; import org.apache.pig.data.TupleFactory; import org.junit.Test; public class A...
275
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.rxavier.timesheet.manager; import com.rxavier.timesheet.modelo.Fase; import com.rxavier.timesheet.modelo.Tarefa; import java.util.List; import org.junit.After; import org.junit.AfterClass; import org.junit.B...
571
github-java-corpus
2,012
package com.rxavier.timesheet.util; import com.rxavier.timesheet.boudary.App; import com.rxavier.timesheet.boudary.JAplicacao; import com.rxavier.timesheet.boudary.JApontamento; import com.rxavier.timesheet.boudary.JProjeto; import com.rxavier.timesheet.boudary.JRecurso; import com.rxavier.timesheet.boudary.JTa...
2,212
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.rxavier.timesheet.util; /** * * @author rxavier */ import java.sql.Types; import org.hibernate.dialect.Dialect; import org.hibernate.Hibernate; import org.hibernate.dialect.Dialect; import org.hibernat...
1,005
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.rxavier.timesheet.util; import java.awt.Image; import java.io.DataInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.net.URL; import java.util.ArrayList...
238
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.rxavier.timesheet.util; import com.rxavier.timesheet.boudary.JAplicacao; import com.rxavier.timesheet.boudary.JApontamento; import com.rxavier.timesheet.boudary.JProjeto; import com.rxavier.timesheet.boudary...
399
github-java-corpus
2,012
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package com.rxavier.timesheet.util; import java.awt.Color; import java.awt.event.FocusEvent; import java.awt.event.FocusListener; import java.util.Collection; import java.util.Vector; import javax.swing.ComboBoxModel; ...
560