类 Ink
- java.lang.Object
-
- cc.chungkwong.mathocr.common.format.Ink
-
public class Ink extends Object
Ground truth of a expression- 作者:
- Chan Chung Kwong
-
-
构造器概要
构造器 构造器 说明 Ink(File in)Wrap the ground truth of a expressionInk(InputStream in)Wrap the ground truth of a expression
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 List<Pair<BoundBox,String>>getAnnotions()ExpressiongetExpression()FilegetFile()Map<String,String>getMeta()StringgetSymbol(BoundBox box)TraceListgetTraceList()
-
-
-
构造器详细资料
-
Ink
public Ink(File in) throws IOException, ParserConfigurationException, SAXException
Wrap the ground truth of a expression- 参数:
in- InkML file- 抛出:
IOExceptionParserConfigurationExceptionSAXException
-
Ink
public Ink(InputStream in) throws IOException, ParserConfigurationException, SAXException
Wrap the ground truth of a expression- 参数:
in- InkML file- 抛出:
IOExceptionParserConfigurationExceptionSAXException
-
-
方法详细资料
-
getFile
public File getFile()
- 返回:
- the source InkML file
-
getTraceList
public TraceList getTraceList()
- 返回:
- the traces of the expression
-
getExpression
public Expression getExpression()
-
-