-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2620ba1
commit 29ec02d
Showing
37 changed files
with
370 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
81 changes: 81 additions & 0 deletions
81
common/client/src/main/java/zingg/common/client/util/IModelHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
package zingg.common.client.util; | ||
|
||
import zingg.common.client.pipe.*; | ||
|
||
import zingg.common.client.IZArgs; | ||
|
||
public interface IModelHelper<D,R,C> { | ||
|
||
/** | ||
* Location for internal Zingg use. | ||
* | ||
* @return the path for internal Zingg usage | ||
*/ | ||
|
||
String getZinggBaseModelDir(IZArgs args); | ||
|
||
String getZinggModelDir(IZArgs args); | ||
|
||
String getZinggDocDir(IZArgs args); | ||
|
||
String getZinggModelDocFile(IZArgs args); | ||
|
||
String getZinggDataDocFile(IZArgs args); | ||
|
||
/** | ||
* Location for internal Zingg use. | ||
* | ||
* @return the path for internal Zingg usage | ||
*/ | ||
String getZinggBaseTrainingDataDir(IZArgs args); | ||
|
||
/** | ||
* Location for internal Zingg use. | ||
* | ||
* @return the path for internal Zingg usage | ||
*/ | ||
String getZinggTrainingDataUnmarkedDir(IZArgs args); | ||
|
||
/** | ||
* Location for internal Zingg use. | ||
* | ||
* @return the path for internal Zingg usage | ||
*/ | ||
String getZinggTrainingDataMarkedDir(IZArgs args); | ||
|
||
/** | ||
* Location for internal Zingg use. | ||
* | ||
* @return the path for internal Zingg usage | ||
*/ | ||
String getZinggPreprocessedDataDir(IZArgs args); | ||
|
||
/** | ||
* This is an internal block file location Not to be used directly by the | ||
* client | ||
* | ||
* @return the blockFile | ||
*/ | ||
String getBlockFile(IZArgs args); | ||
|
||
/** | ||
* This is the internal model location Not to be used by the client | ||
* | ||
* @return model path | ||
*/ | ||
String getModel(IZArgs args); | ||
|
||
public Pipe<D, R, C> getTrainingDataUnmarkedPipe(IZArgs args); | ||
|
||
public Pipe<D, R, C> getTrainingDataMarkedPipe(IZArgs args); | ||
|
||
public Pipe<D, R, C> getModelDocumentationPipe(IZArgs args); | ||
|
||
public Pipe<D, R, C> getBlockingTreePipe(IZArgs args); | ||
|
||
|
||
public Pipe<D,R,C> getStopWordsPipe(String fileName) ; | ||
|
||
|
||
|
||
} |
Oops, something went wrong.